summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGöktürk Yüksek <gokturk@gentoo.org>2023-03-05 16:59:22 -0800
committerGöktürk Yüksek <gokturk@gentoo.org>2023-03-05 17:01:39 -0800
commit4c0ae21838ef57f4dadfab3f12e5753ae920dc41 (patch)
tree3beb9628e53b332e3a043cebd6b4e46ae76a3cf6 /sys-auth
parentsys-kernel/git-sources: drop 6.2_rc8 (diff)
downloadgentoo-4c0ae21838ef57f4dadfab3f12e5753ae920dc41.tar.gz
gentoo-4c0ae21838ef57f4dadfab3f12e5753ae920dc41.tar.bz2
gentoo-4c0ae21838ef57f4dadfab3f12e5753ae920dc41.zip
sys-auth/pam_u2f: add 1.2.1
Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org>
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/pam_u2f/Manifest1
-rw-r--r--sys-auth/pam_u2f/pam_u2f-1.2.1.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/sys-auth/pam_u2f/Manifest b/sys-auth/pam_u2f/Manifest
index f7175d560ae8..f3f9f14b29ce 100644
--- a/sys-auth/pam_u2f/Manifest
+++ b/sys-auth/pam_u2f/Manifest
@@ -1,2 +1,3 @@
DIST pam_u2f-1.1.1.tar.gz 429822 BLAKE2B 8ed44f82295ea24fe30c5830971afd29a23b48e173c3cb69d3dcaf73b142de36f86087eaee69b1793a8846fdb2efc5530d52fa9f40e4357e6cd2ea9960b9bb39 SHA512 ca81c78e67c17c369117e9d38e50033eaa96e0b15673521db2c382de1aa2566f7406fb43801a5938758480966c5e7316943769db5be826983d3865710e0274c1
DIST pam_u2f-1.2.0.tar.gz 442214 BLAKE2B 17dadcb4325a130da67caf2fbf9bb2bf5d76706b28540ddda6ab8904ec5924d14fc752b7e079940989a8208d27fe0e5d46ea4365426debd5076588c51f46a60a SHA512 a00135e49b22dad5ec2513236a64dca67f04062fd8fa4c8d5ac7cb05d93b4d743ceb8ac5ee99a19667bdbfe8c0be9de904fb50110bed0b55ba8d5fd2aa5fcf28
+DIST pam_u2f-1.2.1.tar.gz 450747 BLAKE2B 6e20ad67d00fb4cb83b73a4bc96f5b2bd96c46ba800660face2f877006691723312c3d53d2db2a66f0a7c74e656960d43ef559dfdb47872f00acac1daf01d1c9 SHA512 c81b87dfd56221b3c842d9969b93bc194689b9eca52e855531830b8725135f533c902f0b56e88bed9944ab3047b0a3b08d62718c621b08f865867f38c300a83f
diff --git a/sys-auth/pam_u2f/pam_u2f-1.2.1.ebuild b/sys-auth/pam_u2f/pam_u2f-1.2.1.ebuild
new file mode 100644
index 000000000000..c63693e01365
--- /dev/null
+++ b/sys-auth/pam_u2f/pam_u2f-1.2.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic pam
+
+DESCRIPTION="PAM module for FIDO2 and U2F keys"
+HOMEPAGE="https://github.com/Yubico/pam-u2f"
+SRC_URI="https://developers.yubico.com/${PN/_/-}/Releases/${P}.tar.gz"
+
+LICENSE="BSD ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="
+ dev-libs/libfido2:=
+ dev-libs/openssl:=
+ sys-libs/pam"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_configure() {
+ use debug || append-cppflags -UDEBUG_PAM -UPAM_DEBUG
+ econf --with-pam-dir=$(getpam_mod_dir)
+}