public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libfido2/, dev-libs/libfido2/files/
@ 2020-04-17 22:18 Patrick McLean
  0 siblings, 0 replies; 6+ messages in thread
From: Patrick McLean @ 2020-04-17 22:18 UTC (permalink / raw
  To: gentoo-commits

commit:     b8dbca2ef7ab9dab03a51e2d99f92743d7b5b86e
Author:     Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Fri Apr 17 22:16:33 2020 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Fri Apr 17 22:17:05 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8dbca2e

dev-libs/libfido2-1.3.1: Drop -Werror (bug #717952)

Closes: https://bugs.gentoo.org/717952
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 dev-libs/libfido2/files/libfido2-1.3.1-no-werror.patch | 18 ++++++++++++++++++
 dev-libs/libfido2/libfido2-1.3.1.ebuild                |  1 +
 2 files changed, 19 insertions(+)

diff --git a/dev-libs/libfido2/files/libfido2-1.3.1-no-werror.patch b/dev-libs/libfido2/files/libfido2-1.3.1-no-werror.patch
new file mode 100644
index 00000000000..d2ebc1a54a1
--- /dev/null
+++ b/dev-libs/libfido2/files/libfido2-1.3.1-no-werror.patch
@@ -0,0 +1,18 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 9481c46..b347fab 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -107,13 +107,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")
+ 	set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fstack-protector-all")
+ 	set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")
+ 

diff --git a/dev-libs/libfido2/libfido2-1.3.1.ebuild b/dev-libs/libfido2/libfido2-1.3.1.ebuild
index bd76b061981..eb279f392c5 100644
--- a/dev-libs/libfido2/libfido2-1.3.1.ebuild
+++ b/dev-libs/libfido2/libfido2-1.3.1.ebuild
@@ -24,6 +24,7 @@ RDEPEND="${DEPEND}"
 
 PATCHES=(
 	"${FILESDIR}/libfido2-1.3.0-cmakelists.patch"
+	"${FILESDIR}/libfido2-1.3.1-no-werror.patch"
 )
 
 pkg_pretend() {


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libfido2/, dev-libs/libfido2/files/
@ 2020-04-17 22:18 Patrick McLean
  0 siblings, 0 replies; 6+ messages in thread
From: Patrick McLean @ 2020-04-17 22:18 UTC (permalink / raw
  To: gentoo-commits

commit:     ab5af86bb9051eb3c72c51c5b2fceb45625d95aa
Author:     Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Fri Apr 17 22:12:40 2020 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Fri Apr 17 22:16:50 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab5af86b

dev-libs/libfido2-1.4.0: Version bump, remove Werror (bug #717952)

Bug: https://bugs.gentoo.org/717952
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 dev-libs/libfido2/Manifest                         |  1 +
 .../libfido2/files/libfido2-1.4.0-cmakelists.patch | 34 ++++++++++++++++
 dev-libs/libfido2/libfido2-1.4.0.ebuild            | 46 ++++++++++++++++++++++
 3 files changed, 81 insertions(+)

diff --git a/dev-libs/libfido2/Manifest b/dev-libs/libfido2/Manifest
index ce387f8e9a6..41a19ecc739 100644
--- a/dev-libs/libfido2/Manifest
+++ b/dev-libs/libfido2/Manifest
@@ -1,2 +1,3 @@
 DIST libfido2-1.3.0.tar.gz 1516842 BLAKE2B 18a0036127a9f643ef7ca917dab909bfa344caecdfdef3f1f0881bd7c84b73ea8273a57a2daccc95cc448d7777c389a8f573f663895abd78c48b3340a45f7764 SHA512 9cfb872b898fb6659e0c5e377b5f80738c22dadc4768be02b8cb5e4f4932cb4edde360cd84aac78eb3e3a57d3bc10b4147740a4830d16adcdefe7c48fa460d36
 DIST libfido2-1.3.1.tar.gz 1512676 BLAKE2B f69a04fc69c46b688d83afe9d72b2fb1860ac00a09665d55e25293595520e95d45486ecc5355c479bc8bc06dbe6ed4fd469c511f5bf5f341a0ec86cb099fce28 SHA512 fc56f7bcddd7ae0f950b4e94f08ad726f7de68b975c0bdcbca98c7932c2c3d2e2a51b30eaf41e8dba08e82af3926cbed44264244ae721902af46e47df9fcbe1b
+DIST libfido2-1.4.0.tar.gz 391439 BLAKE2B d45ff3e1a5605c5ea4c5bddbe423bb69e6237e7a359fcc58469a86c503c934ce4491b98fdd673130d419cabe09acab7e201592f923ffe3908568b2b0888ae32a SHA512 5cf2f2d70bdba893fd33bf3ca91940c7eded5ed1728b517ff3fc46cbde58bf64f16da4104138b20dcea1d9a1cec730e532bc4938cdcba4ad86343e51a1c3c513

diff --git a/dev-libs/libfido2/files/libfido2-1.4.0-cmakelists.patch b/dev-libs/libfido2/files/libfido2-1.4.0-cmakelists.patch
new file mode 100644
index 00000000000..df34a85dacc
--- /dev/null
+++ b/dev-libs/libfido2/files/libfido2-1.4.0-cmakelists.patch
@@ -0,0 +1,34 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 0bb2e87..4d0ed00 100644
+--- 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")
+diff --git a/man/CMakeLists.txt b/man/CMakeLists.txt
+index 44e4a96..d04dacc 100644
+--- a/man/CMakeLists.txt
++++ b/man/CMakeLists.txt
+@@ -5,11 +5,6 @@
+ find_program(MANDOC_PATH mandoc)
+ message(STATUS "MANDOC_PATH: ${MANDOC_PATH}")
+
+-if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR CMAKE_SYSTEM_NAME STREQUAL "Linux")
+-	find_program(GZIP_PATH gzip)
+-	message(STATUS "GZIP_PATH: ${GZIP_PATH}")
+-endif()
+-
+ list(APPEND MAN_SOURCES
+ 	eddsa_pk_new.3
+ 	es256_pk_new.3

diff --git a/dev-libs/libfido2/libfido2-1.4.0.ebuild b/dev-libs/libfido2/libfido2-1.4.0.ebuild
new file mode 100644
index 00000000000..41493d5b2f7
--- /dev/null
+++ b/dev-libs/libfido2/libfido2-1.4.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-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 ~arm ~ppc ~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.4.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
+}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libfido2/, dev-libs/libfido2/files/
@ 2020-09-02 22:27 Thomas Deutschmann
  0 siblings, 0 replies; 6+ messages in thread
From: Thomas Deutschmann @ 2020-09-02 22:27 UTC (permalink / raw
  To: gentoo-commits

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
+}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libfido2/, dev-libs/libfido2/files/
@ 2020-12-23  4:59 Lars Wendler
  0 siblings, 0 replies; 6+ messages in thread
From: Lars Wendler @ 2020-12-23  4:59 UTC (permalink / raw
  To: gentoo-commits

commit:     f0084794f2277af3ed49508bbc58ef2a2a46754f
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 23 04:59:28 2020 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Dec 23 04:59:34 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0084794

dev-libs/libfido2: Removed old

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 dev-libs/libfido2/Manifest                         |  2 -
 .../libfido2/files/libfido2-1.3.0-cmakelists.patch | 38 -----------------
 .../libfido2/files/libfido2-1.3.1-no-werror.patch  | 18 ---------
 .../libfido2/files/libfido2-1.4.0-cmakelists.patch | 34 ----------------
 dev-libs/libfido2/libfido2-1.3.1.ebuild            | 47 ----------------------
 dev-libs/libfido2/libfido2-1.4.0.ebuild            | 46 ---------------------
 6 files changed, 185 deletions(-)

diff --git a/dev-libs/libfido2/Manifest b/dev-libs/libfido2/Manifest
index e56671d527a..364924cc4ac 100644
--- a/dev-libs/libfido2/Manifest
+++ b/dev-libs/libfido2/Manifest
@@ -1,4 +1,2 @@
-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/files/libfido2-1.3.0-cmakelists.patch b/dev-libs/libfido2/files/libfido2-1.3.0-cmakelists.patch
deleted file mode 100644
index a5a4b721ed0..00000000000
--- a/dev-libs/libfido2/files/libfido2-1.3.0-cmakelists.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-diff --git a/man/CMakeLists.txt b/man/CMakeLists.txt
-index 71bc502..ac424d2 100644
---- a/man/CMakeLists.txt
-+++ b/man/CMakeLists.txt
-@@ -2,11 +2,12 @@
- # Use of this source code is governed by a BSD-style
- # license that can be found in the LICENSE file.
- 
-+include(GNUInstallDirs)
-+
- find_program(MANDOC_PATH mandoc)
- message(STATUS "MANDOC_PATH: ${MANDOC_PATH}")
- 
- if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
--	find_program(GZIP_PATH gzip)
- 	message(STATUS "GZIP_PATH: ${GZIP_PATH}")
- endif()
- 
-@@ -301,16 +302,16 @@ elseif(NOT MSVC)
- 	foreach(f ${MAN_SOURCES})
- 		if (${f} MATCHES ".1$")
- 			install(FILES ${CMAKE_BINARY_DIR}/man/${f}
--				DESTINATION "${CMAKE_INSTALL_PREFIX}/man/man1")
-+				DESTINATION "${CMAKE_INSTALL_MANDIR}/man1")
- 		elseif(${f} MATCHES ".3$")
- 			install(FILES ${CMAKE_BINARY_DIR}/man/${f}
--				DESTINATION "${CMAKE_INSTALL_PREFIX}/man/man3")
-+				DESTINATION "${CMAKE_INSTALL_MANDIR}/man3")
- 		endif()
- 	endforeach()
- 	foreach(i RANGE 0 ${MAN_ALIAS_MAX} 2)
- 		math(EXPR j "${i} + 1")
- 		list(GET MAN_ALIAS ${j} DST)
- 		install(FILES ${CMAKE_BINARY_DIR}/man/${DST}.3
--			DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man3)
-+			DESTINATION ${CMAKE_INSTALL_MANDIR}/man3)
- 	endforeach()
- endif()

diff --git a/dev-libs/libfido2/files/libfido2-1.3.1-no-werror.patch b/dev-libs/libfido2/files/libfido2-1.3.1-no-werror.patch
deleted file mode 100644
index d2ebc1a54a1..00000000000
--- a/dev-libs/libfido2/files/libfido2-1.3.1-no-werror.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 9481c46..b347fab 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -107,13 +107,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")
- 	set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fstack-protector-all")
- 	set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")
- 

diff --git a/dev-libs/libfido2/files/libfido2-1.4.0-cmakelists.patch b/dev-libs/libfido2/files/libfido2-1.4.0-cmakelists.patch
deleted file mode 100644
index df34a85dacc..00000000000
--- a/dev-libs/libfido2/files/libfido2-1.4.0-cmakelists.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 0bb2e87..4d0ed00 100644
---- 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")
-diff --git a/man/CMakeLists.txt b/man/CMakeLists.txt
-index 44e4a96..d04dacc 100644
---- a/man/CMakeLists.txt
-+++ b/man/CMakeLists.txt
-@@ -5,11 +5,6 @@
- find_program(MANDOC_PATH mandoc)
- message(STATUS "MANDOC_PATH: ${MANDOC_PATH}")
-
--if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR CMAKE_SYSTEM_NAME STREQUAL "Linux")
--	find_program(GZIP_PATH gzip)
--	message(STATUS "GZIP_PATH: ${GZIP_PATH}")
--endif()
--
- list(APPEND MAN_SOURCES
- 	eddsa_pk_new.3
- 	es256_pk_new.3

diff --git a/dev-libs/libfido2/libfido2-1.3.1.ebuild b/dev-libs/libfido2/libfido2-1.3.1.ebuild
deleted file mode 100644
index eb279f392c5..00000000000
--- a/dev-libs/libfido2/libfido2-1.3.1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# 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 ~arm ~ppc ~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"
-	"${FILESDIR}/libfido2-1.3.1-no-werror.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
-}

diff --git a/dev-libs/libfido2/libfido2-1.4.0.ebuild b/dev-libs/libfido2/libfido2-1.4.0.ebuild
deleted file mode 100644
index 8fe49a3ff5f..00000000000
--- a/dev-libs/libfido2/libfido2-1.4.0.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# 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="~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.4.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
-}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libfido2/, dev-libs/libfido2/files/
@ 2022-05-22  3:13 Sam James
  0 siblings, 0 replies; 6+ messages in thread
From: Sam James @ 2022-05-22  3:13 UTC (permalink / raw
  To: gentoo-commits

commit:     389cb12ff05492875fcadfdbfb393735d9034131
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 22 02:22:18 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 22 02:30:11 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=389cb12f

dev-libs/libfido2: add 1.11.0

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/libfido2/Manifest                         |  1 +
 .../files/libfido2-1.11.0-regress-tests.patch      | 81 ++++++++++++++++++++++
 dev-libs/libfido2/libfido2-1.11.0.ebuild           | 52 ++++++++++++++
 3 files changed, 134 insertions(+)

diff --git a/dev-libs/libfido2/Manifest b/dev-libs/libfido2/Manifest
index 096e128e593e..e991ca5f15e5 100644
--- a/dev-libs/libfido2/Manifest
+++ b/dev-libs/libfido2/Manifest
@@ -1,3 +1,4 @@
 DIST libfido2-1.10.0.tar.gz 591372 BLAKE2B a4144ede774b90700f4cb1371b2acdba9d3ca8e6e0d68c5670986a1825635ebeb75f03c930da14a4539a9e075bcc5f7cfde7fbcc05e1fa383902ac6739225789 SHA512 ba03e25d3f42f11cec74dee48c853ae35d03600f24ca06d2b751840408a132290fe22461372ae42ae31419061a63d9908c20a2c0cf3c0c9c8dbc46c34916784f
+DIST libfido2-1.11.0.tar.gz 624148 BLAKE2B ac123145f22260922e1d83653ba5781c5f41b410760f2c26b7cab7cb0871079aed66a8d9747393843738e4c2ed7ba8ba0292075516ef0354fd4328df967b7a6d SHA512 d9644453d67b84ec8385dfb63796adb3eae2d7f7cb47fbb1bcf9ca7f5cce400623738cc3317d629c2f0af630424cb2788217f8c7f20d1b52b7369c729052d572
 DIST libfido2-1.8.0.tar.gz 535947 BLAKE2B 48ca29fc1b582b4c915ce3dac2b3c24b1c71b144681f77f13059a599eb5e38b263442abecacad495e28a6fea63fc98c142a32939bb49a521b6a6a8d4ad0f1ff0 SHA512 dbea52a80068323e9945ef7a6e93ab1438bc4347390fc91694a94669900d4ce4abe95e1b6df90fe8b6b2dde6b5d28d9dc0c6b022c24ccb661f28c30c33417999
 DIST libfido2-1.9.0.tar.gz 576088 BLAKE2B 19d2933178011aebf11b44e12550518937b204a40b781ade565bd2852de6d1bbb88dda90f612e852e4561b7a9db6927df9d0a9f0b4c511208f3ab648b2cf1a9f SHA512 99edf9c52a871ed5dc3ab41ac07ca8a22670e7527c48ed69c096f001651e1e714bc3f1f55e22003cb66670fa4e851095834c2acd0e5b31887fad46bfb9f4b089

diff --git a/dev-libs/libfido2/files/libfido2-1.11.0-regress-tests.patch b/dev-libs/libfido2/files/libfido2-1.11.0-regress-tests.patch
new file mode 100644
index 000000000000..391aae014661
--- /dev/null
+++ b/dev-libs/libfido2/files/libfido2-1.11.0-regress-tests.patch
@@ -0,0 +1,81 @@
+https://github.com/Yubico/libfido2/pull/579
+
+From c359e5dba24ae7b44cc0d61fb7c00e652465853b Mon Sep 17 00:00:00 2001
+From: Silke Hofstra <silke@slxh.eu>
+Date: Fri, 6 May 2022 15:36:02 +0200
+Subject: [PATCH 1/3] regress: link against chosen library
+
+Compile `regress` against `${_FIDO2_LIBRARY}` so it links against
+the shared library when building with `BUILD_STATIC_LIBS=OFF`.
+--- a/regress/CMakeLists.txt
++++ b/regress/CMakeLists.txt
+@@ -6,7 +6,7 @@ add_custom_target(regress)
+ 
+ macro(add_regress_test NAME SOURCES)
+ 	add_executable(${NAME} ${SOURCES})
+-	target_link_libraries(${NAME} fido2)
++	target_link_libraries(${NAME} ${_FIDO2_LIBRARY})
+ 	add_test(${NAME} ${NAME})
+ 	add_dependencies(regress ${NAME})
+ endmacro()
+@@ -17,6 +17,7 @@ if(MSVC AND BUILD_SHARED_LIBS)
+ 		"${CBOR_BIN_DIRS}/${CBOR_LIBRARIES}.dll"
+ 		"${CRYPTO_BIN_DIRS}/${CRYPTO_LIBRARIES}.dll"
+ 		"${ZLIB_BIN_DIRS}/${ZLIB_LIBRARIES}.dll"
++		"$<TARGET_FILE:${_FIDO2_LIBRARY}>"
+ 		"${CMAKE_CURRENT_BINARY_DIR}")
+ endif()
+ 
+
+From a5413255cb0dd4579faf0dda0ce1b3e45db398e9 Mon Sep 17 00:00:00 2001
+From: Silke Hofstra <silke@slxh.eu>
+Date: Mon, 9 May 2022 10:56:29 +0200
+Subject: [PATCH 3/3] regress: run compression test against static lib only
+
+--- a/regress/CMakeLists.txt
++++ b/regress/CMakeLists.txt
+@@ -4,13 +4,22 @@
+ 
+ add_custom_target(regress)
+ 
+-macro(add_regress_test NAME SOURCES)
++macro(add_regress_test_common NAME SOURCES)
+ 	add_executable(${NAME} ${SOURCES})
+-	target_link_libraries(${NAME} ${_FIDO2_LIBRARY})
+ 	add_test(${NAME} ${NAME})
+ 	add_dependencies(regress ${NAME})
+ endmacro()
+ 
++macro(add_regress_test NAME SOURCES)
++	add_regress_test_common(${NAME} ${SOURCES})
++	target_link_libraries(${NAME} ${_FIDO2_LIBRARY})
++endmacro()
++
++macro(add_regress_static_test NAME SOURCES)
++	add_regress_test_common(${NAME} ${SOURCES})
++	target_link_libraries(${NAME} fido2)
++endmacro()
++
+ if(MSVC AND BUILD_SHARED_LIBS)
+ 	add_custom_command(TARGET regress POST_BUILD
+ 	    COMMAND "${CMAKE_COMMAND}" -E copy
+@@ -33,13 +42,17 @@ else()
+ endif()
+ 
+ add_regress_test(regress_assert assert.c)
+-add_regress_test(regress_compress compress.c)
+ add_regress_test(regress_cred cred.c)
+ add_regress_test(regress_dev dev.c)
+ add_regress_test(regress_eddsa eddsa.c)
+ add_regress_test(regress_es256 es256.c)
+ add_regress_test(regress_rs256 rs256.c)
+ 
++# Run these tests only against the static library
++if(BUILD_STATIC_LIBS)
++	add_regress_static_test(regress_compress compress.c)
++endif()
++
+ if(MINGW)
+ 	# needed for nanosleep() in mingw
+ 	target_link_libraries(regress_dev winpthread)
+

diff --git a/dev-libs/libfido2/libfido2-1.11.0.ebuild b/dev-libs/libfido2/libfido2-1.11.0.ebuild
new file mode 100644
index 000000000000..2f930f13714a
--- /dev/null
+++ b/dev-libs/libfido2/libfido2-1.11.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2022 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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="nfc static-libs"
+
+DEPEND="dev-libs/libcbor:=
+	dev-libs/openssl:=
+	sys-libs/zlib:=
+	virtual/libudev:="
+RDEPEND="${DEPEND}
+	acct-group/plugdev"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.7.0-cmakelists.patch
+	"${FILESDIR}"/${PN}-1.11.0-regress-tests.patch
+)
+
+pkg_pretend() {
+	CONFIG_CHECK="
+		~USB_HID
+		~HIDRAW
+	"
+
+	check_extra_config
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DBUILD_EXAMPLES=OFF
+		-DBUILD_STATIC_LIBS=$(usex static-libs ON OFF)
+		-DNFC_LINUX=$(usex nfc ON OFF)
+	)
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	udev_newrules udev/70-u2f.rules 70-libfido2-u2f.rules
+}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libfido2/, dev-libs/libfido2/files/
@ 2023-05-14 19:47 David Seifert
  0 siblings, 0 replies; 6+ messages in thread
From: David Seifert @ 2023-05-14 19:47 UTC (permalink / raw
  To: gentoo-commits

commit:     d5ab7fdfe25e524d9e6fc0aa3de584e68c6b74eb
Author:     Henning Schild <henning <AT> hennsch <DOT> de>
AuthorDate: Sun May 14 19:46:40 2023 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun May 14 19:46:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5ab7fdf

dev-libs/libfido2: drop 1.11.0

Closes: https://github.com/gentoo/gentoo/pull/30445
Closes: https://bugs.gentoo.org/855878
Signed-off-by: Henning Schild <henning <AT> hennsch.de>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 dev-libs/libfido2/Manifest                         |  1 -
 .../files/libfido2-1.11.0-regress-tests.patch      | 81 ----------------------
 .../libfido2/files/libfido2-1.7.0-cmakelists.patch | 30 --------
 dev-libs/libfido2/libfido2-1.11.0.ebuild           | 56 ---------------
 4 files changed, 168 deletions(-)

diff --git a/dev-libs/libfido2/Manifest b/dev-libs/libfido2/Manifest
index d1cd71eea9a5..31a3d15898e3 100644
--- a/dev-libs/libfido2/Manifest
+++ b/dev-libs/libfido2/Manifest
@@ -1,3 +1,2 @@
-DIST libfido2-1.11.0.tar.gz 624148 BLAKE2B ac123145f22260922e1d83653ba5781c5f41b410760f2c26b7cab7cb0871079aed66a8d9747393843738e4c2ed7ba8ba0292075516ef0354fd4328df967b7a6d SHA512 d9644453d67b84ec8385dfb63796adb3eae2d7f7cb47fbb1bcf9ca7f5cce400623738cc3317d629c2f0af630424cb2788217f8c7f20d1b52b7369c729052d572
 DIST libfido2-1.12.0.tar.gz 652326 BLAKE2B e206c9c76e27037c49d3b0e842487b0711559483eb9ae638590bb7175761251c6f60dae6c6dc6cc8b13e49b9f32432ce4368e709b4aacf71f43b760092e3b00d SHA512 ae8c716fe9b2fa52f191c4b3fe61442ba0b7a364a23c6c3a29afdba4f47c5eff89cb1d6c9fcacaefd7d4ebce641d35600527ee33934786c2096ac97f78e9418f
 DIST libfido2-1.13.0.tar.gz 652777 BLAKE2B 506e0ecf89825e313fbcb0de59ef0b1a3aab483013f959b391448da0600979780ae76807639231ab8a60eead039471bba707073ec4e259b611d67031ac7713f1 SHA512 90f8452cee4c9cc72241478e697c5c692ccff5ab27752f2f296c3623ee297d1f80a85a359b4d0656c67790084c116aac921894e762eb52d3a79056e5014c03e7

diff --git a/dev-libs/libfido2/files/libfido2-1.11.0-regress-tests.patch b/dev-libs/libfido2/files/libfido2-1.11.0-regress-tests.patch
deleted file mode 100644
index 391aae014661..000000000000
--- a/dev-libs/libfido2/files/libfido2-1.11.0-regress-tests.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-https://github.com/Yubico/libfido2/pull/579
-
-From c359e5dba24ae7b44cc0d61fb7c00e652465853b Mon Sep 17 00:00:00 2001
-From: Silke Hofstra <silke@slxh.eu>
-Date: Fri, 6 May 2022 15:36:02 +0200
-Subject: [PATCH 1/3] regress: link against chosen library
-
-Compile `regress` against `${_FIDO2_LIBRARY}` so it links against
-the shared library when building with `BUILD_STATIC_LIBS=OFF`.
---- a/regress/CMakeLists.txt
-+++ b/regress/CMakeLists.txt
-@@ -6,7 +6,7 @@ add_custom_target(regress)
- 
- macro(add_regress_test NAME SOURCES)
- 	add_executable(${NAME} ${SOURCES})
--	target_link_libraries(${NAME} fido2)
-+	target_link_libraries(${NAME} ${_FIDO2_LIBRARY})
- 	add_test(${NAME} ${NAME})
- 	add_dependencies(regress ${NAME})
- endmacro()
-@@ -17,6 +17,7 @@ if(MSVC AND BUILD_SHARED_LIBS)
- 		"${CBOR_BIN_DIRS}/${CBOR_LIBRARIES}.dll"
- 		"${CRYPTO_BIN_DIRS}/${CRYPTO_LIBRARIES}.dll"
- 		"${ZLIB_BIN_DIRS}/${ZLIB_LIBRARIES}.dll"
-+		"$<TARGET_FILE:${_FIDO2_LIBRARY}>"
- 		"${CMAKE_CURRENT_BINARY_DIR}")
- endif()
- 
-
-From a5413255cb0dd4579faf0dda0ce1b3e45db398e9 Mon Sep 17 00:00:00 2001
-From: Silke Hofstra <silke@slxh.eu>
-Date: Mon, 9 May 2022 10:56:29 +0200
-Subject: [PATCH 3/3] regress: run compression test against static lib only
-
---- a/regress/CMakeLists.txt
-+++ b/regress/CMakeLists.txt
-@@ -4,13 +4,22 @@
- 
- add_custom_target(regress)
- 
--macro(add_regress_test NAME SOURCES)
-+macro(add_regress_test_common NAME SOURCES)
- 	add_executable(${NAME} ${SOURCES})
--	target_link_libraries(${NAME} ${_FIDO2_LIBRARY})
- 	add_test(${NAME} ${NAME})
- 	add_dependencies(regress ${NAME})
- endmacro()
- 
-+macro(add_regress_test NAME SOURCES)
-+	add_regress_test_common(${NAME} ${SOURCES})
-+	target_link_libraries(${NAME} ${_FIDO2_LIBRARY})
-+endmacro()
-+
-+macro(add_regress_static_test NAME SOURCES)
-+	add_regress_test_common(${NAME} ${SOURCES})
-+	target_link_libraries(${NAME} fido2)
-+endmacro()
-+
- if(MSVC AND BUILD_SHARED_LIBS)
- 	add_custom_command(TARGET regress POST_BUILD
- 	    COMMAND "${CMAKE_COMMAND}" -E copy
-@@ -33,13 +42,17 @@ else()
- endif()
- 
- add_regress_test(regress_assert assert.c)
--add_regress_test(regress_compress compress.c)
- add_regress_test(regress_cred cred.c)
- add_regress_test(regress_dev dev.c)
- add_regress_test(regress_eddsa eddsa.c)
- add_regress_test(regress_es256 es256.c)
- add_regress_test(regress_rs256 rs256.c)
- 
-+# Run these tests only against the static library
-+if(BUILD_STATIC_LIBS)
-+	add_regress_static_test(regress_compress compress.c)
-+endif()
-+
- if(MINGW)
- 	# needed for nanosleep() in mingw
- 	target_link_libraries(regress_dev winpthread)
-

diff --git a/dev-libs/libfido2/files/libfido2-1.7.0-cmakelists.patch b/dev-libs/libfido2/files/libfido2-1.7.0-cmakelists.patch
deleted file mode 100644
index 2a1bfc1614db..000000000000
--- a/dev-libs/libfido2/files/libfido2-1.7.0-cmakelists.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- libfido2-1.7.0/CMakeLists.txt
-+++ libfido2-1.7.0/CMakeLists.txt
-@@ -246,14 +246,12 @@
- 
- 	add_compile_options(-Wall)
- 	add_compile_options(-Wextra)
--	add_compile_options(-Werror)
- 	add_compile_options(-Wshadow)
- 	add_compile_options(-Wcast-qual)
- 	add_compile_options(-Wwrite-strings)
- 	add_compile_options(-Wmissing-prototypes)
- 	add_compile_options(-Wbad-function-cast)
- 	add_compile_options(-pedantic)
--	add_compile_options(-pedantic-errors)
- 
- 	if(HAVE_SHORTEN_64_TO_32)
- 		add_compile_options(-Wshorten-64-to-32)
---- libfido2-1.7.0/man/CMakeLists.txt
-+++ libfido2-1.7.0/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.11.0.ebuild b/dev-libs/libfido2/libfido2-1.11.0.ebuild
deleted file mode 100644
index 34f4ead4ef7b..000000000000
--- a/dev-libs/libfido2/libfido2-1.11.0.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 2022 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 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
-IUSE="nfc static-libs"
-
-DEPEND="dev-libs/libcbor:=
-	dev-libs/openssl:=
-	sys-libs/zlib:=
-	virtual/libudev:="
-RDEPEND="${DEPEND}
-	acct-group/plugdev"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-1.7.0-cmakelists.patch
-	"${FILESDIR}"/${PN}-1.11.0-regress-tests.patch
-)
-
-pkg_pretend() {
-	CONFIG_CHECK="
-		~USB_HID
-		~HIDRAW
-	"
-
-	check_extra_config
-}
-
-src_configure() {
-	local mycmakeargs=(
-		-DBUILD_EXAMPLES=OFF
-		-DBUILD_STATIC_LIBS=$(usex static-libs ON OFF)
-		-DNFC_LINUX=$(usex nfc ON OFF)
-	)
-
-	cmake_src_configure
-}
-
-src_install() {
-	cmake_src_install
-
-	udev_newrules udev/70-u2f.rules 70-libfido2-u2f.rules
-}
-
-pkg_postinst() {
-	udev_reload
-}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-05-14 19:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-14 19:47 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libfido2/, dev-libs/libfido2/files/ David Seifert
  -- strict thread matches above, loose matches on Subject: below --
2022-05-22  3:13 Sam James
2020-12-23  4:59 Lars Wendler
2020-09-02 22:27 Thomas Deutschmann
2020-04-17 22:18 Patrick McLean
2020-04-17 22:18 Patrick McLean

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox