diff options
Diffstat (limited to 'sys-auth/pambase')
-rw-r--r-- | sys-auth/pambase/Manifest | 14 | ||||
-rw-r--r-- | sys-auth/pambase/metadata.xml | 15 | ||||
-rw-r--r-- | sys-auth/pambase/pambase-20190402.ebuild | 90 | ||||
-rw-r--r-- | sys-auth/pambase/pambase-20191128.ebuild | 86 | ||||
-rw-r--r-- | sys-auth/pambase/pambase-20200304.ebuild | 2 | ||||
-rw-r--r-- | sys-auth/pambase/pambase-20200618.ebuild | 84 | ||||
-rw-r--r-- | sys-auth/pambase/pambase-20200806.ebuild | 72 | ||||
-rw-r--r-- | sys-auth/pambase/pambase-20200817.ebuild | 79 |
8 files changed, 169 insertions, 273 deletions
diff --git a/sys-auth/pambase/Manifest b/sys-auth/pambase/Manifest index 878de078cbfc..83fdbbef6dff 100644 --- a/sys-auth/pambase/Manifest +++ b/sys-auth/pambase/Manifest @@ -1,9 +1,7 @@ -DIST pambase-20190402.tar.gz 3679 BLAKE2B 992d7bf6b6f74ef22a8808b57dd6faffb6c351eaa8be4172f320031334ca6def698b2cb17005b58ac3c18e89a94012e279b0f27cc2bea5040ae8ddc3233cba2d SHA512 565d64653e9898b9bd231c1461ec0988a19dbc9500ff1417a7197ac75804abeb13ca543121ae4afb29017c1e99073a16137e5c876f43dcc01e2641218760f4ae -DIST pambase-20191128.tar.gz 3472 BLAKE2B 1028239c14eed3d06239f98667ffe136dc3c9cdb9c74d8f49e0c819d9ea308285cdd234538418357030dd39693040592b00f193cac4e37e15b9f277386096860 SHA512 09100457cacbe309eac8545818de3e4bff4f0c4a29b4c1758217dd80206c664f497570ef67207866aaf70be60ec963677b385adaf2c4a0cd931a50404098051b DIST pambase-20200304.tar.gz 3466 BLAKE2B e4d406460d435403ed7a46d517f9006cacc54a94f5019a573c81b331731c88679ed6d388354b5946894bdfada556b4c73735c3f4de88fc7678cd831c68ab46c3 SHA512 c2a7f3fd143637fbdf5c0a3c58ba5a3c23c5e8adb1f057d02b4b9d64660435fc529031a0f710a9e5fc7091710f78dcb2f3e1ff48f033fb491ddd0399ef05b189 -DIST pambase-20200618.tar.gz 3423 BLAKE2B 7b52d6e8ecfb26b4e4cd4995e629ccaa84340099ffd7f9d70da020689cd292bb191bc287b81056e685d4ce1b99f7aedae9802a8929cc8088c13a532fce2f86ca SHA512 66220971ef207b002440c3b4dfd061fa8b434b3fa61db0b9e360aec83821c35ef55b19268fdefdeee847e637b3f47918ef0d9128d7286bf0f8032182555c33dd -EBUILD pambase-20190402.ebuild 2298 BLAKE2B c3a97d62363b7dfb679446dd02c01c427dc14ddd8f040c4d5ac5d4cac5bf61491a57a2fa70105ee3566753492a62fc7f956c49074d2de200c550e0bcc0405b61 SHA512 e4c3c379af0151c063523830827d32b6d30cbf04edb70eb83c2249d7969732a6e6d94d12f47cb79235560a4430ade2cdbf566f542b502e86add717f159ab9e47 -EBUILD pambase-20191128.ebuild 2178 BLAKE2B b63a63fe4e1dd41ed62805c19d3693cef9649e96ddef634f642267a661fb8751b62eb9089e4355385ac9f73d0000d2d98e0658359d31a199ad298bd30f0bb726 SHA512 a88677c3e9fc7493b97a62d2c38e12a18fa13108ee339984b94a12615329e8f237c6c73f14c7590b8d56680f165923bddc616f60dd3101cec1014578f2361733 -EBUILD pambase-20200304.ebuild 2178 BLAKE2B b63a63fe4e1dd41ed62805c19d3693cef9649e96ddef634f642267a661fb8751b62eb9089e4355385ac9f73d0000d2d98e0658359d31a199ad298bd30f0bb726 SHA512 a88677c3e9fc7493b97a62d2c38e12a18fa13108ee339984b94a12615329e8f237c6c73f14c7590b8d56680f165923bddc616f60dd3101cec1014578f2361733 -EBUILD pambase-20200618.ebuild 2100 BLAKE2B f9c81efa8bd7241774f70b5f1179dcb0701b785cb3e04b645dd2182f260e428de50fd16df8b4e8443b6d93ae945eeb960b2b84b649900fe4693221d4cd358be1 SHA512 10d8dc63b5c0678d08d4db607e12a9bfcb4a07d585ba0d42b42dc970651b651ef2d076053caf5442854d9304bbb410fa3f3fab0e7379e007f520bbe232c1e9b6 -MISC metadata.xml 3828 BLAKE2B 0f003949e36f8bd50879cd694fe7fc59cba27d55cce1083b460a1ca2856a65b0bb13a273c9d7475c75daf6e147b963c1a120767a6a62000fa8f7653574ce60c1 SHA512 9fa684d007219633bc48eef1b53fa9169d84646b0eedf8d8588ac61a88a270235ac3f41a0ba662f7fa61eb39dc51ee2c78b8cefe4d091fde1fe752e5c3190e96 +DIST pambase-20200806.tar.gz 3244 BLAKE2B 41fa77f1fc243292e618d4f1d833c0e6da5d13ce7e69362a2b2b623a46ec38f6e61d645896fd6fd0ef954a8bdbbed282b3e50487f07c6bd8dbb327e7b64e60a2 SHA512 13fc34738c209f50a03060ce0cd2a608b35cf7c2a9c40787230216548b74ff6cf78538bd97d70c63147c3b8e7afe791f0465a772ca8bd0bf8b75ebfbca8d2ff8 +DIST pambase-20200817.tar.gz 3340 BLAKE2B 76a9afbf29ab9ee6f7d25943de8c7c7bdd3413ade64d7a7623d5aec297cd864c1696a6442179d8d7c52f4df00644d80486e0dc61255454aa72b18eb9ae901ed8 SHA512 5448335da1437776f6097e591a1bd52dc62fb1847622c19077f14cdf8a677bc916f220903e4c6e924d43360fec0010a23b9cdf62aeba2a617ef6208eac2438eb +EBUILD pambase-20200304.ebuild 2169 BLAKE2B 04b9658390ae7c88df12dfc4611665fd9bbdb21c4f7fe2c3e0d2b52eb795842a3f80f429a44d0f15027e2092d7f3cae7fb5978178b78cf580504feec194d6a84 SHA512 f718edc810dc14ed9f93816c997bf74e0563003535bcc82c524f3febdc7c8c32f187a954d5d99ecbd06a6c154b004d1ce0c86674e5f5a30eda3fe2368f771ef5 +EBUILD pambase-20200806.ebuild 1767 BLAKE2B 9098236daa8bb74013dcfe68734ea4d3f7267a953f7b3837ca32ca2e3648da213dc5643c0ab731b26caf8b40b7dbd5e3e8510128d500ba2726331e433b05d50e SHA512 40c00adc3bc9b9eb23a91eb3096ff8b1752709c00030ecf475943e0186afc4d20ae556658db9ae7c0925d4d3ee62eae44c744c82edd9cbdf581da03e49d19be2 +EBUILD pambase-20200817.ebuild 1998 BLAKE2B 42923fa493d60e0d2197059c2568c307eceb52e2186edd25f687b227ca4b4cf3fea2b8a1bd8e1b7f4eaa9c7b0e027fbe88e1091a571d0a5b2ea3a2b736972712 SHA512 be84f55e7c498c2ba60093aad34e36909d4d514bba6db7e460d07b9768c8f46cb14c44c89f8987ffb32264b226836b09a1c8962e95c162cb10eed30602ebc245 +MISC metadata.xml 4065 BLAKE2B 001a1fff09797ee77e84c442c7d85ab11d7c8448f9eb34c2aad8e117091ddcdc639511d094e125e920139f94f4a5f7be53c13320848b760be099a1e79dc03cf5 SHA512 5552b7a640e13031aaa6fc9a42ffb3e0285fcd7293db94975d124b655ece670a15386b61a6f2ed71696d4ddc10442c813b86d07f46714374b3fe84ac2f60b937 diff --git a/sys-auth/pambase/metadata.xml b/sys-auth/pambase/metadata.xml index 7c4208d244a2..bb8fe7281268 100644 --- a/sys-auth/pambase/metadata.xml +++ b/sys-auth/pambase/metadata.xml @@ -5,6 +5,10 @@ <email>zlogene@gentoo.org</email> <name>Mikle Kolyada</name> </maintainer> + <maintainer type="person"> + <email>sam@gentoo.org</email> + <name>Sam James</name> + </maintainer> <use> <flag name="cracklib"> Enable pam_cracklib module on system authentication stack. This @@ -31,10 +35,13 @@ </flag> <flag name="passwdqc"> Enable pam_passwdqc module on system auth stack for password - quality validation. This is an alternative to pam_cracklib - producing warnings, rejecting or providing example passwords - when changing your system password. It is used by default by - OpenWall GNU/*/Linux and by FreeBSD. + quality validation. This module produces warnings, rejecting + or providing example passwords when changing your system password. + It is used by default by OpenWall GNU/*/Linux and by FreeBSD. + </flag> + <flag name="pwquality"> + Enable pam_pwquality module on system auth stack for passwd + quality validation. It is used be dafault by Fedora GNU/*/Linux. </flag> <flag name="mktemp"> Enable pam_mktemp module on system auth stack for session diff --git a/sys-auth/pambase/pambase-20190402.ebuild b/sys-auth/pambase/pambase-20190402.ebuild deleted file mode 100644 index a0018607937a..000000000000 --- a/sys-auth/pambase/pambase-20190402.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="PAM base configuration files" -HOMEPAGE="https://github.com/gentoo/pambase" -SRC_URI="https://github.com/gentoo/pambase/archive/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux" -IUSE="consolekit +cracklib debug elogind minimal mktemp +nullok pam_krb5 pam_ssh passwdqc securetty selinux +sha512 systemd" - -RESTRICT="binchecks" - -REQUIRED_USE="?? ( consolekit elogind systemd )" - -MIN_PAM_REQ=1.1.3 - -RDEPEND=" - >=sys-libs/pam-${MIN_PAM_REQ} - consolekit? ( sys-auth/consolekit[pam] ) - cracklib? ( sys-libs/pam[cracklib(+)] ) - elogind? ( sys-auth/elogind[pam] ) - mktemp? ( sys-auth/pam_mktemp ) - pam_krb5? ( - >=sys-libs/pam-${MIN_PAM_REQ} - sys-auth/pam_krb5 - ) - pam_ssh? ( sys-auth/pam_ssh ) - passwdqc? ( sys-auth/pam_passwdqc ) - selinux? ( sys-libs/pam[selinux] ) - sha512? ( >=sys-libs/pam-${MIN_PAM_REQ} ) - systemd? ( sys-apps/systemd[pam] ) -" -DEPEND=" - app-arch/xz-utils - app-portage/portage-utils -" - -S="${WORKDIR}/${PN}-${P}" - -src_compile() { - local implementation linux_pam_version - if has_version sys-libs/pam; then - implementation=linux-pam - local ver_str=$(qatom $(best_version sys-libs/pam) | cut -d ' ' -f 3) - linux_pam_version=$(printf "0x%02x%02x%02x" ${ver_str//\./ }) - elif has_version sys-auth/openpam; then - implementation=openpam - else - die "PAM implementation not identified" - fi - - use_var() { - local varname=$(echo "$1" | tr '[:lower:]' '[:upper:]') - local usename=${2-$(echo "$1" | tr '[:upper:]' '[:lower:]')} - local varvalue=$(usex ${usename}) - echo "${varname}=${varvalue}" - } - - emake \ - GIT=true \ - CPP="$(tc-getPROG CPP cpp)" \ - $(use_var debug) \ - $(use_var cracklib) \ - $(use_var passwdqc) \ - $(use_var consolekit) \ - $(use_var elogind) \ - $(use_var systemd) \ - $(use_var selinux) \ - $(use_var nullok) \ - $(use_var mktemp) \ - $(use_var pam_ssh) \ - $(use_var securetty) \ - $(use_var sha512) \ - $(use_var KRB5 pam_krb5) \ - $(use_var minimal) \ - IMPLEMENTATION=${implementation} \ - LINUX_PAM_VERSION=${linux_pam_version} -} - -src_test() { :; } - -src_install() { - emake GIT=true DESTDIR="${ED}" install -} diff --git a/sys-auth/pambase/pambase-20191128.ebuild b/sys-auth/pambase/pambase-20191128.ebuild deleted file mode 100644 index f4e45cf8cb5d..000000000000 --- a/sys-auth/pambase/pambase-20191128.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="PAM base configuration files" -HOMEPAGE="https://github.com/gentoo/pambase" -SRC_URI="https://github.com/gentoo/pambase/archive/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="caps consolekit +cracklib debug elogind minimal mktemp +nullok pam_krb5 pam_ssh passwdqc securetty selinux +sha512 systemd" - -RESTRICT="binchecks" - -REQUIRED_USE="?? ( consolekit elogind systemd )" - -MIN_PAM_REQ=1.1.3 - -RDEPEND=" - >=sys-libs/pam-${MIN_PAM_REQ} - consolekit? ( sys-auth/consolekit[pam] ) - cracklib? ( sys-libs/pam[cracklib(+)] ) - elogind? ( sys-auth/elogind[pam] ) - mktemp? ( sys-auth/pam_mktemp ) - pam_krb5? ( - >=sys-libs/pam-${MIN_PAM_REQ} - sys-auth/pam_krb5 - ) - caps? ( sys-libs/libcap[pam] ) - pam_ssh? ( sys-auth/pam_ssh ) - passwdqc? ( sys-auth/pam_passwdqc ) - selinux? ( sys-libs/pam[selinux] ) - sha512? ( >=sys-libs/pam-${MIN_PAM_REQ} ) - systemd? ( sys-apps/systemd[pam] ) -" -DEPEND=" - app-arch/xz-utils - app-portage/portage-utils -" - -S="${WORKDIR}/${PN}-${P}" - -src_compile() { - local linux_pam_version - if has_version sys-libs/pam; then - local ver_str=$(qatom $(best_version sys-libs/pam) | cut -d ' ' -f 3) - linux_pam_version=$(printf "0x%02x%02x%02x" ${ver_str//\./ }) - fi - - use_var() { - local varname=$(echo "$1" | tr '[:lower:]' '[:upper:]') - local usename=${2-$(echo "$1" | tr '[:upper:]' '[:lower:]')} - local varvalue=$(usex ${usename}) - echo "${varname}=${varvalue}" - } - - emake \ - GIT=true \ - CPP="$(tc-getPROG CPP cpp)" \ - $(use_var debug) \ - $(use_var LIBCAP caps) \ - $(use_var cracklib) \ - $(use_var passwdqc) \ - $(use_var consolekit) \ - $(use_var elogind) \ - $(use_var systemd) \ - $(use_var selinux) \ - $(use_var nullok) \ - $(use_var mktemp) \ - $(use_var pam_ssh) \ - $(use_var securetty) \ - $(use_var sha512) \ - $(use_var KRB5 pam_krb5) \ - $(use_var minimal) \ - LINUX_PAM_VERSION=${linux_pam_version} -} - -src_test() { :; } - -src_install() { - emake GIT=true DESTDIR="${ED}" install -} diff --git a/sys-auth/pambase/pambase-20200304.ebuild b/sys-auth/pambase/pambase-20200304.ebuild index f4e45cf8cb5d..de4c295e21f7 100644 --- a/sys-auth/pambase/pambase-20200304.ebuild +++ b/sys-auth/pambase/pambase-20200304.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/gentoo/pambase/archive/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="caps consolekit +cracklib debug elogind minimal mktemp +nullok pam_krb5 pam_ssh passwdqc securetty selinux +sha512 systemd" RESTRICT="binchecks" diff --git a/sys-auth/pambase/pambase-20200618.ebuild b/sys-auth/pambase/pambase-20200618.ebuild deleted file mode 100644 index 8cb1953c69c5..000000000000 --- a/sys-auth/pambase/pambase-20200618.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="PAM base configuration files" -HOMEPAGE="https://github.com/gentoo/pambase" -SRC_URI="https://github.com/gentoo/pambase/archive/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="caps consolekit debug elogind minimal mktemp +nullok pam_krb5 pam_ssh +passwdqc securetty selinux +sha512 systemd" - -RESTRICT="binchecks" - -REQUIRED_USE="?? ( consolekit elogind systemd )" - -MIN_PAM_REQ=1.4.0 - -RDEPEND=" - >=sys-libs/pam-${MIN_PAM_REQ} - consolekit? ( sys-auth/consolekit[pam] ) - elogind? ( sys-auth/elogind[pam] ) - mktemp? ( sys-auth/pam_mktemp ) - pam_krb5? ( - >=sys-libs/pam-${MIN_PAM_REQ} - sys-auth/pam_krb5 - ) - caps? ( sys-libs/libcap[pam] ) - pam_ssh? ( sys-auth/pam_ssh ) - passwdqc? ( sys-auth/passwdqc ) - selinux? ( sys-libs/pam[selinux] ) - sha512? ( >=sys-libs/pam-${MIN_PAM_REQ} ) - systemd? ( sys-apps/systemd[pam] ) -" -DEPEND=" - app-arch/xz-utils - app-portage/portage-utils -" - -S="${WORKDIR}/${PN}-${P}" - -src_compile() { - local linux_pam_version - if has_version sys-libs/pam; then - local ver_str=$(qatom $(best_version sys-libs/pam) | cut -d ' ' -f 3) - linux_pam_version=$(printf "0x%02x%02x%02x" ${ver_str//\./ }) - fi - - use_var() { - local varname=$(echo "$1" | tr '[:lower:]' '[:upper:]') - local usename=${2-$(echo "$1" | tr '[:upper:]' '[:lower:]')} - local varvalue=$(usex ${usename}) - echo "${varname}=${varvalue}" - } - - emake \ - GIT=true \ - CPP="$(tc-getPROG CPP cpp)" \ - $(use_var debug) \ - $(use_var LIBCAP caps) \ - $(use_var passwdqc) \ - $(use_var consolekit) \ - $(use_var elogind) \ - $(use_var systemd) \ - $(use_var selinux) \ - $(use_var nullok) \ - $(use_var mktemp) \ - $(use_var pam_ssh) \ - $(use_var securetty) \ - $(use_var sha512) \ - $(use_var KRB5 pam_krb5) \ - $(use_var minimal) \ - LINUX_PAM_VERSION=${linux_pam_version} -} - -src_test() { :; } - -src_install() { - emake GIT=true DESTDIR="${ED}" install -} diff --git a/sys-auth/pambase/pambase-20200806.ebuild b/sys-auth/pambase/pambase-20200806.ebuild new file mode 100644 index 000000000000..b2e1a7a0ddff --- /dev/null +++ b/sys-auth/pambase/pambase-20200806.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) + +inherit pam python-any-r1 + +DESCRIPTION="PAM base configuration files" +HOMEPAGE="https://github.com/gentoo/pambase" +SRC_URI="https://github.com/gentoo/pambase/archive/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="caps debug elogind minimal mktemp +nullok pam_krb5 pam_ssh +passwdqc securetty selinux +sha512 systemd" + +RESTRICT="binchecks" + +REQUIRED_USE="?? ( elogind systemd )" + +MIN_PAM_REQ=1.4.0 + +RDEPEND=" + >=sys-libs/pam-${MIN_PAM_REQ} + elogind? ( sys-auth/elogind[pam] ) + mktemp? ( sys-auth/pam_mktemp ) + pam_krb5? ( + >=sys-libs/pam-${MIN_PAM_REQ} + sys-auth/pam_krb5 + ) + caps? ( sys-libs/libcap[pam] ) + pam_ssh? ( sys-auth/pam_ssh ) + passwdqc? ( sys-auth/passwdqc ) + selinux? ( sys-libs/pam[selinux] ) + sha512? ( >=sys-libs/pam-${MIN_PAM_REQ} ) + systemd? ( sys-apps/systemd[pam] ) +" + +BDEPEND="$(python_gen_any_dep ' + dev-python/jinja[${PYTHON_USEDEP}] + ')" + +python_check_deps() { + has_version -b "dev-python/jinja[${PYTHON_USEDEP}]" +} + +S="${WORKDIR}/${PN}-${P}" + +src_configure() { + ${EPYTHON} ./${PN}.py \ + $(usex caps '--libcap' '') \ + $(usex debug '--debug' '') \ + $(usex elogind '--elogind' '') \ + $(usex minimal '--minimal' '') \ + $(usex mktemp '--mktemp' '') \ + $(usex nullok '--nullok' '') \ + $(usex pam_krb5 '--krb5' '') \ + $(usex pam_ssh '--pam-ssh' '') \ + $(usex passwdqc '--passwdqc' '') \ + $(usex securetty '--securetty' '') \ + $(usex selinux '--selinux' '') \ + $(usex sha512 '--sha512' '') \ + $(usex systemd '--systemd' '') +} + +src_test() { :; } + +src_install() { + dopamd -r stack/. +} diff --git a/sys-auth/pambase/pambase-20200817.ebuild b/sys-auth/pambase/pambase-20200817.ebuild new file mode 100644 index 000000000000..8639fcf1d2b8 --- /dev/null +++ b/sys-auth/pambase/pambase-20200817.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) + +inherit pam python-any-r1 + +DESCRIPTION="PAM base configuration files" +HOMEPAGE="https://github.com/gentoo/pambase" +SRC_URI="https://github.com/gentoo/pambase/archive/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="caps debug elogind gnome-keyring minimal mktemp +nullok pam_krb5 pam_ssh +passwdqc pwquality securetty selinux +sha512 systemd" + +RESTRICT="binchecks" + +REQUIRED_USE=" + ?? ( elogind systemd ) + ?? ( passwdqc pwquality ) +" + +MIN_PAM_REQ=1.4.0 + +RDEPEND=" + >=sys-libs/pam-${MIN_PAM_REQ} + elogind? ( sys-auth/elogind[pam] ) + gnome-keyring? ( gnome-base/gnome-keyring[pam] ) + mktemp? ( sys-auth/pam_mktemp ) + pam_krb5? ( + >=sys-libs/pam-${MIN_PAM_REQ} + sys-auth/pam_krb5 + ) + caps? ( sys-libs/libcap[pam] ) + pam_ssh? ( sys-auth/pam_ssh ) + passwdqc? ( sys-auth/passwdqc ) + pwquality? ( dev-libs/libpwquality[pam] ) + selinux? ( sys-libs/pam[selinux] ) + sha512? ( >=sys-libs/pam-${MIN_PAM_REQ} ) + systemd? ( sys-apps/systemd[pam] ) +" + +BDEPEND="$(python_gen_any_dep ' + dev-python/jinja[${PYTHON_USEDEP}] + ')" + +python_check_deps() { + has_version -b "dev-python/jinja[${PYTHON_USEDEP}]" +} + +S="${WORKDIR}/${PN}-${P}" + +src_configure() { + ${EPYTHON} ./${PN}.py \ + $(usex caps '--libcap' '') \ + $(usex debug '--debug' '') \ + $(usex elogind '--elogind' '') \ + $(usex gnome-keyring '--gnome-keyring' '') \ + $(usex minimal '--minimal' '') \ + $(usex mktemp '--mktemp' '') \ + $(usex nullok '--nullok' '') \ + $(usex pam_krb5 '--krb5' '') \ + $(usex pam_ssh '--pam-ssh' '') \ + $(usex passwdqc '--passwdqc' '') \ + $(usex pwquality '--pwquality' '') \ + $(usex securetty '--securetty' '') \ + $(usex selinux '--selinux' '') \ + $(usex sha512 '--sha512' '') \ + $(usex systemd '--systemd' '') +} + +src_test() { :; } + +src_install() { + dopamd -r stack/. +} |