Gentoo Archives: gentoo-commits

From: Patrick McLean <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/pam-script/
Date: Mon, 07 Jan 2019 23:41:14
Message-Id: 1546904455.10d91c51d8a18cd89df9f397f64a9417db3a1943.chutzpah@gentoo
1 commit: 10d91c51d8a18cd89df9f397f64a9417db3a1943
2 Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
3 AuthorDate: Mon Jan 7 23:39:43 2019 +0000
4 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 7 23:40:55 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10d91c51
7
8 sys-auth/pam-script: Version bump to 1.1.9 (bug #674614)
9
10 Closes: https://bugs.gentoo.org/674614
11 Copyright: Sony Interactive Entertainment Inc.
12 Package-Manager: Portage-2.3.54, Repoman-2.3.12
13 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
14
15 sys-auth/pam-script/Manifest | 1 +
16 sys-auth/pam-script/pam-script-1.1.9.ebuild | 46 +++++++++++++++++++++++++++++
17 2 files changed, 47 insertions(+)
18
19 diff --git a/sys-auth/pam-script/Manifest b/sys-auth/pam-script/Manifest
20 index fdf60e5d8b0..e269b192fa5 100644
21 --- a/sys-auth/pam-script/Manifest
22 +++ b/sys-auth/pam-script/Manifest
23 @@ -1,3 +1,4 @@
24 DIST pam-script-1.1.6.tar.gz 326758 BLAKE2B 04d499d984fa217eafce41468ef71291caee0aca77627237abb2b99d8728aed5dbfab570cfb5f07ddcb2f80021bb4175e611d953cb9daa53a0fc22c5663d11e9 SHA512 4c0f03e4ee3ad062c0a6c71982c283e944cd595d3af656f149ea89b583568373f72478130a614cd851f12a1440976abcd51c8932c5fd4753858d13d91888728a
25 DIST pam-script-1.1.7.tar.gz 328385 BLAKE2B 7099d4a489a8f53c9cd811ef4cc354040d55e814b3b5b01d4fde59c64352a4e98cf834ddac2a078a6bdafdba6855572bf8b8f0ab294d730601e3637c8fdaa8c5 SHA512 c0e1df7d3b91cb5be4166fd4680556d5ee4f74df0de299f3629c91081b89ab58390d7b5d0dde5acf3509b30a62553d08e4b2fdf154bce064937f45e2ec08db35
26 DIST pam-script-1.1.8.tar.gz 36442 BLAKE2B 29ea87d694deb5483d34dd60fd4192d8d2050f6c5291fe5d2e7fa90408e7d8ce07b5b987a58142e43893d352d13d002604958b70565827d720e0ee89c6d8eb48 SHA512 c4b99c69a759b6422189707c52439a6afe59e32fca6238acf00116ed104b625920fb36b3e1f0aaf5edc77325b1f7b10d52ac2530d85cec53d941ae906e077543
27 +DIST pam-script-1.1.9.tar.gz 34890 BLAKE2B 0cb1c978cf335039185d34ea9d9a6a5363d73c86e05b24735d3a13d88c2eb03734831ee1fe80a87ca9d89c5b793cdc498b7fb2890a2e09209adfdd43784c2fd8 SHA512 319dff52923f7f895ff123bd6258bc83668b41da1172961e1747cb12fbdd260c6907b73f9881f5c3a50d4e2c4074b66747d7d6bbe1e0d7ab0411251705b59537
28
29 diff --git a/sys-auth/pam-script/pam-script-1.1.9.ebuild b/sys-auth/pam-script/pam-script-1.1.9.ebuild
30 new file mode 100644
31 index 00000000000..143addcfc1a
32 --- /dev/null
33 +++ b/sys-auth/pam-script/pam-script-1.1.9.ebuild
34 @@ -0,0 +1,46 @@
35 +# Copyright 1999-2019 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=7
39 +
40 +inherit autotools
41 +
42 +MY_PN=${PN/-/_}
43 +MY_P=${MY_PN}-${PV}
44 +
45 +DESCRIPTION="PAM module for running scripts during authorization, password change and session"
46 +HOMEPAGE="https://github.com/jeroennijhof/pam_script/"
47 +SRC_URI="https://github.com/jeroennijhof/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
48 +
49 +LICENSE="GPL-2"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~x86"
52 +IUSE="examples"
53 +
54 +RDEPEND="virtual/pam"
55 +DEPEND="${RDEPEND}"
56 +
57 +S=${WORKDIR}/${MY_P}
58 +
59 +src_prepare() {
60 + default
61 + eautoreconf
62 +}
63 +
64 +src_configure() {
65 + econf \
66 + --libdir=/$(get_libdir)/security \
67 + --sysconfdir=/etc/security/${PN}
68 +}
69 +
70 +src_install() {
71 + default
72 +
73 + if use examples ; then
74 + docinto examples
75 + dodoc etc/README.examples
76 + exeinto /usr/share/doc/${PF}/examples
77 + doexe etc/{logscript,tally}
78 + docompress -x /usr/share/doc/${PF}/examples/{logscript,tally}
79 + fi
80 +}