From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 169161580EB for ; Sat, 24 May 2025 02:22:38 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id EDCCD34314A for ; Sat, 24 May 2025 02:22:37 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 4853211047E; Sat, 24 May 2025 02:22:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 3CF6511047E for ; Sat, 24 May 2025 02:22:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E11443430F8 for ; Sat, 24 May 2025 02:22:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3F7CD27A7 for ; Sat, 24 May 2025 02:22:31 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1748051521.40805d691039a21cf5f1d609fd7ddd1a2b823416.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libfido2/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libfido2/Manifest dev-libs/libfido2/libfido2-1.16.0.ebuild X-VCS-Directories: dev-libs/libfido2/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 40805d691039a21cf5f1d609fd7ddd1a2b823416 X-VCS-Branch: master Date: Sat, 24 May 2025 02:22:31 +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: e7c0ab8a-937b-4531-83ff-fab53a2e3c25 X-Archives-Hash: 659854cbde0d9eb6bfe7ae01ee61da58 commit: 40805d691039a21cf5f1d609fd7ddd1a2b823416 Author: Sam James gentoo org> AuthorDate: Sat May 24 01:52:01 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sat May 24 01:52:01 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40805d69 dev-libs/libfido2: add 1.16.0 Signed-off-by: Sam James gentoo.org> dev-libs/libfido2/Manifest | 1 + dev-libs/libfido2/libfido2-1.16.0.ebuild | 70 ++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/dev-libs/libfido2/Manifest b/dev-libs/libfido2/Manifest index 14daa0a20e6b..a03a273ec00e 100644 --- a/dev-libs/libfido2/Manifest +++ b/dev-libs/libfido2/Manifest @@ -1 +1,2 @@ DIST libfido2-1.15.0.tar.gz 672533 BLAKE2B 2ee1abf8ceee805832b247b2ab9a8a9946d0610a6d8e6ac031d8821f08f857c9a85e52f42bc31e5d33aeb6c487cc71fde46ab28b9f220e79899f9f6ced263655 SHA512 97932ca1a9f8d1bb3cb4b4a8d56ef70085d19ad2bd27c67944fa17ed033bfa45d28d7ad3fa318723e79b17ef5a882ac4f999ad8a6b9965c58665d99c4da7b5ee +DIST libfido2-1.16.0.tar.gz 682395 BLAKE2B 516965c034691de0ea197596f6cc226a3437b8d74385bc7c87dca9a10519a03131d91fabec6b11b1f1aaed595ab97fa9ed3d3d2494109e4dd6e233a67022f32c SHA512 46ef14d9215d13608eb511ea4d63494758eb2464e75a00411e1afa2546f06e4cd142a08a59f1ee78967c962290c54889014f58608d4b58d48ba590e5805d3b04 diff --git a/dev-libs/libfido2/libfido2-1.16.0.ebuild b/dev-libs/libfido2/libfido2-1.16.0.ebuild new file mode 100644 index 000000000000..a5e9c6291712 --- /dev/null +++ b/dev-libs/libfido2/libfido2-1.16.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake udev linux-info + +DESCRIPTION="Provides library functionality for FIDO 2.0" +HOMEPAGE="https://github.com/Yubico/libfido2" +SRC_URI="https://github.com/Yubico/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0/1" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="hidapi nfc smartcard static-libs test" +RESTRICT="!test? ( test )" + +DEPEND=" + dev-libs/libcbor:= + dev-libs/openssl:= + sys-libs/zlib:= + virtual/libudev:= + hidapi? ( dev-libs/hidapi ) + smartcard? ( sys-apps/pcsc-lite ) +" +RDEPEND=" + ${DEPEND} + acct-group/plugdev +" +BDEPEND="app-text/mandoc" + +PATCHES=( + "${FILESDIR}"/${PN}-1.12.0-cmakelists.patch +) + +pkg_pretend() { + CONFIG_CHECK=" + ~USB_HID + ~HIDRAW + " + + check_extra_config +} + +src_configure() { + local mycmakeargs=( + -DBUILD_EXAMPLES=OFF + -DBUILD_STATIC_LIBS=$(usex static-libs) + -DBUILD_TESTS=$(usex test) + -DNFC_LINUX=$(usex nfc) + -DUSE_PCSC=$(usex smartcard) + -DUSE_HIDAPI=$(usex hidapi) + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + udev_newrules udev/70-u2f.rules 70-libfido2-u2f.rules +} + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +}