gentoo-ebuilds/acct-user/ejabberd/ejabberd-2-r1.ebuild
Mike Gilbert 124ad96264
Revbump all acct-group and acct-user packages
user-info.eclass was modified to fix a bug in egetent. Revbump
everything to ensure that binpkgs get regenerated.

Signed-off-by: Mike Gilbert <floppym@gentoo.org>
2023-07-09 13:38:23 -04:00

22 lines
370 B
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit acct-user
DESCRIPTION="User for net-im/ejabberd"
ACCT_USER_ID=114
ACCT_USER_GROUPS=( ${PN} )
ACCT_USER_HOME=/var/lib/${PN}
IUSE="pam"
RDEPEND="pam? ( acct-group/epam )"
acct-user_add_deps
pkg_setup() {
use pam && ACCT_USER_GROUPS+=( epam )
}