commit:     b1832a5c492c563bfbcf798d269f07a30df775b1
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  2 02:05:13 2022 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Sun Oct  2 02:06:21 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1832a5c

sys-auth/pam_yubico: add 2.27, drop 2.26-r1

drop old due to eapi 6

Closes: https://bugs.gentoo.org/827886
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 sys-auth/pam_yubico/Manifest                                 |  2 +-
 .../{pam_yubico-2.26-r1.ebuild => pam_yubico-2.27.ebuild}    | 12 +++++++++---
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/sys-auth/pam_yubico/Manifest b/sys-auth/pam_yubico/Manifest
index 78ec916feb35..421d268b53fc 100644
--- a/sys-auth/pam_yubico/Manifest
+++ b/sys-auth/pam_yubico/Manifest
@@ -1 +1 @@
-DIST pam_yubico-2.26.tar.gz 423451 BLAKE2B 
be65b9726d3b5d353577014c78163d9e092d3d98baf9c22c2a43bbbb5362589c18713712d218fd154cf493211cefd2924158b326db45c2b7dd0aee9aa9080de5
 SHA512 
4adba37f07e1fe1a2c4b534246ef0e862be76e3b1ce0ed6f11f15436f537cd5963f00abf48f6faa7e65b025ff6924dbaf918db1675b1e2cb89a802d2f2d6a4ec
+DIST pam_yubico-2.27.tar.gz 81374 BLAKE2B 
132dc43ee25deb0a4bdac3dd3aa98952f102a8e437d126894e626da2dd6966271350dd460e901527ffd91d051102e11f68e0ad354ec8f59902eb78314cf60992
 SHA512 
7d341e18f884216fc3372bdb837491c637235737dc04029fea30d7451718ab917ea99dd4a1249cbb4d10fb64b6bb6753b84a02e9bffbce2223d224d7420aeced

diff --git a/sys-auth/pam_yubico/pam_yubico-2.26-r1.ebuild 
b/sys-auth/pam_yubico/pam_yubico-2.27.ebuild
similarity index 80%
rename from sys-auth/pam_yubico/pam_yubico-2.26-r1.ebuild
rename to sys-auth/pam_yubico/pam_yubico-2.27.ebuild
index eaf84fc6bbfa..06d9db589c2b 100644
--- a/sys-auth/pam_yubico/pam_yubico-2.26-r1.ebuild
+++ b/sys-auth/pam_yubico/pam_yubico-2.27.ebuild
@@ -1,19 +1,20 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
-inherit pam
+inherit autotools pam
 
 DESCRIPTION="Library for authenticating against PAM with a Yubikey"
 HOMEPAGE="https://github.com/Yubico/yubico-pam";
-SRC_URI="http://opensource.yubico.com/yubico-pam/releases/${P}.tar.gz";
+SRC_URI="https://github.com/Yubico/yubico-pam/archive/refs/tags/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="ldap test"
 RESTRICT="!test? ( test )"
+S="${WORKDIR}/yubico-pam-${PV}"
 
 RDEPEND="
        sys-libs/pam
@@ -25,6 +26,11 @@ DEPEND="${RDEPEND}
        app-text/asciidoc
        test? ( dev-perl/Net-LDAP-Server )"
 
+src_prepare() {
+       default
+       eautoreconf
+}
+
 src_configure() {
        #challenge response could be optional but that seems horribly dangerous 
to me
        local myeconfargs=(

Reply via email to