Gentoo Archives: gentoo-commits

From: Rick Farina <zerochaos@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/pam_yubico/
Date: Sun, 02 Oct 2022 02:06:28
Message-Id: 1664676381.b1832a5c492c563bfbcf798d269f07a30df775b1.zerochaos@gentoo
1 commit: b1832a5c492c563bfbcf798d269f07a30df775b1
2 Author: Rick Farina <zerochaos <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 2 02:05:13 2022 +0000
4 Commit: Rick Farina <zerochaos <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 2 02:06:21 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1832a5c
7
8 sys-auth/pam_yubico: add 2.27, drop 2.26-r1
9
10 drop old due to eapi 6
11
12 Closes: https://bugs.gentoo.org/827886
13 Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>
14
15 sys-auth/pam_yubico/Manifest | 2 +-
16 .../{pam_yubico-2.26-r1.ebuild => pam_yubico-2.27.ebuild} | 12 +++++++++---
17 2 files changed, 10 insertions(+), 4 deletions(-)
18
19 diff --git a/sys-auth/pam_yubico/Manifest b/sys-auth/pam_yubico/Manifest
20 index 78ec916feb35..421d268b53fc 100644
21 --- a/sys-auth/pam_yubico/Manifest
22 +++ b/sys-auth/pam_yubico/Manifest
23 @@ -1 +1 @@
24 -DIST pam_yubico-2.26.tar.gz 423451 BLAKE2B be65b9726d3b5d353577014c78163d9e092d3d98baf9c22c2a43bbbb5362589c18713712d218fd154cf493211cefd2924158b326db45c2b7dd0aee9aa9080de5 SHA512 4adba37f07e1fe1a2c4b534246ef0e862be76e3b1ce0ed6f11f15436f537cd5963f00abf48f6faa7e65b025ff6924dbaf918db1675b1e2cb89a802d2f2d6a4ec
25 +DIST pam_yubico-2.27.tar.gz 81374 BLAKE2B 132dc43ee25deb0a4bdac3dd3aa98952f102a8e437d126894e626da2dd6966271350dd460e901527ffd91d051102e11f68e0ad354ec8f59902eb78314cf60992 SHA512 7d341e18f884216fc3372bdb837491c637235737dc04029fea30d7451718ab917ea99dd4a1249cbb4d10fb64b6bb6753b84a02e9bffbce2223d224d7420aeced
26
27 diff --git a/sys-auth/pam_yubico/pam_yubico-2.26-r1.ebuild b/sys-auth/pam_yubico/pam_yubico-2.27.ebuild
28 similarity index 80%
29 rename from sys-auth/pam_yubico/pam_yubico-2.26-r1.ebuild
30 rename to sys-auth/pam_yubico/pam_yubico-2.27.ebuild
31 index eaf84fc6bbfa..06d9db589c2b 100644
32 --- a/sys-auth/pam_yubico/pam_yubico-2.26-r1.ebuild
33 +++ b/sys-auth/pam_yubico/pam_yubico-2.27.ebuild
34 @@ -1,19 +1,20 @@
35 # Copyright 1999-2022 Gentoo Authors
36 # Distributed under the terms of the GNU General Public License v2
37
38 -EAPI=6
39 +EAPI=8
40
41 -inherit pam
42 +inherit autotools pam
43
44 DESCRIPTION="Library for authenticating against PAM with a Yubikey"
45 HOMEPAGE="https://github.com/Yubico/yubico-pam"
46 -SRC_URI="http://opensource.yubico.com/yubico-pam/releases/${P}.tar.gz"
47 +SRC_URI="https://github.com/Yubico/yubico-pam/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
48
49 LICENSE="BSD"
50 SLOT="0"
51 KEYWORDS="~amd64 ~x86"
52 IUSE="ldap test"
53 RESTRICT="!test? ( test )"
54 +S="${WORKDIR}/yubico-pam-${PV}"
55
56 RDEPEND="
57 sys-libs/pam
58 @@ -25,6 +26,11 @@ DEPEND="${RDEPEND}
59 app-text/asciidoc
60 test? ( dev-perl/Net-LDAP-Server )"
61
62 +src_prepare() {
63 + default
64 + eautoreconf
65 +}
66 +
67 src_configure() {
68 #challenge response could be optional but that seems horribly dangerous to me
69 local myeconfargs=(