1 |
|
# Copyright 1999-2024 Gentoo Authors
|
|
1 |
# Copyright 1999-2025 Gentoo Authors
|
2 |
2 |
# Distributed under the terms of the GNU General Public License v2
|
3 |
3 |
|
4 |
|
EAPI=7
|
|
4 |
EAPI=8
|
5 |
5 |
|
6 |
|
PYTHON_COMPAT=( python3_{10..11} )
|
|
6 |
PYTHON_COMPAT=( python3_{10..13} )
|
7 |
7 |
|
8 |
8 |
inherit pam python-any-r1 readme.gentoo-r1
|
9 |
9 |
|
... | ... | |
12 |
12 |
|
13 |
13 |
if [[ ${PV} == *9999 ]]; then
|
14 |
14 |
inherit git-r3
|
15 |
|
EGIT_REPO_URI="https://github.com/gentoo/pambase.git"
|
|
15 |
EGIT_REPO_URI="
|
|
16 |
https://anongit.gentoo.org/git/proj/pambase.git
|
|
17 |
https://github.com/gentoo/pambase.git
|
|
18 |
"
|
16 |
19 |
else
|
17 |
|
SRC_URI="https://github.com/gentoo/pambase/archive/${P}.tar.gz"
|
18 |
|
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
19 |
|
S="${WORKDIR}/${PN}-${P}"
|
|
20 |
SRC_URI="https://gitweb.gentoo.org/proj/pambase.git/snapshot/${P}.tar.bz2"
|
|
21 |
|
|
22 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
20 |
23 |
fi
|
21 |
24 |
|
22 |
25 |
LICENSE="MIT"
|
23 |
26 |
SLOT="0"
|
24 |
|
IUSE="caps debug elogind gnome-keyring homed minimal mktemp +nullok pam_krb5 pam_ssh +passwdqc pwhistory pwquality securetty selinux +sha512 systemd yescrypt"
|
|
27 |
IUSE="caps debug elogind gnome-keyring homed minimal mktemp +nullok pam_krb5 pam_ssh +passwdqc pwhistory pwquality securetty selinux +sha512 sssd systemd yescrypt"
|
25 |
28 |
|
26 |
29 |
RESTRICT="binchecks"
|
27 |
30 |
|
... | ... | |
54 |
57 |
homed? ( sys-apps/systemd[homed] )
|
55 |
58 |
systemd? ( sys-apps/systemd[pam] )
|
56 |
59 |
yescrypt? ( sys-libs/libxcrypt[system] )
|
|
60 |
sssd? ( sys-auth/sssd )
|
57 |
61 |
"
|
58 |
|
|
59 |
|
BDEPEND="$(python_gen_any_dep '
|
|
62 |
BDEPEND="
|
|
63 |
$(python_gen_any_dep '
|
60 |
64 |
dev-python/jinja2[${PYTHON_USEDEP}]
|
61 |
|
')"
|
|
65 |
')
|
|
66 |
"
|
62 |
67 |
|
63 |
68 |
python_check_deps() {
|
64 |
69 |
python_has_version "dev-python/jinja2[${PYTHON_USEDEP}]"
|
... | ... | |
82 |
87 |
$(usex securetty '--securetty' '') \
|
83 |
88 |
$(usex selinux '--selinux' '') \
|
84 |
89 |
$(usex sha512 '--sha512' '') \
|
85 |
|
$(usex systemd '--systemd' '') \
|
|
90 |
$(usex systemd '--systemd' '--openrc') \
|
86 |
91 |
$(usex yescrypt '--yescrypt' '') \
|
|
92 |
$(usex sssd '--sssd' '') \
|
87 |
93 |
|| die
|
88 |
94 |
}
|
89 |
95 |
|