blob: 4d578ee2682983e1c6e271d003b422901efe9b26 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# 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 )
}
|