diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2020-12-23 05:58:24 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2020-12-23 05:59:34 +0100 |
commit | c6c19798b04cf9673eec1b4e18f9fa0a7a0a3f09 (patch) | |
tree | cb052c4675a8607111c19fb31455f04a3125eafa /dev-libs/libfido2 | |
parent | sys-libs/binutils-libs: Stabilize 2.34-r2 ppc64, #734598 (diff) | |
download | gentoo-c6c19798b04cf9673eec1b4e18f9fa0a7a0a3f09.tar.gz gentoo-c6c19798b04cf9673eec1b4e18f9fa0a7a0a3f09.tar.bz2 gentoo-c6c19798b04cf9673eec1b4e18f9fa0a7a0a3f09.zip |
dev-libs/libfido2: Bump to version 1.6.0
Package-Manager: Portage-3.0.12, Repoman-3.0.2
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.6.0.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-libs/libfido2/Manifest b/dev-libs/libfido2/Manifest index ce488475d64c..e56671d527af 100644 --- a/dev-libs/libfido2/Manifest +++ b/dev-libs/libfido2/Manifest @@ -1,3 +1,4 @@ DIST libfido2-1.3.1.tar.gz 1512676 BLAKE2B f69a04fc69c46b688d83afe9d72b2fb1860ac00a09665d55e25293595520e95d45486ecc5355c479bc8bc06dbe6ed4fd469c511f5bf5f341a0ec86cb099fce28 SHA512 fc56f7bcddd7ae0f950b4e94f08ad726f7de68b975c0bdcbca98c7932c2c3d2e2a51b30eaf41e8dba08e82af3926cbed44264244ae721902af46e47df9fcbe1b DIST libfido2-1.4.0.tar.gz 391439 BLAKE2B d45ff3e1a5605c5ea4c5bddbe423bb69e6237e7a359fcc58469a86c503c934ce4491b98fdd673130d419cabe09acab7e201592f923ffe3908568b2b0888ae32a SHA512 5cf2f2d70bdba893fd33bf3ca91940c7eded5ed1728b517ff3fc46cbde58bf64f16da4104138b20dcea1d9a1cec730e532bc4938cdcba4ad86343e51a1c3c513 DIST libfido2-1.5.0.tar.gz 407259 BLAKE2B 23a04f9230c45652aa1ac9fd8b3e809096ae31699c65ca0fda27b27b1b47263e375bb99e5b1ebc515b9edfb801bb2fba9c4f50d88e755efe3eaa23463ca01946 SHA512 240e2368e43846fddf5e98bbcc247468833565bcde4ec27976b88c814d787f1a477241a82b064818aa0eb0a98ff46a65d80b8243f4d0bbd763270e42492354e2 +DIST libfido2-1.6.0.tar.gz 413904 BLAKE2B 59444cc9e32b5d9f2a0f9138fe4f3ad644865e1f7f24f50bbace262308aa7c10b58aa0e890a3493e8fd102468e26947f7fc0864b5d7a1e185e40ad730064db8e SHA512 c473732a2f7ef54156097d315e44457d89056446ab3112a7c7a6fd99d5c2c8ae0ca2451ff9cd45be6c32de1ab335d6dfdb2b0c56b40cae9eb41391d18d83be4a diff --git a/dev-libs/libfido2/libfido2-1.6.0.ebuild b/dev-libs/libfido2/libfido2-1.6.0.ebuild new file mode 100644 index 000000000000..8fbe1628305b --- /dev/null +++ b/dev-libs/libfido2/libfido2-1.6.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 2020 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="libressl +static-libs" + +DEPEND=" + dev-libs/libcbor:= + virtual/libudev:= + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) +" + +RDEPEND=" + ${DEPEND} + acct-group/plugdev +" + +PATCHES=( + "${FILESDIR}/libfido2-1.5.0-cmakelists.patch" +) + +pkg_pretend() { + CONFIG_CHECK=" + ~USB_HID + ~HIDRAW + " + + check_extra_config +} + +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 +} |