summaryrefslogtreecommitdiff
path: root/sys-auth/pam_u2f
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-20 14:54:46 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-20 14:54:46 -0500
commit1a4479b4e0368c8d5ff241ebad17b2541a7e3ba0 (patch)
tree18e2e784f9fb0dbc3546537acc42ad51b366d90e /sys-auth/pam_u2f
parent9f6a581d94412ab1cf4b35c33101f6be0ddc7777 (diff)
downloadbaldeagleos-repo-1a4479b4e0368c8d5ff241ebad17b2541a7e3ba0.tar.gz
baldeagleos-repo-1a4479b4e0368c8d5ff241ebad17b2541a7e3ba0.tar.xz
baldeagleos-repo-1a4479b4e0368c8d5ff241ebad17b2541a7e3ba0.zip
Adding metadata
Diffstat (limited to 'sys-auth/pam_u2f')
-rw-r--r--sys-auth/pam_u2f/Manifest1
-rw-r--r--sys-auth/pam_u2f/metadata.xml17
-rw-r--r--sys-auth/pam_u2f/pam_u2f-1.3.2.ebuild32
-rw-r--r--sys-auth/pam_u2f/pam_u2f-1.4.0.ebuild41
4 files changed, 31 insertions, 60 deletions
diff --git a/sys-auth/pam_u2f/Manifest b/sys-auth/pam_u2f/Manifest
index fede49a9e720..43c0179c7b3f 100644
--- a/sys-auth/pam_u2f/Manifest
+++ b/sys-auth/pam_u2f/Manifest
@@ -1,2 +1 @@
-DIST pam_u2f-1.3.2.tar.gz 475593 BLAKE2B 5cc812c7471d2b7b70af85219a50b8fd146a0590cc2fb7ac5ab35b817bc93e0f173cda19658938615d4982bf39ca8a57817766b9bd8b30b507e047d579f9c7f3 SHA512 0233740c4712006d24e65a45c0eca59fc642c5c6b65fdaec66a8d898f926dbd1f770792e447da12b91d098bda4114957f7e10dd8cfbdfaf9e4c5524fadceb0e2
DIST pam_u2f-1.4.0.tar.gz 486434 BLAKE2B 8814ffc1f56f1d280ce50f1ff13612c083133a43443b0bfdc18eb7351aeab3c3607d70bb39a5bfe4cd8d8961e9e0576a014627e7a33adb7ea07d0ddde71eb08c SHA512 6ee4c5538a3b290748fae3b8c285b20a784fe2c0fdeff3a0bf250ec9b03659c6ddda4ea2d668c93d606f810e4f68cf3fc4130584a8532db9c9833a684d78f51f
diff --git a/sys-auth/pam_u2f/metadata.xml b/sys-auth/pam_u2f/metadata.xml
index e65d267a5b6c..061a9c454b3d 100644
--- a/sys-auth/pam_u2f/metadata.xml
+++ b/sys-auth/pam_u2f/metadata.xml
@@ -1,21 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="project">
- <email>dev@liguros.net</email>
- <name>Development</name>
+ <maintainer type="person" proxied="yes">
+ <email>henning@hennsch.de</email>
+ <name>Henning Schild</name>
</maintainer>
- <maintainer type="person">
- <email>gokturk@gentoo.org</email>
- <name>Göktürk Yüksek</name>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
</maintainer>
<upstream>
- <remote-id type="cpe">cpe:/a:yubico:pam-u2f</remote-id>
<bugs-to>https://github.com/Yubico/pam-u2f/issues</bugs-to>
</upstream>
- <use>
- <flag name="debug">Enable debug messages using the pam logging macros. (Note: these will be visible on stdout for terminal logins).</flag>
- <flag name="debug">Enable debug messages using the pam logging macros.</flag>
- </use>
<origin>baldeagleos-repo</origin>
</pkgmetadata>
diff --git a/sys-auth/pam_u2f/pam_u2f-1.3.2.ebuild b/sys-auth/pam_u2f/pam_u2f-1.3.2.ebuild
deleted file mode 100644
index 396e6655dccd..000000000000
--- a/sys-auth/pam_u2f/pam_u2f-1.3.2.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 2021-2025 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-
-inherit autotools 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:0=
- dev-libs/openssl:0=
-
- sys-libs/pam"
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-src_prepare() {
- default
- use debug || append-cppflags -UDEBUG_PAM -UPAM_DEBUG
- eautoreconf
-}
-
-src_configure() {
- econf --with-pam-dir=$(getpam_mod_dir)
-}
diff --git a/sys-auth/pam_u2f/pam_u2f-1.4.0.ebuild b/sys-auth/pam_u2f/pam_u2f-1.4.0.ebuild
index 396e6655dccd..5f4fec988386 100644
--- a/sys-auth/pam_u2f/pam_u2f-1.4.0.ebuild
+++ b/sys-auth/pam_u2f/pam_u2f-1.4.0.ebuild
@@ -1,8 +1,9 @@
-# Copyright 2021-2025 Liguros Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+
EAPI=8
-inherit autotools flag-o-matic pam
+inherit cmake pam
DESCRIPTION="PAM module for FIDO2 and U2F keys"
HOMEPAGE="https://github.com/Yubico/pam-u2f"
@@ -10,23 +11,31 @@ SRC_URI="https://developers.yubico.com/${PN/_/-}/Releases/${P}.tar.gz"
LICENSE="BSD ISC"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug "
+KEYWORDS="amd64 ~arm64 x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
- dev-libs/libfido2:0=
- dev-libs/openssl:0=
-
- sys-libs/pam"
+ dev-libs/libfido2:=
+ dev-libs/openssl:=
+ sys-libs/pam
+"
RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-src_prepare() {
- default
- use debug || append-cppflags -UDEBUG_PAM -UPAM_DEBUG
- eautoreconf
-}
+BDEPEND="app-text/asciidoc"
src_configure() {
- econf --with-pam-dir=$(getpam_mod_dir)
+ local mycmakeargs=(
+ -DPAM_DIR=$(getpam_mod_dir)
+ )
+ if use test; then
+ mycmakeargs+=(
+ -DBUILD_TESTING=ON
+ )
+ else
+ mycmakeargs+=(
+ -DBUILD_TESTING=OFF
+ )
+ fi
+
+ cmake_src_configure
}