diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2021-07-23 16:26:11 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2021-07-23 16:28:42 +0200 |
commit | 085e7b2069c91b8896a761445659ae26f24cc954 (patch) | |
tree | c8ebf0770b96c281521233c27699ec39dbf8277d /dev-libs/libfido2 | |
parent | dev-python/nbsphinx: enable py3.10 (diff) | |
download | gentoo-085e7b2069c91b8896a761445659ae26f24cc954.tar.gz gentoo-085e7b2069c91b8896a761445659ae26f24cc954.tar.bz2 gentoo-085e7b2069c91b8896a761445659ae26f24cc954.zip |
dev-libs/libfido2: Bump to version 1.8.0
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'dev-libs/libfido2')
-rw-r--r-- | dev-libs/libfido2/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libfido2/libfido2-1.8.0.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-libs/libfido2/Manifest b/dev-libs/libfido2/Manifest index d46b98983154..9f07339f1535 100644 --- a/dev-libs/libfido2/Manifest +++ b/dev-libs/libfido2/Manifest @@ -1 +1,2 @@ DIST libfido2-1.7.0.tar.gz 517426 BLAKE2B c7ad55d1402808ad12dc999b0ec67161a5fe82dfeaeed362c35f4183144af9bd2771c1e3318a731db46fd8fc21ccd0737024b72c8dd3c754e34625118817742f SHA512 f40d394883d909e9e3ea3308b32f7ca31a882c709e11b3b143ed5734d16b0c244d4932effe06965d566776b03d152b1fc280e73cdfeeb81b65d8414042af19fe +DIST libfido2-1.8.0.tar.gz 535947 BLAKE2B 48ca29fc1b582b4c915ce3dac2b3c24b1c71b144681f77f13059a599eb5e38b263442abecacad495e28a6fea63fc98c142a32939bb49a521b6a6a8d4ad0f1ff0 SHA512 dbea52a80068323e9945ef7a6e93ab1438bc4347390fc91694a94669900d4ce4abe95e1b6df90fe8b6b2dde6b5d28d9dc0c6b022c24ccb661f28c30c33417999 diff --git a/dev-libs/libfido2/libfido2-1.8.0.ebuild b/dev-libs/libfido2/libfido2-1.8.0.ebuild new file mode 100644 index 000000000000..21c57df89552 --- /dev/null +++ b/dev-libs/libfido2/libfido2-1.8.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 2021 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 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="nfc +static-libs" + +DEPEND=" + dev-libs/libcbor:= + dev-libs/openssl:0= + sys-libs/zlib:0= + 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=( + -DNFC_LINUX="$(usex nfc)" + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + if ! use static-libs; then + rm -f "${ED}/$(get_libdir)"/*.a || die + fi + + udev_newrules udev/70-u2f.rules 70-libfido2-u2f.rules +} |