summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Zander <negril.nx+gentoo@gmail.com>2024-11-08 16:34:24 +0100
committerSam James <sam@gentoo.org>2024-12-01 11:52:14 +0000
commit0207657e1e83d1945adb36bf58d50ae3c0804413 (patch)
tree159fe3529fac9393b15e6916e48046482c27b864 /acct-user
parentacct-user/apache: add USE=mgraph (diff)
downloadgentoo-0207657e1e83d1945adb36bf58d50ae3c0804413.tar.gz
gentoo-0207657e1e83d1945adb36bf58d50ae3c0804413.tar.bz2
gentoo-0207657e1e83d1945adb36bf58d50ae3c0804413.zip
acct-user/nginx: 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/nginx/metadata.xml1
-rw-r--r--acct-user/nginx/nginx-0-r2.ebuild8
2 files changed, 8 insertions, 1 deletions
diff --git a/acct-user/nginx/metadata.xml b/acct-user/nginx/metadata.xml
index d5e1b5439249..e2269995015a 100644
--- a/acct-user/nginx/metadata.xml
+++ b/acct-user/nginx/metadata.xml
@@ -4,5 +4,6 @@
<!-- maintainer-needed -->
<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>
diff --git a/acct-user/nginx/nginx-0-r2.ebuild b/acct-user/nginx/nginx-0-r2.ebuild
index 79087c812736..d3de2d164909 100644
--- a/acct-user/nginx/nginx-0-r2.ebuild
+++ b/acct-user/nginx/nginx-0-r2.ebuild
@@ -9,7 +9,7 @@ ACCT_USER_ID="82"
ACCT_USER_GROUPS=( "nginx" )
ACCT_USER_HOME="/var/lib/nginx"
-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 )
}