Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/files/, sys-auth/yubico-piv-tool/
Date: Mon, 26 Sep 2022 01:02:05
Message-Id: 1664154111.49a886b5b1edaf072997429f3664695932e05381.marecki@gentoo
1 commit: 49a886b5b1edaf072997429f3664695932e05381
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 26 00:58:36 2022 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 26 01:01:51 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49a886b5
7
8 sys-auth/yubico-piv-tool: drop 2.2.1
9
10 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
11
12 sys-auth/yubico-piv-tool/Manifest | 1 -
13 .../files/yubico-piv-tool-2.1.1-no-Werror.patch | 11 -----
14 .../files/yubico-piv-tool-2.2.1-openssl3.patch | 32 -------------
15 .../yubico-piv-tool/yubico-piv-tool-2.2.1.ebuild | 53 ----------------------
16 4 files changed, 97 deletions(-)
17
18 diff --git a/sys-auth/yubico-piv-tool/Manifest b/sys-auth/yubico-piv-tool/Manifest
19 index a255bd8c44b4..6ed18642fc2e 100644
20 --- a/sys-auth/yubico-piv-tool/Manifest
21 +++ b/sys-auth/yubico-piv-tool/Manifest
22 @@ -1,2 +1 @@
23 -DIST yubico-piv-tool-2.2.1.tar.gz 1310253 BLAKE2B f5e5d2c351200b2fc57aafdd02a604ee5f15cd8f1a0cb552133a367da2cbf7fe248ec9eba649427b30e8322126be1f9677fd471b38db1f00cda37ccb0ac413c9 SHA512 495a269194d8d9d8957542611959b3fc8e0ae54d1cab5c041f2604590cc740e89e0956b9d595f8a06f138e92b8804def52aae797f199479a81fc1fc3d57bfb96
24 DIST yubico-piv-tool-2.3.0.tar.gz 1329085 BLAKE2B b084982139012b4993a023078fd8ce7c106cb5c1e71475f26398012b86fc65e985a7c51300b3b122884e35327293737ed48b31bfdc83326dda9c9c05f2eb984d SHA512 72125df922e32322563e95286e04d19e56db9c6e66ae9003ae7dfffac47425b8b2bc7c71ecfa603f96f3a24c985fca1f436580dc579ff44196dcde7aeceee7f3
25
26 diff --git a/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.1.1-no-Werror.patch b/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.1.1-no-Werror.patch
27 deleted file mode 100644
28 index a177395bc751..000000000000
29 --- a/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.1.1-no-Werror.patch
30 +++ /dev/null
31 @@ -1,11 +0,0 @@
32 ---- a/CMakeLists.txt
33 -+++ b/CMakeLists.txt
34 -@@ -97,7 +97,7 @@
35 - find_package (PkgConfig REQUIRED)
36 -
37 - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w") # -g -O2
38 -- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror")
39 -+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra")
40 - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wshadow")
41 - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wwrite-strings")
42 - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wmissing-prototypes")
43
44 diff --git a/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.2.1-openssl3.patch b/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.2.1-openssl3.patch
45 deleted file mode 100644
46 index 5ba807ea0c6c..000000000000
47 --- a/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.2.1-openssl3.patch
48 +++ /dev/null
49 @@ -1,32 +0,0 @@
50 -From 81b063f53db8a3d74077522a6ff4f1640cc3fe70 Mon Sep 17 00:00:00 2001
51 -From: Clemens Lang <cal@××××××××.org>
52 -Date: Sun, 14 Nov 2021 18:21:28 +0100
53 -Subject: [PATCH] Avoid header include guard conflict with OpenSSL 3
54 -
55 -OpenSSL 3.x ships an openssl/types.h header that's protected with an
56 -OPENSSL_TYPES_H include guard macro. OpenSSL's headers fail to parse
57 -when ykcs11/openssl_types.h defines this symbol.
58 -
59 -Switch the include guard for the file to YKCS11_OPENSSL_TYPES_H to
60 -prevent this from happening.
61 -
62 -Signed-off-by: Clemens Lang <cal@××××××××.org>
63 ----
64 - ykcs11/openssl_types.h | 4 ++--
65 - 1 file changed, 2 insertions(+), 2 deletions(-)
66 -
67 -diff --git a/ykcs11/openssl_types.h b/ykcs11/openssl_types.h
68 -index c526d815..f3e1a7c0 100644
69 ---- a/ykcs11/openssl_types.h
70 -+++ b/ykcs11/openssl_types.h
71 -@@ -28,8 +28,8 @@
72 - *
73 - */
74 -
75 --#ifndef OPENSSL_TYPES_H
76 --#define OPENSSL_TYPES_H
77 -+#ifndef YKCS11_OPENSSL_TYPES_H
78 -+#define YKCS11_OPENSSL_TYPES_H
79 -
80 - #include <openssl/bn.h>
81 - #include <openssl/x509.h>
82
83 diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.1.ebuild b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.1.ebuild
84 deleted file mode 100644
85 index c50d506fb8d8..000000000000
86 --- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.1.ebuild
87 +++ /dev/null
88 @@ -1,53 +0,0 @@
89 -# Copyright 1999-2021 Gentoo Authors
90 -# Distributed under the terms of the GNU General Public License v2
91 -
92 -EAPI=8
93 -
94 -inherit cmake
95 -
96 -DESCRIPTION="Command-line tool and p11-kit module for the YubiKey PIV application"
97 -HOMEPAGE="https://developers.yubico.com/yubico-piv-tool/ https://github.com/Yubico/yubico-piv-tool"
98 -SRC_URI="https://github.com/Yubico/${PN}/archive/${P}.tar.gz"
99 -
100 -LICENSE="BSD-2"
101 -SLOT="0/2"
102 -KEYWORDS="amd64 ~riscv"
103 -IUSE="test"
104 -
105 -RESTRICT="!test? ( test )"
106 -
107 -RDEPEND="sys-apps/pcsc-lite
108 - dev-libs/openssl:=[-bindist(-)]"
109 -DEPEND="${RDEPEND}
110 - test? ( dev-libs/check )"
111 -BDEPEND="dev-util/gengetopt
112 - sys-apps/help2man
113 - virtual/pkgconfig"
114 -
115 -PATCHES=(
116 - "${FILESDIR}"/${PN}-2.1.1-no-Werror.patch
117 - "${FILESDIR}"/${PN}-2.1.1-tests-optional.patch
118 - "${FILESDIR}"/${PN}-2.1.1-ykcs11-threads.patch
119 - "${FILESDIR}"/${PN}-2.2.1-openssl3.patch
120 -)
121 -
122 -S="${WORKDIR}/${PN}-${P}"
123 -
124 -src_configure() {
125 - # As of 2.2.0, man pages end up in /usr/usr/... without the MANDIR override
126 - local mycmakeargs=(
127 - -DBUILD_STATIC_LIB=OFF
128 - -DBUILD_TESTING=$(usex test)
129 - -DCMAKE_INSTALL_MANDIR="share/man"
130 - )
131 - cmake_src_configure
132 -}
133 -
134 -src_install() {
135 - cmake_src_install
136 -
137 - echo "module: ${EPREFIX}/usr/$(get_libdir)/libykcs11.so" > ${PN}.module \
138 - || die "Failed to generate p11-kit module configuration"
139 - insinto /usr/share/p11-kit/modules
140 - doins ${PN}.module
141 -}