summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2020-02-21 17:24:45 +0100
committerLars Wendler <polynomial-c@gentoo.org>2020-02-21 17:24:56 +0100
commit8558a4ff3183f1d897f969085658de73a3f70336 (patch)
treed38226771e5669d366e4640e853a62a8d92d9fbf /dev-libs/libfido2
parentdev-db/mysql++: amd64 stable wrt bug #710362 (diff)
downloadgentoo-8558a4ff3183f1d897f969085658de73a3f70336.tar.gz
gentoo-8558a4ff3183f1d897f969085658de73a3f70336.tar.bz2
gentoo-8558a4ff3183f1d897f969085658de73a3f70336.zip
dev-libs/libfido2: Bump to version 1.3.1
Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'dev-libs/libfido2')
-rw-r--r--dev-libs/libfido2/Manifest1
-rw-r--r--dev-libs/libfido2/libfido2-1.3.1.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-libs/libfido2/Manifest b/dev-libs/libfido2/Manifest
index 153536416738..ce387f8e9a6c 100644
--- a/dev-libs/libfido2/Manifest
+++ b/dev-libs/libfido2/Manifest
@@ -1 +1,2 @@
DIST libfido2-1.3.0.tar.gz 1516842 BLAKE2B 18a0036127a9f643ef7ca917dab909bfa344caecdfdef3f1f0881bd7c84b73ea8273a57a2daccc95cc448d7777c389a8f573f663895abd78c48b3340a45f7764 SHA512 9cfb872b898fb6659e0c5e377b5f80738c22dadc4768be02b8cb5e4f4932cb4edde360cd84aac78eb3e3a57d3bc10b4147740a4830d16adcdefe7c48fa460d36
+DIST libfido2-1.3.1.tar.gz 1512676 BLAKE2B f69a04fc69c46b688d83afe9d72b2fb1860ac00a09665d55e25293595520e95d45486ecc5355c479bc8bc06dbe6ed4fd469c511f5bf5f341a0ec86cb099fce28 SHA512 fc56f7bcddd7ae0f950b4e94f08ad726f7de68b975c0bdcbca98c7932c2c3d2e2a51b30eaf41e8dba08e82af3926cbed44264244ae721902af46e47df9fcbe1b
diff --git a/dev-libs/libfido2/libfido2-1.3.1.ebuild b/dev-libs/libfido2/libfido2-1.3.1.ebuild
new file mode 100644
index 000000000000..0ed36b0583f0
--- /dev/null
+++ b/dev-libs/libfido2/libfido2-1.3.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils 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="~amd64 ~ppc64 ~x86"
+IUSE="libressl +static-libs"
+
+DEPEND="
+ dev-libs/libcbor:=
+ virtual/libudev:=
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/libfido2-1.3.0-cmakelists.patch"
+)
+
+pkg_pretend() {
+ CONFIG_CHECK="
+ ~USB_HID
+ ~HIDRAW
+ "
+
+ check_extra_config
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ if ! use static-libs; then
+ rm -f "${D}/$(get_libdir)"/*.a || die
+ fi
+
+ udev_newrules udev/70-u2f.rules 70-libfido2-u2f.rules
+}