From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D23CD138359 for ; Wed, 28 Oct 2020 22:20:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 09B44E0872; Wed, 28 Oct 2020 22:20:16 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E1110E0872 for ; Wed, 28 Oct 2020 22:20:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A67FF33BEDD for ; Wed, 28 Oct 2020 22:20:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E77183B5 for ; Wed, 28 Oct 2020 22:20:12 +0000 (UTC) From: "Göktürk Yüksek" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Göktürk Yüksek" Message-ID: <1603923434.77db7ced2582c9879a70419c7ff15a17a2ac853f.gokturk@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/pam_u2f/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-auth/pam_u2f/Manifest sys-auth/pam_u2f/pam_u2f-1.1.0.ebuild X-VCS-Directories: sys-auth/pam_u2f/ X-VCS-Committer: gokturk X-VCS-Committer-Name: Göktürk Yüksek X-VCS-Revision: 77db7ced2582c9879a70419c7ff15a17a2ac853f X-VCS-Branch: master Date: Wed, 28 Oct 2020 22:20:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0cef190b-8df8-4826-89e3-47d7dfe34974 X-Archives-Hash: 61d2f935bd11421cfcd339e944f05e37 commit: 77db7ced2582c9879a70419c7ff15a17a2ac853f Author: Stijn Tintel linux-ipv6 be> AuthorDate: Wed Oct 21 22:39:44 2020 +0000 Commit: Göktürk Yüksek gentoo org> CommitDate: Wed Oct 28 22:17:14 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77db7ced 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 linux-ipv6.be> Signed-off-by: Göktürk Yüksek gentoo.org> sys-auth/pam_u2f/Manifest | 1 + sys-auth/pam_u2f/pam_u2f-1.1.0.ebuild | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/sys-auth/pam_u2f/Manifest b/sys-auth/pam_u2f/Manifest index 25d09bf1c3c..1ec41057380 100644 --- a/sys-auth/pam_u2f/Manifest +++ b/sys-auth/pam_u2f/Manifest @@ -1 +1,2 @@ DIST pam_u2f-1.0.8.tar.gz 384163 BLAKE2B 99767601027db25e6f8d2e59aad5f72b078cf7344ca10fa310a990d512c5e5a4c9ff7c24acb5b21b88b82aa47b4052b9164a422426d1f0889c8f6776526e5c80 SHA512 0bdbea6307428bbed2af69129af207304f7951418ad7df339563f47d678a2cfe6b80321552382e15771cfc06306fae746521850056376f533c430556d051ad36 +DIST pam_u2f-1.1.0.tar.gz 415677 BLAKE2B dba5cd195d390ba4537752549fa5e0f4487930637fedd64b2750424d21d968bf8be54b75dccba92ac13a18b4e2d44825ec18089e9c4f5dc8e11ac12c36b8d28c SHA512 0ffcc32f0bbee279ad02f9c1cd928e2cf1df2fdebe718d869c16b7fece8edafd73cf08c5dfd6a2bc08434ed1970e16e4f89b6dae3b027a961ab43b26818b634f 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 00000000000..6d719d8985b --- /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) +}