summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--acct-user/ejabberd/ejabberd-2.ebuild (renamed from acct-user/ejabberd/ejabberd-1.ebuild)6
1 files changed, 6 insertions, 0 deletions
diff --git a/acct-user/ejabberd/ejabberd-1.ebuild b/acct-user/ejabberd/ejabberd-2.ebuild
index 9d160958b012..98d939202d17 100644
--- a/acct-user/ejabberd/ejabberd-1.ebuild
+++ b/acct-user/ejabberd/ejabberd-2.ebuild
@@ -11,4 +11,10 @@ ACCT_USER_ID=114
ACCT_USER_GROUPS=( ${PN} )
ACCT_USER_HOME=/var/lib/${PN}
+IUSE="pam"
+
acct-user_add_deps
+
+pkg_setup() {
+ use pam && ACCT_USER_GROUPS+=( epam )
+}