public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libfido2/
Date: Sun,  1 Dec 2024 14:20:01 +0000 (UTC)	[thread overview]
Message-ID: <1733062686.81ea7d0f44315a54e4d885655f8635c4635d241c.sam@gentoo> (raw)

commit:     81ea7d0f44315a54e4d885655f8635c4635d241c
Author:     Christopher Byrne <salah.coronya <AT> gmail <DOT> com>
AuthorDate: Thu Jul 18 16:04:53 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec  1 14:18:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81ea7d0f

dev-libs/libfido2: add 1.15.0

Closes: https://bugs.gentoo.org/927993
Signed-off-by: Christopher Byrne <salah.coronya <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/libfido2/Manifest               |  1 +
 dev-libs/libfido2/libfido2-1.15.0.ebuild | 68 ++++++++++++++++++++++++++++++++
 dev-libs/libfido2/metadata.xml           |  1 +
 3 files changed, 70 insertions(+)

diff --git a/dev-libs/libfido2/Manifest b/dev-libs/libfido2/Manifest
index d0c8c47b5505..6bc7b216e3d7 100644
--- a/dev-libs/libfido2/Manifest
+++ b/dev-libs/libfido2/Manifest
@@ -1 +1,2 @@
 DIST libfido2-1.13.0.tar.gz 652777 BLAKE2B 506e0ecf89825e313fbcb0de59ef0b1a3aab483013f959b391448da0600979780ae76807639231ab8a60eead039471bba707073ec4e259b611d67031ac7713f1 SHA512 90f8452cee4c9cc72241478e697c5c692ccff5ab27752f2f296c3623ee297d1f80a85a359b4d0656c67790084c116aac921894e762eb52d3a79056e5014c03e7
+DIST libfido2-1.15.0.tar.gz 672533 BLAKE2B 2ee1abf8ceee805832b247b2ab9a8a9946d0610a6d8e6ac031d8821f08f857c9a85e52f42bc31e5d33aeb6c487cc71fde46ab28b9f220e79899f9f6ced263655 SHA512 97932ca1a9f8d1bb3cb4b4a8d56ef70085d19ad2bd27c67944fa17ed033bfa45d28d7ad3fa318723e79b17ef5a882ac4f999ad8a6b9965c58665d99c4da7b5ee

diff --git a/dev-libs/libfido2/libfido2-1.15.0.ebuild b/dev-libs/libfido2/libfido2-1.15.0.ebuild
new file mode 100644
index 000000000000..446a7437fc33
--- /dev/null
+++ b/dev-libs/libfido2/libfido2-1.15.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 2022-2024 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"
+
+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)
+		-DNFC_LINUX=$(usex nfc)
+		-DUSE_PCSC=$(usex smartcard pcsc-lte)
+		-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
+}

diff --git a/dev-libs/libfido2/metadata.xml b/dev-libs/libfido2/metadata.xml
index df607fde9962..563761814142 100644
--- a/dev-libs/libfido2/metadata.xml
+++ b/dev-libs/libfido2/metadata.xml
@@ -7,6 +7,7 @@
 	</maintainer>
 	<use>
 		<flag name="nfc">Enable experimental NFC support</flag>
+		<flag name="hidapi">Enable HID API support</flag>
 	</use>
 	<upstream>
 		<remote-id type="github">Yubico/libfido2</remote-id>


             reply	other threads:[~2024-12-01 14:20 UTC|newest]

Thread overview: 77+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-01 14:20 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-12 14:10 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libfido2/ Sam James
2025-01-12 14:10 Sam James
2025-01-12 13:48 Sam James
2024-12-01 17:17 Sam James
2023-11-08 19:30 Andreas Sturmlechner
2023-08-02 15:11 Sam James
2023-07-26  4:08 Sam James
2023-07-26  3:35 Sam James
2023-07-26  3:35 Sam James
2023-07-26  3:35 Sam James
2023-07-26  0:55 Sam James
2023-05-14 19:47 David Seifert
2023-03-04  9:05 Arthur Zamarin
2023-03-04  8:44 Arthur Zamarin
2023-03-04  7:12 Arthur Zamarin
2023-03-04  7:04 Arthur Zamarin
2023-03-04  6:17 Arthur Zamarin
2023-03-04  6:07 Arthur Zamarin
2022-06-02  4:08 Jakov Smolić
2022-06-02  4:08 Jakov Smolić
2022-06-02  3:05 Sam James
2022-06-02  2:21 Sam James
2022-06-02  2:21 Sam James
2022-06-02  2:03 Sam James
2022-06-02  2:03 Sam James
2022-06-02  1:46 Matt Turner
2022-05-22  3:13 Sam James
2022-05-05 23:48 WANG Xuerui
2022-04-03  3:41 Sam James
2022-01-17  7:26 Joshua Kinard
2021-11-03 16:08 Lars Wendler
2021-10-03 11:28 David Seifert
2021-10-02 15:43 Sam James
2021-10-02  9:08 James Le Cuirot
2021-09-21 16:35 Sam James
2021-09-20  0:27 Sam James
2021-09-19  6:39 Agostino Sarubbo
2021-09-18 19:51 Sam James
2021-09-18 19:51 Sam James
2021-09-18 17:18 Sam James
2021-09-10 15:16 Mike Gilbert
2021-09-10 14:47 Mike Gilbert
2021-09-09 19:09 Mike Gilbert
2021-08-02 16:42 Marek Szuba
2021-07-23 14:28 Lars Wendler
2021-05-09 21:44 Sam James
2021-05-09 21:42 Sam James
2021-05-09 10:57 Sam James
2021-05-09 10:57 Sam James
2021-05-09 10:57 Sam James
2021-05-09 10:57 Sam James
2021-05-01  7:29 Mikle Kolyada
2021-02-06 13:27 Sam James
2021-01-14 20:09 Sergei Trofimovich
2020-12-27 12:51 Sergei Trofimovich
2020-12-24 22:06 Sergei Trofimovich
2020-12-24 10:03 Agostino Sarubbo
2020-12-23  4:59 Lars Wendler
2020-12-22 21:04 Sam James
2020-12-22 21:03 Sam James
2020-12-21 23:55 Sam James
2020-12-21 17:48 Thomas Deutschmann
2020-10-19  3:30 Georgy Yakovlev
2020-09-29 21:25 Sergei Trofimovich
2020-07-12  1:51 Sam James
2020-06-01  4:16 Matt Turner
2020-05-31 15:17 Sergei Trofimovich
2020-05-28 18:20 Sergei Trofimovich
2020-05-02 13:30 Mart Raudsepp
2020-04-17 22:18 Patrick McLean
2020-04-04 10:52 Sergei Trofimovich
2020-03-15 12:17 Mikle Kolyada
2020-02-21 16:24 Lars Wendler
2020-02-18 23:10 Patrick McLean
2020-02-18 22:25 Patrick McLean
2020-02-16  7:13 Georgy Yakovlev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1733062686.81ea7d0f44315a54e4d885655f8635c4635d241c.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox