public inbox for gentoo-proxy-maint@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Piotr Stefański" <stefanskipiotr15@gmail.com>
To: gentoo-proxy-maint@lists.gentoo.org
Cc: "Piotr Stefański" <stefanskipiotr15@gmail.com>
Subject: [gentoo-proxy-maint] [PATCH 2/2] sys-auth/pam_u2f: Add 1.4.0
Date: Sun, 27 Apr 2025 16:23:09 +0200	[thread overview]
Message-ID: <20250427142309.72704-3-stefanskipiotr15@gmail.com> (raw)
In-Reply-To: <20250427142309.72704-1-stefanskipiotr15@gmail.com>

As of version 1.4.0, support for GNU Autotools is scheduled for removal.

This ebuild switches to building with CMake.

Signed-off-by: Piotr Stefański <stefanskipiotr15@gmail.com>
---
 sys-auth/pam_u2f/Manifest             |  1 +
 sys-auth/pam_u2f/pam_u2f-1.4.0.ebuild | 49 +++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)
 create mode 100644 sys-auth/pam_u2f/pam_u2f-1.4.0.ebuild

diff --git a/sys-auth/pam_u2f/Manifest b/sys-auth/pam_u2f/Manifest
index 7fe7791f7ff5..217f593ee0ec 100644
--- a/sys-auth/pam_u2f/Manifest
+++ b/sys-auth/pam_u2f/Manifest
@@ -1,3 +1,4 @@
 DIST pam_u2f-1.1.1.tar.gz 429822 BLAKE2B 8ed44f82295ea24fe30c5830971afd29a23b48e173c3cb69d3dcaf73b142de36f86087eaee69b1793a8846fdb2efc5530d52fa9f40e4357e6cd2ea9960b9bb39 SHA512 ca81c78e67c17c369117e9d38e50033eaa96e0b15673521db2c382de1aa2566f7406fb43801a5938758480966c5e7316943769db5be826983d3865710e0274c1
 DIST pam_u2f-1.3.0.tar.gz 456281 BLAKE2B 602ce0fd00105f7fbdea1805a5efde1302149d9f7977f3c52d576d7f4b9a1a95678b1463f19107b494e62c3722e319e05e0ec54f5839f70b855b59eecdf92112 SHA512 03c09601f1988dd7f6b0cb4eeb6e9f2368de50df2cb8e2b4269e16c8111b08b2d115e6fad7bbca3482e9577ccf2885ab3fef652d9fb99db7890ba93ce6c0fd4d
 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/pam_u2f-1.4.0.ebuild b/sys-auth/pam_u2f/pam_u2f-1.4.0.ebuild
new file mode 100644
index 000000000000..7e1518221390
--- /dev/null
+++ b/sys-auth/pam_u2f/pam_u2f-1.4.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake 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="man test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+	dev-libs/libfido2:=
+	dev-libs/openssl:=
+	sys-libs/pam
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+	man? ( app-text/asciidoc )
+	virtual/pkgconfig
+"
+
+src_prepare() {
+	cmake_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		"-DPAM_DIR=$(getpam_mod_dir)"
+		"-DBUILD_TESTING=OFF"
+	)
+	if ! use man; then
+		mycmakeargs+=( "-DBUILD_MANPAGES=OFF" )
+	fi
+	if use test; then
+		mycmakeargs+=( "-DBUILD_TESTING=ON" )
+	fi
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+}
-- 
2.49.0



      parent reply	other threads:[~2025-04-27 14:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-27 14:23 [gentoo-proxy-maint] [PATCH 0/2] sys-auth/pam_u2f: New maintainer Piotr Stefański
2025-04-27 14:23 ` [gentoo-proxy-maint] [PATCH 1/2] sys-auth/pam_u2f: Add myself as a proxy maintainer Piotr Stefański
2025-04-27 14:23 ` Piotr Stefański [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250427142309.72704-3-stefanskipiotr15@gmail.com \
    --to=stefanskipiotr15@gmail.com \
    --cc=gentoo-proxy-maint@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox