summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'acct-user')
-rw-r--r--acct-user/apache/apache-0-r4.ebuild8
-rw-r--r--acct-user/apache/metadata.xml1
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>