commit:     19f54024e59ab30cd890f7a08270007094931ba8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  2 13:04:02 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar  2 13:04:29 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19f54024

sys-auth/pam_p11: add 0.6.0

Closes: https://bugs.gentoo.org/890881
Closes: https://bugs.gentoo.org/926223
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-auth/pam_p11/Manifest             |  1 +
 sys-auth/pam_p11/pam_p11-0.6.0.ebuild | 38 +++++++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/sys-auth/pam_p11/Manifest b/sys-auth/pam_p11/Manifest
index 36d88fcb2816..65ae18563a2b 100644
--- a/sys-auth/pam_p11/Manifest
+++ b/sys-auth/pam_p11/Manifest
@@ -1 +1,2 @@
 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/pam_p11-0.6.0.ebuild 
b/sys-auth/pam_p11/pam_p11-0.6.0.ebuild
new file mode 100644
index 000000000000..da0cbe51409e
--- /dev/null
+++ b/sys-auth/pam_p11/pam_p11-0.6.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit 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="
+       dev-libs/libp11:=
+       >=dev-libs/openssl-1.1.1:=
+       sys-libs/pam
+"
+
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_configure() {
+       local myeconfargs=(
+               # Controls -Werror
+               --disable-strict
+               --with-pamdir="$(getpam_mod_dir)"
+       )
+
+       econf "${myeconfargs[@]}"
+}
+
+src_install() {
+       default
+       find "${D}" -name '*.la' -delete || die
+}

Reply via email to