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>
This commit is contained in:
Paul Zander 2024-11-08 16:17:15 +01:00 committed by Sam James
parent 860daf7624
commit 025c3ef798
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 8 additions and 1 deletions

View File

@ -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 )
}

View File

@ -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>