summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <patrick.mclean@sony.com>2019-01-07 15:39:43 -0800
committerPatrick McLean <chutzpah@gentoo.org>2019-01-07 15:40:55 -0800
commit10d91c51d8a18cd89df9f397f64a9417db3a1943 (patch)
tree9a2f1eb7c3edb41ab90c093f0164cc5a6ed5a628 /sys-auth/pam-script
parentvirtual/man: drop keywords based on sys-apps/man and sys-apps/man-db (diff)
downloadgentoo-10d91c51d8a18cd89df9f397f64a9417db3a1943.tar.gz
gentoo-10d91c51d8a18cd89df9f397f64a9417db3a1943.tar.bz2
gentoo-10d91c51d8a18cd89df9f397f64a9417db3a1943.zip
sys-auth/pam-script: Version bump to 1.1.9 (bug #674614)
Closes: https://bugs.gentoo.org/674614 Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.54, Repoman-2.3.12 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'sys-auth/pam-script')
-rw-r--r--sys-auth/pam-script/Manifest1
-rw-r--r--sys-auth/pam-script/pam-script-1.1.9.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/sys-auth/pam-script/Manifest b/sys-auth/pam-script/Manifest
index fdf60e5d8b06..e269b192fa5e 100644
--- a/sys-auth/pam-script/Manifest
+++ b/sys-auth/pam-script/Manifest
@@ -1,3 +1,4 @@
DIST pam-script-1.1.6.tar.gz 326758 BLAKE2B 04d499d984fa217eafce41468ef71291caee0aca77627237abb2b99d8728aed5dbfab570cfb5f07ddcb2f80021bb4175e611d953cb9daa53a0fc22c5663d11e9 SHA512 4c0f03e4ee3ad062c0a6c71982c283e944cd595d3af656f149ea89b583568373f72478130a614cd851f12a1440976abcd51c8932c5fd4753858d13d91888728a
DIST pam-script-1.1.7.tar.gz 328385 BLAKE2B 7099d4a489a8f53c9cd811ef4cc354040d55e814b3b5b01d4fde59c64352a4e98cf834ddac2a078a6bdafdba6855572bf8b8f0ab294d730601e3637c8fdaa8c5 SHA512 c0e1df7d3b91cb5be4166fd4680556d5ee4f74df0de299f3629c91081b89ab58390d7b5d0dde5acf3509b30a62553d08e4b2fdf154bce064937f45e2ec08db35
DIST pam-script-1.1.8.tar.gz 36442 BLAKE2B 29ea87d694deb5483d34dd60fd4192d8d2050f6c5291fe5d2e7fa90408e7d8ce07b5b987a58142e43893d352d13d002604958b70565827d720e0ee89c6d8eb48 SHA512 c4b99c69a759b6422189707c52439a6afe59e32fca6238acf00116ed104b625920fb36b3e1f0aaf5edc77325b1f7b10d52ac2530d85cec53d941ae906e077543
+DIST pam-script-1.1.9.tar.gz 34890 BLAKE2B 0cb1c978cf335039185d34ea9d9a6a5363d73c86e05b24735d3a13d88c2eb03734831ee1fe80a87ca9d89c5b793cdc498b7fb2890a2e09209adfdd43784c2fd8 SHA512 319dff52923f7f895ff123bd6258bc83668b41da1172961e1747cb12fbdd260c6907b73f9881f5c3a50d4e2c4074b66747d7d6bbe1e0d7ab0411251705b59537
diff --git a/sys-auth/pam-script/pam-script-1.1.9.ebuild b/sys-auth/pam-script/pam-script-1.1.9.ebuild
new file mode 100644
index 000000000000..143addcfc1a5
--- /dev/null
+++ b/sys-auth/pam-script/pam-script-1.1.9.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+MY_PN=${PN/-/_}
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="PAM module for running scripts during authorization, password change and session"
+HOMEPAGE="https://github.com/jeroennijhof/pam_script/"
+SRC_URI="https://github.com/jeroennijhof/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+RDEPEND="virtual/pam"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --libdir=/$(get_libdir)/security \
+ --sysconfdir=/etc/security/${PN}
+}
+
+src_install() {
+ default
+
+ if use examples ; then
+ docinto examples
+ dodoc etc/README.examples
+ exeinto /usr/share/doc/${PF}/examples
+ doexe etc/{logscript,tally}
+ docompress -x /usr/share/doc/${PF}/examples/{logscript,tally}
+ fi
+}