From 025c3ef798db561d778876f27a55bb1fdffbdc8f Mon Sep 17 00:00:00 2001 From: Paul Zander Date: Fri, 8 Nov 2024 16:17:15 +0100 Subject: [PATCH] acct-user/apache: add USE=mgraph Misses migration after acct-user got introduced. Introduced USE-flags needed for net-mail/mailgraph BannedEapiCommand 'gpasswd' banned in EAPI 7, used on line 81 'gpasswd -a apache mgraph' Signed-off-by: Paul Zander Signed-off-by: Sam James --- acct-user/apache/apache-0-r4.ebuild | 8 +++++++- acct-user/apache/metadata.xml | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/acct-user/apache/apache-0-r4.ebuild b/acct-user/apache/apache-0-r4.ebuild index 3cfde39cd26b..4d578ee26829 100644 --- a/acct-user/apache/apache-0-r4.ebuild +++ b/acct-user/apache/apache-0-r4.ebuild @@ -9,7 +9,7 @@ ACCT_USER_ID="81" ACCT_USER_GROUPS=( "apache" ) ACCT_USER_HOME="/var/www" -IUSE="icingaweb2" +IUSE="icingaweb2 mgraph" acct-user_add_deps @@ -18,9 +18,15 @@ RDEPEND+=" acct-group/icingacmd acct-group/icingaweb2 ) + mgraph? ( + acct-group/mgraph + ) " pkg_setup() { # www-apps/icingaweb2 use icingaweb2 && ACCT_USER_GROUPS+=( icingacmd icingaweb2 ) + + # net-mail/mailgraph + use mgraph && ACCT_USER_GROUPS+=( mgraph ) } diff --git a/acct-user/apache/metadata.xml b/acct-user/apache/metadata.xml index 081216581e4d..0657bc8fff35 100644 --- a/acct-user/apache/metadata.xml +++ b/acct-user/apache/metadata.xml @@ -7,5 +7,6 @@ Prepare group membership for www-apps/icingaweb2 + Prepare group membership for net-mail/mailgraph