Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libfido2/, dev-libs/libfido2/files/
Date: Wed, 23 Dec 2020 04:59:40
Message-Id: 1608699574.f0084794f2277af3ed49508bbc58ef2a2a46754f.polynomial-c@gentoo
1 commit: f0084794f2277af3ed49508bbc58ef2a2a46754f
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 23 04:59:28 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 23 04:59:34 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0084794
7
8 dev-libs/libfido2: Removed old
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 dev-libs/libfido2/Manifest | 2 -
14 .../libfido2/files/libfido2-1.3.0-cmakelists.patch | 38 -----------------
15 .../libfido2/files/libfido2-1.3.1-no-werror.patch | 18 ---------
16 .../libfido2/files/libfido2-1.4.0-cmakelists.patch | 34 ----------------
17 dev-libs/libfido2/libfido2-1.3.1.ebuild | 47 ----------------------
18 dev-libs/libfido2/libfido2-1.4.0.ebuild | 46 ---------------------
19 6 files changed, 185 deletions(-)
20
21 diff --git a/dev-libs/libfido2/Manifest b/dev-libs/libfido2/Manifest
22 index e56671d527a..364924cc4ac 100644
23 --- a/dev-libs/libfido2/Manifest
24 +++ b/dev-libs/libfido2/Manifest
25 @@ -1,4 +1,2 @@
26 -DIST libfido2-1.3.1.tar.gz 1512676 BLAKE2B f69a04fc69c46b688d83afe9d72b2fb1860ac00a09665d55e25293595520e95d45486ecc5355c479bc8bc06dbe6ed4fd469c511f5bf5f341a0ec86cb099fce28 SHA512 fc56f7bcddd7ae0f950b4e94f08ad726f7de68b975c0bdcbca98c7932c2c3d2e2a51b30eaf41e8dba08e82af3926cbed44264244ae721902af46e47df9fcbe1b
27 -DIST libfido2-1.4.0.tar.gz 391439 BLAKE2B d45ff3e1a5605c5ea4c5bddbe423bb69e6237e7a359fcc58469a86c503c934ce4491b98fdd673130d419cabe09acab7e201592f923ffe3908568b2b0888ae32a SHA512 5cf2f2d70bdba893fd33bf3ca91940c7eded5ed1728b517ff3fc46cbde58bf64f16da4104138b20dcea1d9a1cec730e532bc4938cdcba4ad86343e51a1c3c513
28 DIST libfido2-1.5.0.tar.gz 407259 BLAKE2B 23a04f9230c45652aa1ac9fd8b3e809096ae31699c65ca0fda27b27b1b47263e375bb99e5b1ebc515b9edfb801bb2fba9c4f50d88e755efe3eaa23463ca01946 SHA512 240e2368e43846fddf5e98bbcc247468833565bcde4ec27976b88c814d787f1a477241a82b064818aa0eb0a98ff46a65d80b8243f4d0bbd763270e42492354e2
29 DIST libfido2-1.6.0.tar.gz 413904 BLAKE2B 59444cc9e32b5d9f2a0f9138fe4f3ad644865e1f7f24f50bbace262308aa7c10b58aa0e890a3493e8fd102468e26947f7fc0864b5d7a1e185e40ad730064db8e SHA512 c473732a2f7ef54156097d315e44457d89056446ab3112a7c7a6fd99d5c2c8ae0ca2451ff9cd45be6c32de1ab335d6dfdb2b0c56b40cae9eb41391d18d83be4a
30
31 diff --git a/dev-libs/libfido2/files/libfido2-1.3.0-cmakelists.patch b/dev-libs/libfido2/files/libfido2-1.3.0-cmakelists.patch
32 deleted file mode 100644
33 index a5a4b721ed0..00000000000
34 --- a/dev-libs/libfido2/files/libfido2-1.3.0-cmakelists.patch
35 +++ /dev/null
36 @@ -1,38 +0,0 @@
37 -diff --git a/man/CMakeLists.txt b/man/CMakeLists.txt
38 -index 71bc502..ac424d2 100644
39 ---- a/man/CMakeLists.txt
40 -+++ b/man/CMakeLists.txt
41 -@@ -2,11 +2,12 @@
42 - # Use of this source code is governed by a BSD-style
43 - # license that can be found in the LICENSE file.
44 -
45 -+include(GNUInstallDirs)
46 -+
47 - find_program(MANDOC_PATH mandoc)
48 - message(STATUS "MANDOC_PATH: ${MANDOC_PATH}")
49 -
50 - if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
51 -- find_program(GZIP_PATH gzip)
52 - message(STATUS "GZIP_PATH: ${GZIP_PATH}")
53 - endif()
54 -
55 -@@ -301,16 +302,16 @@ elseif(NOT MSVC)
56 - foreach(f ${MAN_SOURCES})
57 - if (${f} MATCHES ".1$")
58 - install(FILES ${CMAKE_BINARY_DIR}/man/${f}
59 -- DESTINATION "${CMAKE_INSTALL_PREFIX}/man/man1")
60 -+ DESTINATION "${CMAKE_INSTALL_MANDIR}/man1")
61 - elseif(${f} MATCHES ".3$")
62 - install(FILES ${CMAKE_BINARY_DIR}/man/${f}
63 -- DESTINATION "${CMAKE_INSTALL_PREFIX}/man/man3")
64 -+ DESTINATION "${CMAKE_INSTALL_MANDIR}/man3")
65 - endif()
66 - endforeach()
67 - foreach(i RANGE 0 ${MAN_ALIAS_MAX} 2)
68 - math(EXPR j "${i} + 1")
69 - list(GET MAN_ALIAS ${j} DST)
70 - install(FILES ${CMAKE_BINARY_DIR}/man/${DST}.3
71 -- DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man3)
72 -+ DESTINATION ${CMAKE_INSTALL_MANDIR}/man3)
73 - endforeach()
74 - endif()
75
76 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
77 deleted file mode 100644
78 index d2ebc1a54a1..00000000000
79 --- a/dev-libs/libfido2/files/libfido2-1.3.1-no-werror.patch
80 +++ /dev/null
81 @@ -1,18 +0,0 @@
82 -diff --git a/CMakeLists.txt b/CMakeLists.txt
83 -index 9481c46..b347fab 100644
84 ---- a/CMakeLists.txt
85 -+++ b/CMakeLists.txt
86 -@@ -107,13 +107,11 @@ else()
87 -
88 - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
89 - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wextra")
90 -- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror")
91 - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wshadow")
92 - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wwrite-strings")
93 - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wmissing-prototypes")
94 - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wbad-function-cast")
95 - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pedantic")
96 -- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pedantic-errors")
97 - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fstack-protector-all")
98 - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")
99 -
100
101 diff --git a/dev-libs/libfido2/files/libfido2-1.4.0-cmakelists.patch b/dev-libs/libfido2/files/libfido2-1.4.0-cmakelists.patch
102 deleted file mode 100644
103 index df34a85dacc..00000000000
104 --- a/dev-libs/libfido2/files/libfido2-1.4.0-cmakelists.patch
105 +++ /dev/null
106 @@ -1,34 +0,0 @@
107 -diff --git a/CMakeLists.txt b/CMakeLists.txt
108 -index 0bb2e87..4d0ed00 100644
109 ---- a/CMakeLists.txt
110 -+++ b/CMakeLists.txt
111 -@@ -128,13 +128,11 @@ else()
112 -
113 - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
114 - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wextra")
115 -- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror")
116 - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wshadow")
117 - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wwrite-strings")
118 - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wmissing-prototypes")
119 - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wbad-function-cast")
120 - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pedantic")
121 -- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pedantic-errors")
122 - check_c_compiler_flag("-fstack-protector-all" HAVE_STACK_PROTECTOR_ALL)
123 - if(HAVE_STACK_PROTECTOR_ALL)
124 - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fstack-protector-all")
125 -diff --git a/man/CMakeLists.txt b/man/CMakeLists.txt
126 -index 44e4a96..d04dacc 100644
127 ---- a/man/CMakeLists.txt
128 -+++ b/man/CMakeLists.txt
129 -@@ -5,11 +5,6 @@
130 - find_program(MANDOC_PATH mandoc)
131 - message(STATUS "MANDOC_PATH: ${MANDOC_PATH}")
132 -
133 --if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR CMAKE_SYSTEM_NAME STREQUAL "Linux")
134 -- find_program(GZIP_PATH gzip)
135 -- message(STATUS "GZIP_PATH: ${GZIP_PATH}")
136 --endif()
137 --
138 - list(APPEND MAN_SOURCES
139 - eddsa_pk_new.3
140 - es256_pk_new.3
141
142 diff --git a/dev-libs/libfido2/libfido2-1.3.1.ebuild b/dev-libs/libfido2/libfido2-1.3.1.ebuild
143 deleted file mode 100644
144 index eb279f392c5..00000000000
145 --- a/dev-libs/libfido2/libfido2-1.3.1.ebuild
146 +++ /dev/null
147 @@ -1,47 +0,0 @@
148 -# Copyright 2020 Gentoo Authors
149 -# Distributed under the terms of the GNU General Public License v2
150 -
151 -EAPI=7
152 -
153 -inherit cmake-utils udev linux-info
154 -
155 -DESCRIPTION="Provides library functionality for FIDO 2.0"
156 -HOMEPAGE="https://github.com/Yubico/libfido2"
157 -SRC_URI="https://github.com/Yubico/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
158 -
159 -LICENSE="BSD-2"
160 -SLOT="0/1"
161 -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
162 -IUSE="libressl +static-libs"
163 -
164 -DEPEND="
165 - dev-libs/libcbor:=
166 - virtual/libudev:=
167 - !libressl? ( dev-libs/openssl:0= )
168 - libressl? ( dev-libs/libressl:0= )
169 -"
170 -RDEPEND="${DEPEND}"
171 -
172 -PATCHES=(
173 - "${FILESDIR}/libfido2-1.3.0-cmakelists.patch"
174 - "${FILESDIR}/libfido2-1.3.1-no-werror.patch"
175 -)
176 -
177 -pkg_pretend() {
178 - CONFIG_CHECK="
179 - ~USB_HID
180 - ~HIDRAW
181 - "
182 -
183 - check_extra_config
184 -}
185 -
186 -src_install() {
187 - cmake-utils_src_install
188 -
189 - if ! use static-libs; then
190 - rm -f "${D}/$(get_libdir)"/*.a || die
191 - fi
192 -
193 - udev_newrules udev/70-u2f.rules 70-libfido2-u2f.rules
194 -}
195
196 diff --git a/dev-libs/libfido2/libfido2-1.4.0.ebuild b/dev-libs/libfido2/libfido2-1.4.0.ebuild
197 deleted file mode 100644
198 index 8fe49a3ff5f..00000000000
199 --- a/dev-libs/libfido2/libfido2-1.4.0.ebuild
200 +++ /dev/null
201 @@ -1,46 +0,0 @@
202 -# Copyright 2020 Gentoo Authors
203 -# Distributed under the terms of the GNU General Public License v2
204 -
205 -EAPI=7
206 -
207 -inherit cmake-utils udev linux-info
208 -
209 -DESCRIPTION="Provides library functionality for FIDO 2.0"
210 -HOMEPAGE="https://github.com/Yubico/libfido2"
211 -SRC_URI="https://github.com/Yubico/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
212 -
213 -LICENSE="BSD-2"
214 -SLOT="0/1"
215 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
216 -IUSE="libressl +static-libs"
217 -
218 -DEPEND="
219 - dev-libs/libcbor:=
220 - virtual/libudev:=
221 - !libressl? ( dev-libs/openssl:0= )
222 - libressl? ( dev-libs/libressl:0= )
223 -"
224 -RDEPEND="${DEPEND}"
225 -
226 -PATCHES=(
227 - "${FILESDIR}/libfido2-1.4.0-cmakelists.patch"
228 -)
229 -
230 -pkg_pretend() {
231 - CONFIG_CHECK="
232 - ~USB_HID
233 - ~HIDRAW
234 - "
235 -
236 - check_extra_config
237 -}
238 -
239 -src_install() {
240 - cmake-utils_src_install
241 -
242 - if ! use static-libs; then
243 - rm -f "${D}/$(get_libdir)"/*.a || die
244 - fi
245 -
246 - udev_newrules udev/70-u2f.rules 70-libfido2-u2f.rules
247 -}