dev-libs/libfido2: Bump to version 1.3.1
authorLars Wendler <polynomial-c@gentoo.org>
Fri, 21 Feb 2020 16:24:45 +0000 (17:24 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Fri, 21 Feb 2020 16:24:56 +0000 (17:24 +0100)
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
dev-libs/libfido2/Manifest
dev-libs/libfido2/libfido2-1.3.1.ebuild [new file with mode: 0644]

index 1535364167384bec81dd8ae79397bbd45cef6bd9..ce387f8e9a6c8ec57f224d2d935ec5a15cffcbd3 100644 (file)
@@ -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 (file)
index 0000000..0ed36b0
--- /dev/null
@@ -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
+}