diff options
author | Paul Zander <negril.nx+gentoo@gmail.com> | 2024-11-08 16:17:15 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-12-01 11:52:13 +0000 |
commit | 025c3ef798db561d778876f27a55bb1fdffbdc8f (patch) | |
tree | cf1249788b6c84c752931ae310ffabc91017357c /acct-user | |
parent | www-apps/icingaweb2: make webserver use optional (diff) | |
download | gentoo-025c3ef798db561d778876f27a55bb1fdffbdc8f.tar.gz gentoo-025c3ef798db561d778876f27a55bb1fdffbdc8f.tar.bz2 gentoo-025c3ef798db561d778876f27a55bb1fdffbdc8f.zip |
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 <negril.nx+gentoo@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'acct-user')
-rw-r--r-- | acct-user/apache/apache-0-r4.ebuild | 8 | ||||
-rw-r--r-- | acct-user/apache/metadata.xml | 1 |
2 files changed, 8 insertions, 1 deletions
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 @@ </maintainer> <use> <flag name="icingaweb2">Prepare group membership for <pkg>www-apps/icingaweb2</pkg></flag> + <flag name="mgraph">Prepare group membership for <pkg>net-mail/mailgraph</pkg></flag> </use> </pkgmetadata> |