blob: 08408483d2ce77dc1a180587db3ac21384ad0c44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# 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 )
}
|