From: "Thomas Deutschmann" <whissi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libfido2/, dev-libs/libfido2/files/
Date: Wed, 2 Sep 2020 22:27:38 +0000 (UTC) [thread overview]
Message-ID: <1599085621.2e66fcd8ac0f455d0682d80266d71799df889245.whissi@gentoo> (raw)
commit: 2e66fcd8ac0f455d0682d80266d71799df889245
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 2 22:26:42 2020 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Wed Sep 2 22:27:01 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e66fcd8
dev-libs/libfido2: bump to v1.5.0
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
dev-libs/libfido2/Manifest | 1 +
.../libfido2/files/libfido2-1.5.0-cmakelists.patch | 30 ++++++++++++++
dev-libs/libfido2/libfido2-1.5.0.ebuild | 46 ++++++++++++++++++++++
3 files changed, 77 insertions(+)
diff --git a/dev-libs/libfido2/Manifest b/dev-libs/libfido2/Manifest
index 9439365cbe4..ce488475d64 100644
--- a/dev-libs/libfido2/Manifest
+++ b/dev-libs/libfido2/Manifest
@@ -1,2 +1,3 @@
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
diff --git a/dev-libs/libfido2/files/libfido2-1.5.0-cmakelists.patch b/dev-libs/libfido2/files/libfido2-1.5.0-cmakelists.patch
new file mode 100644
index 00000000000..df7f489b45c
--- /dev/null
+++ b/dev-libs/libfido2/files/libfido2-1.5.0-cmakelists.patch
@@ -0,0 +1,30 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -128,13 +128,11 @@ else()
+
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wextra")
+- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wshadow")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wwrite-strings")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wmissing-prototypes")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wbad-function-cast")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pedantic")
+- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pedantic-errors")
+ check_c_compiler_flag("-fstack-protector-all" HAVE_STACK_PROTECTOR_ALL)
+ if(HAVE_STACK_PROTECTOR_ALL)
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fstack-protector-all")
+--- a/man/CMakeLists.txt
++++ b/man/CMakeLists.txt
+@@ -3,10 +3,8 @@
+ # license that can be found in the LICENSE file.
+
+ find_program(MANDOC_PATH mandoc)
+-find_program(GZIP_PATH gzip)
+
+ message(STATUS "MANDOC_PATH: ${MANDOC_PATH}")
+-message(STATUS "GZIP_PATH: ${GZIP_PATH}")
+
+ list(APPEND MAN_SOURCES
+ eddsa_pk_new.3
+
diff --git a/dev-libs/libfido2/libfido2-1.5.0.ebuild b/dev-libs/libfido2/libfido2-1.5.0.ebuild
new file mode 100644
index 00000000000..3615de97d12
--- /dev/null
+++ b/dev-libs/libfido2/libfido2-1.5.0.ebuild
@@ -0,0 +1,46 @@
+# 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 ~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}"
+
+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
+}
next reply other threads:[~2020-09-02 22:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-02 22:27 Thomas Deutschmann [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-05-14 19:47 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libfido2/, dev-libs/libfido2/files/ David Seifert
2022-05-22 3:13 Sam James
2020-12-23 4:59 Lars Wendler
2020-04-17 22:18 Patrick McLean
2020-04-17 22:18 Patrick McLean
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=1599085621.2e66fcd8ac0f455d0682d80266d71799df889245.whissi@gentoo \
--to=whissi@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