diff options
author | Stijn Tintel <stijn@linux-ipv6.be> | 2020-10-22 01:39:44 +0300 |
---|---|---|
committer | Göktürk Yüksek <gokturk@gentoo.org> | 2020-10-28 18:17:14 -0400 |
commit | 77db7ced2582c9879a70419c7ff15a17a2ac853f (patch) | |
tree | 3013b1a95e94a5ffa91fd19807f835b3e98db48f /sys-auth/pam_u2f/pam_u2f-1.1.0.ebuild | |
parent | sys-apps/gentoo-systemd-integration: Stabilize 8 arm, #733582 (diff) | |
download | gentoo-77db7ced2582c9879a70419c7ff15a17a2ac853f.tar.gz gentoo-77db7ced2582c9879a70419c7ff15a17a2ac853f.tar.bz2 gentoo-77db7ced2582c9879a70419c7ff15a17a2ac853f.zip |
sys-auth/pam_u2f: bump to 1.1.0
Tested FIDO2 on a YubiKey 5 NFC. Tested U2F on a YubiKey U2F.
Closes: https://bugs.gentoo.org/743385
Closes: https://github.com/gentoo/gentoo/pull/17994
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org>
Diffstat (limited to 'sys-auth/pam_u2f/pam_u2f-1.1.0.ebuild')
-rw-r--r-- | sys-auth/pam_u2f/pam_u2f-1.1.0.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/sys-auth/pam_u2f/pam_u2f-1.1.0.ebuild b/sys-auth/pam_u2f/pam_u2f-1.1.0.ebuild new file mode 100644 index 000000000000..6d719d8985b6 --- /dev/null +++ b/sys-auth/pam_u2f/pam_u2f-1.1.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 libressl" + +DEPEND=" + dev-libs/libfido2:0= + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + sys-libs/pam" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( "${FILESDIR}/${PN}-1.0.2-fix-Makefile.patch" ) + +src_prepare() { + default + use debug || append-cppflags -UDEBUG_PAM -UPAM_DEBUG + eautoreconf +} + +src_configure() { + econf --with-pam-dir=$(getpam_mod_dir) +} |