commit:     08c7f15038956e217c8caae43990f897c40c5159
Author:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Thu May 15 07:12:56 2025 +0000
Commit:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Thu May 15 07:21:39 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08c7f150

sys-auth/pam_p11: drop 0.3.1

Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org>

 sys-auth/pam_p11/Manifest                          |  1 -
 .../pam_p11/files/pam_p11-0.3.1-libressl.patch     | 28 ----------------
 sys-auth/pam_p11/pam_p11-0.3.1.ebuild              | 37 ----------------------
 3 files changed, 66 deletions(-)

diff --git a/sys-auth/pam_p11/Manifest b/sys-auth/pam_p11/Manifest
index 65ae18563a2b..c160e0139ea8 100644
--- a/sys-auth/pam_p11/Manifest
+++ b/sys-auth/pam_p11/Manifest
@@ -1,2 +1 @@
-DIST pam_p11-0.3.1.tar.gz 422940 BLAKE2B 
b4c6d60a7ee31d808b9e928339f6e8aba3b56655b9f408ff7cd15ff4a397c89c00d00b0bbe70fc0b7bd6c6a246acd9c313c8f5b21a88e1474355c3407ff694f0
 SHA512 
caaa6882d4c007dfaba5974dc420bc45aa225f705679d170fdc9576aa49cbd24bba6985f14eb2bca97d4fe37aaf6088641add912dfbb93740b7d634f448addcf
 DIST pam_p11-0.6.0.tar.gz 435699 BLAKE2B 
bd21016872927da07e53640b9aaa8111884a92d9c014aae74463e056dd0caba7e8cbc7c4ed9d23c4e1d622755f6be42c51b08b2c5b6e9a242ebf2d4f30a51468
 SHA512 
db58cb9b2435961c854dc5fd4961a6b5ea1e4339fe030d4db054b7f42b4d4797de9288b8415e2fdeeffbe0ce8d3f2730322fb6e5039fa1af8f48b5d636a46d18

diff --git a/sys-auth/pam_p11/files/pam_p11-0.3.1-libressl.patch 
b/sys-auth/pam_p11/files/pam_p11-0.3.1-libressl.patch
deleted file mode 100644
index e085e06e9006..000000000000
--- a/sys-auth/pam_p11/files/pam_p11-0.3.1-libressl.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-https://bugs.gentoo.org/903001
-https://github.com/OpenSC/pam_p11/pull/26
-https://github.com/OpenSC/pam_p11/commit/cb2f0c318c94e30addfce3b432ed91496a43e411
-
-From b307045a93d042ac9e3871e35f8495e8bb201574 Mon Sep 17 00:00:00 2001
-From: orbea <[email protected]>
-Date: Tue, 11 Apr 2023 07:29:12 -0700
-Subject: [PATCH] match_openssh: Fix the build for LibreSSL >= 3.0.0
-
-Newer LibreSSL versions no longer need the older OpenSSL APIs.
----
- src/match_openssh.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/src/match_openssh.c b/src/match_openssh.c
-index 89cbd73..fb59308 100644
---- a/src/match_openssh.c
-+++ b/src/match_openssh.c
-@@ -22,7 +22,8 @@
- 
- #define OPENSSH_LINE_MAX 16384        /* from openssh SSH_MAX_PUBKEY_BYTES */
- 
--#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined 
(LIBRESSL_VERSION_NUMBER)
-+#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || \
-+    (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x3000000L)
- void RSA_get0_key(const RSA *r,
-                  const BIGNUM **n, const BIGNUM **e, const BIGNUM **d)
- {

diff --git a/sys-auth/pam_p11/pam_p11-0.3.1.ebuild 
b/sys-auth/pam_p11/pam_p11-0.3.1.ebuild
deleted file mode 100644
index 322166516423..000000000000
--- a/sys-auth/pam_p11/pam_p11-0.3.1.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic pam
-
-DESCRIPTION="PAM module for authenticating against PKCS#11 tokens"
-HOMEPAGE="https://github.com/opensc/pam_p11/wiki";
-SRC_URI="https://github.com/OpenSC/${PN}/releases/download/${P}/${P}.tar.gz";
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ppc ppc64 ~sparc x86"
-
-RDEPEND="sys-libs/pam
-       dev-libs/libp11:=
-       dev-libs/openssl:0="
-
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-       "${FILESDIR}/${P}-libressl.patch" #903001
-)
-
-src_configure() {
-       # Ugly way to work around deprecated declarations in openssl-3
-       append-cflags -Wno-error=deprecated-declarations
-
-       econf --with-pamdir="$(getpam_mod_dir)"
-}
-
-src_install() {
-       default
-       find "${D}" -name '*.la' -delete || die
-}

Reply via email to