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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 847F115808B for ; Sun, 3 Apr 2022 03:41:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F0DDBE0830; Sun, 3 Apr 2022 03:41:34 +0000 (UTC) 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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C1073E08EF for ; Sun, 3 Apr 2022 03:41:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 2A9783412C8 for ; Sun, 3 Apr 2022 03:41:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 98B7335F for ; Sun, 3 Apr 2022 03:41:29 +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: <1648957272.1d204e8b94d7ef5d90a5ac727ea7563a8c605052.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.10.0.ebuild X-VCS-Directories: dev-libs/libfido2/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 1d204e8b94d7ef5d90a5ac727ea7563a8c605052 X-VCS-Branch: master Date: Sun, 3 Apr 2022 03:41:29 +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: f4571b1a-03aa-40dc-9628-2cd87020f1ee X-Archives-Hash: 74b661258f88bd84e59b6951bfd8c2a2 commit: 1d204e8b94d7ef5d90a5ac727ea7563a8c605052 Author: Sam James gentoo org> AuthorDate: Sun Apr 3 03:32:00 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sun Apr 3 03:41:12 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d204e8b dev-libs/libfido2: add 1.10.0 Signed-off-by: Sam James gentoo.org> dev-libs/libfido2/Manifest | 1 + dev-libs/libfido2/libfido2-1.10.0.ebuild | 50 ++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/dev-libs/libfido2/Manifest b/dev-libs/libfido2/Manifest index 748b32b10e7b..096e128e593e 100644 --- a/dev-libs/libfido2/Manifest +++ b/dev-libs/libfido2/Manifest @@ -1,2 +1,3 @@ +DIST libfido2-1.10.0.tar.gz 591372 BLAKE2B a4144ede774b90700f4cb1371b2acdba9d3ca8e6e0d68c5670986a1825635ebeb75f03c930da14a4539a9e075bcc5f7cfde7fbcc05e1fa383902ac6739225789 SHA512 ba03e25d3f42f11cec74dee48c853ae35d03600f24ca06d2b751840408a132290fe22461372ae42ae31419061a63d9908c20a2c0cf3c0c9c8dbc46c34916784f DIST libfido2-1.8.0.tar.gz 535947 BLAKE2B 48ca29fc1b582b4c915ce3dac2b3c24b1c71b144681f77f13059a599eb5e38b263442abecacad495e28a6fea63fc98c142a32939bb49a521b6a6a8d4ad0f1ff0 SHA512 dbea52a80068323e9945ef7a6e93ab1438bc4347390fc91694a94669900d4ce4abe95e1b6df90fe8b6b2dde6b5d28d9dc0c6b022c24ccb661f28c30c33417999 DIST libfido2-1.9.0.tar.gz 576088 BLAKE2B 19d2933178011aebf11b44e12550518937b204a40b781ade565bd2852de6d1bbb88dda90f612e852e4561b7a9db6927df9d0a9f0b4c511208f3ab648b2cf1a9f SHA512 99edf9c52a871ed5dc3ab41ac07ca8a22670e7527c48ed69c096f001651e1e714bc3f1f55e22003cb66670fa4e851095834c2acd0e5b31887fad46bfb9f4b089 diff --git a/dev-libs/libfido2/libfido2-1.10.0.ebuild b/dev-libs/libfido2/libfido2-1.10.0.ebuild new file mode 100644 index 000000000000..c33a15058ad3 --- /dev/null +++ b/dev-libs/libfido2/libfido2-1.10.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="nfc static-libs" + +DEPEND="dev-libs/libcbor:= + dev-libs/openssl:= + sys-libs/zlib:= + virtual/libudev:=" +RDEPEND="${DEPEND} + acct-group/plugdev" + +PATCHES=( + "${FILESDIR}"/libfido2-1.7.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 ON OFF) + -DNFC_LINUX=$(usex nfc ON OFF) + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + udev_newrules udev/70-u2f.rules 70-libfido2-u2f.rules +}