diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2020-08-05 12:18:28 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2020-08-05 12:19:41 +0300 |
commit | 4a6aa7cf6f131436524abada23263901222ab8fb (patch) | |
tree | eb2009d10a26dc0ef85363c0cf906d1029a9fb25 /sys-auth/pambase | |
parent | profiles: update pambase mask (diff) | |
download | gentoo-4a6aa7cf6f131436524abada23263901222ab8fb.tar.gz gentoo-4a6aa7cf6f131436524abada23263901222ab8fb.tar.bz2 gentoo-4a6aa7cf6f131436524abada23263901222ab8fb.zip |
sys-auth/pambase: Version bump (v20200805)
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'sys-auth/pambase')
-rw-r--r-- | sys-auth/pambase/Manifest | 1 | ||||
-rw-r--r-- | sys-auth/pambase/pambase-20200805.ebuild | 72 |
2 files changed, 73 insertions, 0 deletions
diff --git a/sys-auth/pambase/Manifest b/sys-auth/pambase/Manifest index 2c0a93a9ef42..a3d88354f491 100644 --- a/sys-auth/pambase/Manifest +++ b/sys-auth/pambase/Manifest @@ -1,2 +1,3 @@ DIST pambase-20200304.tar.gz 3466 BLAKE2B e4d406460d435403ed7a46d517f9006cacc54a94f5019a573c81b331731c88679ed6d388354b5946894bdfada556b4c73735c3f4de88fc7678cd831c68ab46c3 SHA512 c2a7f3fd143637fbdf5c0a3c58ba5a3c23c5e8adb1f057d02b4b9d64660435fc529031a0f710a9e5fc7091710f78dcb2f3e1ff48f033fb491ddd0399ef05b189 DIST pambase-20200618.tar.gz 3423 BLAKE2B 7b52d6e8ecfb26b4e4cd4995e629ccaa84340099ffd7f9d70da020689cd292bb191bc287b81056e685d4ce1b99f7aedae9802a8929cc8088c13a532fce2f86ca SHA512 66220971ef207b002440c3b4dfd061fa8b434b3fa61db0b9e360aec83821c35ef55b19268fdefdeee847e637b3f47918ef0d9128d7286bf0f8032182555c33dd +DIST pambase-20200805.tar.gz 3242 BLAKE2B d88821ce1ea38800621c0a63e69fc31ae712286850a710a863a834a70454a4b3914b2bd2fce4024c80e9b678029b73130ab03035b49a5d07240184d77c6464b1 SHA512 90599acde0389b7f376fe94459f39374a840def13dab6a548f0533b1fee8861136669b912a107af6fe2d59bbed0efb128c0ddf7a2fd0ebd595308b8260c02b6d diff --git a/sys-auth/pambase/pambase-20200805.ebuild b/sys-auth/pambase/pambase-20200805.ebuild new file mode 100644 index 000000000000..cb83a3cab2e7 --- /dev/null +++ b/sys-auth/pambase/pambase-20200805.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 "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/. +} |