summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2016-10-28 17:42:30 -0400
committerTim Harder <radhermit@gentoo.org>2016-10-28 17:43:59 -0400
commit5b689537acd5d1c63f903574b4dda440b84430a5 (patch)
tree141f297b8eb0a48fc601b8058dad25a8b2c12537 /sys-auth/pam-script
parentdev-python/python-iptables: Bump (diff)
downloadgentoo-5b689537acd5d1c63f903574b4dda440b84430a5.tar.gz
gentoo-5b689537acd5d1c63f903574b4dda440b84430a5.tar.bz2
gentoo-5b689537acd5d1c63f903574b4dda440b84430a5.zip
sys-auth/pam-script: version bump to 1.1.8
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.8.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/sys-auth/pam-script/Manifest b/sys-auth/pam-script/Manifest
index dd51f4f7e5f4..962b0e118b46 100644
--- a/sys-auth/pam-script/Manifest
+++ b/sys-auth/pam-script/Manifest
@@ -1,2 +1,3 @@
DIST pam-script-1.1.6.tar.gz 326758 SHA256 d7cb2fadf8db8fcd099a7a7151ec1b018e79f110af79955df0e0081ea3a93e1d SHA512 4c0f03e4ee3ad062c0a6c71982c283e944cd595d3af656f149ea89b583568373f72478130a614cd851f12a1440976abcd51c8932c5fd4753858d13d91888728a WHIRLPOOL 7bdc21db809f61243d3750a74f038cae3a61f2f5ee66c12a12159fa2094b6dc7f9ce9e3c095a0c4dd258dbda277d85e0c29f30047e1255cf35412a7ff0399c98
DIST pam-script-1.1.7.tar.gz 328385 SHA256 ae38ed76e8e5aec47d6838212b92ce2ced4ba93adbdcfead69f956703a809ff3 SHA512 c0e1df7d3b91cb5be4166fd4680556d5ee4f74df0de299f3629c91081b89ab58390d7b5d0dde5acf3509b30a62553d08e4b2fdf154bce064937f45e2ec08db35 WHIRLPOOL 9c743a5de6695fae8433a1d26fddbb95e67276f382c106116b3fb9ddef80a7f283fafa13cce0f7212caac0fe6162f0f94eff2adb53834d154fe8127ca8df5220
+DIST pam-script-1.1.8.tar.gz 36442 SHA256 d6f85dba8856503a6d74cc95b15cf1f6e45ba2b8ff00675ba8dfe50b519b1251 SHA512 c4b99c69a759b6422189707c52439a6afe59e32fca6238acf00116ed104b625920fb36b3e1f0aaf5edc77325b1f7b10d52ac2530d85cec53d941ae906e077543 WHIRLPOOL 45506733e685f2dc35f164d615956b9c04110d7bcc397b8111f418974cf7268a19557123438622375521396103b3b96387988e8baa17062cd166eba816342b69
diff --git a/sys-auth/pam-script/pam-script-1.1.8.ebuild b/sys-auth/pam-script/pam-script-1.1.8.ebuild
new file mode 100644
index 000000000000..888cb42fa0a2
--- /dev/null
+++ b/sys-auth/pam-script/pam-script-1.1.8.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools
+
+MY_PN=${PN/-/_}
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="PAM module for executing scripts during authorization, password changes, and sessions"
+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
+}