mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
sys-auth/pam_u2f: add 1.4.0
This now uses cmake, the "debug" option defaults to "on" and can not be turned off anymore. Also introduce IUSE="test". Signed-off-by: Henning Schild <henning@hennsch.de> Part-of: https://github.com/gentoo/gentoo/pull/43699 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
042c168fbc
commit
d4ce501827
@@ -1 +1,2 @@
|
||||
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
|
||||
|
||||
39
sys-auth/pam_u2f/pam_u2f-1.4.0.ebuild
Normal file
39
sys-auth/pam_u2f/pam_u2f-1.4.0.ebuild
Normal file
@@ -0,0 +1,39 @@
|
||||
# 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 ~arm64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/libfido2:=
|
||||
dev-libs/openssl:=
|
||||
sys-libs/pam"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DPAM_DIR=$(getpam_mod_dir)
|
||||
)
|
||||
if use test; then
|
||||
mycmakeargs+=(
|
||||
-DBUILD_TESTING=ON
|
||||
)
|
||||
else
|
||||
mycmakeargs+=(
|
||||
-DBUILD_TESTING=OFF
|
||||
)
|
||||
fi
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user