mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-21 22:53:31 +02:00
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>
32 lines
534 B
Bash
32 lines
534 B
Bash
# Copyright 2019-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit acct-user
|
|
|
|
ACCT_USER_ID="81"
|
|
ACCT_USER_GROUPS=( "apache" )
|
|
ACCT_USER_HOME="/var/www"
|
|
|
|
IUSE="icingaweb2 mgraph"
|
|
|
|
acct-user_add_deps
|
|
|
|
RDEPEND+="
|
|
icingaweb2? (
|
|
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 )
|
|
}
|