1 |
commit: 7328d16f90c90b0e6e6d411acbd5d1879a34c786 |
2 |
Author: orbea <orbea <AT> riseup <DOT> net> |
3 |
AuthorDate: Tue Jul 5 07:04:56 2022 +0000 |
4 |
Commit: Quentin Retornaz <gentoo <AT> retornaz <DOT> com> |
5 |
CommitDate: Tue Jul 5 21:18:45 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=7328d16f |
7 |
|
8 |
app-crypt/tpm2-tools: Remove package |
9 |
|
10 |
Works with libressl-3.5.x and tpm2-tools-5.2-r1::gentoo. |
11 |
|
12 |
Signed-off-by: orbea <orbea <AT> riseup.net> |
13 |
Closes: https://github.com/gentoo/libressl/pull/434 |
14 |
Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com> |
15 |
|
16 |
app-crypt/tpm2-tools/Manifest | 2 -- |
17 |
.../files/tpm2-tools-4.2.1-libressl.patch | 26 -------------- |
18 |
.../files/tpm2-tools-4.3.0-Remove-WError.patch | 12 ------- |
19 |
app-crypt/tpm2-tools/metadata.xml | 18 ---------- |
20 |
app-crypt/tpm2-tools/tpm2-tools-4.3.0.ebuild | 40 ---------------------- |
21 |
app-crypt/tpm2-tools/tpm2-tools-5.0.ebuild | 40 ---------------------- |
22 |
6 files changed, 138 deletions(-) |
23 |
|
24 |
diff --git a/app-crypt/tpm2-tools/Manifest b/app-crypt/tpm2-tools/Manifest |
25 |
deleted file mode 100644 |
26 |
index 23b297e..0000000 |
27 |
--- a/app-crypt/tpm2-tools/Manifest |
28 |
+++ /dev/null |
29 |
@@ -1,2 +0,0 @@ |
30 |
-DIST tpm2-tools-4.3.0.tar.gz 881544 BLAKE2B 0415f30845658e84e97a964abebc3082e45fb880c10bec405cd89c7bfa373ace10b669c4af78e7e47f2d2bb62fc7cc34b2e54e392a95c8f9b8956b8c92af6aee SHA512 4e622bbc8642ba7fd93a7343900560fe3779cba03e363d16f391fc8929724a11913d238e3986de06982cbced27c3c2ca8c7e73d75796407b8646c101ccf393a8 |
31 |
-DIST tpm2-tools-5.0.tar.gz 990855 BLAKE2B 5d39bbef0bc6f0d84f37c64c697260343a9f9e134bce015a6b529176195adb907672f35b85382b0a4785e40e368030ac347083086c3799bdfe86dced1ac69848 SHA512 ea57a28a61e28b78cae7067ff58facd8754fafab7a2689fd93f8b3374073b6ac30301a75f8ff5c654800ab469ee6604d0b8a86c310631b9545b816ecaa05968e |
32 |
|
33 |
diff --git a/app-crypt/tpm2-tools/files/tpm2-tools-4.2.1-libressl.patch b/app-crypt/tpm2-tools/files/tpm2-tools-4.2.1-libressl.patch |
34 |
deleted file mode 100644 |
35 |
index 2f39db3..0000000 |
36 |
--- a/app-crypt/tpm2-tools/files/tpm2-tools-4.2.1-libressl.patch |
37 |
+++ /dev/null |
38 |
@@ -1,26 +0,0 @@ |
39 |
-From a1ac2ee0c6592e6f730458c03a2abd1532c66046 Mon Sep 17 00:00:00 2001 |
40 |
-From: Salah Coronya <salah.coronya@×××××.com> |
41 |
-Date: Sun, 12 Jan 2020 19:17:48 -0600 |
42 |
-Subject: [PATCH] lib/tpm2_openssl.c: Fix build for libressl |
43 |
- |
44 |
-Signed-off-by: Salah Coronya <salah.coronya@×××××.com> |
45 |
---- |
46 |
- lib/tpm2_openssl.c | 2 +- |
47 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
48 |
- |
49 |
-diff --git a/lib/tpm2_openssl.c b/lib/tpm2_openssl.c |
50 |
-index 505dd7a0..fd3861d9 100644 |
51 |
---- a/lib/tpm2_openssl.c |
52 |
-+++ b/lib/tpm2_openssl.c |
53 |
-@@ -14,7 +14,7 @@ |
54 |
- #include "tpm2_openssl.h" |
55 |
- |
56 |
- /* compatibility function for OpenSSL versions < 1.1.0 */ |
57 |
--#if OPENSSL_VERSION_NUMBER < 0x10100000L |
58 |
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) |
59 |
- static int BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen) { |
60 |
- int r; |
61 |
- int topad; |
62 |
--- |
63 |
-2.24.1 |
64 |
- |
65 |
|
66 |
diff --git a/app-crypt/tpm2-tools/files/tpm2-tools-4.3.0-Remove-WError.patch b/app-crypt/tpm2-tools/files/tpm2-tools-4.3.0-Remove-WError.patch |
67 |
deleted file mode 100644 |
68 |
index caa3fac..0000000 |
69 |
--- a/app-crypt/tpm2-tools/files/tpm2-tools-4.3.0-Remove-WError.patch |
70 |
+++ /dev/null |
71 |
@@ -1,12 +0,0 @@ |
72 |
-diff --git a/configure.ac b/configure.ac |
73 |
-index 7b5c2196..d07d5433 100644 |
74 |
---- a/configure.ac |
75 |
-+++ b/configure.ac |
76 |
-@@ -210,7 +210,6 @@ AS_IF([test x"$enable_hardening" != x"no"], [ |
77 |
- |
78 |
- add_hardened_c_flag([-Wall]) |
79 |
- add_hardened_c_flag([-Wextra]) |
80 |
-- add_hardened_c_flag([-Werror]) |
81 |
- |
82 |
- add_hardened_c_flag([-Wformat]) |
83 |
- add_hardened_c_flag([-Wformat-security]) |
84 |
|
85 |
diff --git a/app-crypt/tpm2-tools/metadata.xml b/app-crypt/tpm2-tools/metadata.xml |
86 |
deleted file mode 100644 |
87 |
index 26b4dcb..0000000 |
88 |
--- a/app-crypt/tpm2-tools/metadata.xml |
89 |
+++ /dev/null |
90 |
@@ -1,18 +0,0 @@ |
91 |
-<?xml version="1.0" encoding="UTF-8"?> |
92 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
93 |
-<pkgmetadata> |
94 |
- <maintainer type="person"> |
95 |
- <email>salah.coronya@×××××.com</email> |
96 |
- <name>Salah Coronya</name> |
97 |
- </maintainer> |
98 |
- <maintainer type="project"> |
99 |
- <email>proxy-maint@g.o</email> |
100 |
- <name>Proxy Maintainers</name> |
101 |
- </maintainer> |
102 |
- <use> |
103 |
- <flag name="fapi">Enable feature API tools</flag> |
104 |
- </use> |
105 |
- <upstream> |
106 |
- <remote-id type="github">tpm2-software/tpm2-tools</remote-id> |
107 |
- </upstream> |
108 |
-</pkgmetadata> |
109 |
|
110 |
diff --git a/app-crypt/tpm2-tools/tpm2-tools-4.3.0.ebuild b/app-crypt/tpm2-tools/tpm2-tools-4.3.0.ebuild |
111 |
deleted file mode 100644 |
112 |
index cf80d2e..0000000 |
113 |
--- a/app-crypt/tpm2-tools/tpm2-tools-4.3.0.ebuild |
114 |
+++ /dev/null |
115 |
@@ -1,40 +0,0 @@ |
116 |
-# Copyright 1999-2021 Gentoo Authors |
117 |
-# Distributed under the terms of the GNU General Public License v2 |
118 |
- |
119 |
-EAPI=7 |
120 |
- |
121 |
-inherit autotools |
122 |
- |
123 |
-DESCRIPTION="Tools for the TPM 2.0 TSS" |
124 |
-HOMEPAGE="https://github.com/tpm2-software/tpm2-tools" |
125 |
-SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz" |
126 |
- |
127 |
-LICENSE="BSD" |
128 |
-SLOT="0" |
129 |
-KEYWORDS="~amd64" |
130 |
-IUSE="+fapi" |
131 |
- |
132 |
-# Integration test are now run as part of the testing suite, which will fail |
133 |
-# because none of the supported TPM emulators are in Portage. In a future |
134 |
-# version of tpm2-tools, swtpm will be supported and the tests can be run. |
135 |
-RESTRICT="test" |
136 |
- |
137 |
-RDEPEND="net-misc/curl:= |
138 |
- >=app-crypt/tpm2-tss-2.4.0:=[fapi?] |
139 |
- dev-libs/openssl:0=" |
140 |
-DEPEND="${RDEPEND}" |
141 |
-BDEPEND="virtual/pkgconfig" |
142 |
-PATCHES=( |
143 |
- "${FILESDIR}/${PN}-4.2.1-libressl.patch" |
144 |
- "${FILESDIR}/${PN}-4.3.0-Remove-WError.patch" |
145 |
-) |
146 |
- |
147 |
-src_prepare() { |
148 |
- eautoreconf |
149 |
- default |
150 |
-} |
151 |
- |
152 |
-src_configure() { |
153 |
- econf \ |
154 |
- $(use_enable fapi) |
155 |
-} |
156 |
|
157 |
diff --git a/app-crypt/tpm2-tools/tpm2-tools-5.0.ebuild b/app-crypt/tpm2-tools/tpm2-tools-5.0.ebuild |
158 |
deleted file mode 100644 |
159 |
index 7a3ac1d..0000000 |
160 |
--- a/app-crypt/tpm2-tools/tpm2-tools-5.0.ebuild |
161 |
+++ /dev/null |
162 |
@@ -1,40 +0,0 @@ |
163 |
-# Copyright 1999-2021 Gentoo Authors |
164 |
-# Distributed under the terms of the GNU General Public License v2 |
165 |
- |
166 |
-EAPI=7 |
167 |
- |
168 |
-inherit autotools |
169 |
- |
170 |
-DESCRIPTION="Tools for the TPM 2.0 TSS" |
171 |
-HOMEPAGE="https://github.com/tpm2-software/tpm2-tools" |
172 |
-SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz" |
173 |
- |
174 |
-LICENSE="BSD" |
175 |
-SLOT="0" |
176 |
-KEYWORDS="~amd64" |
177 |
-IUSE="+fapi" |
178 |
- |
179 |
-# Integration test are now run as part of the testing suite, which will fail |
180 |
-# because none of the supported TPM emulators are in Portage. In a future |
181 |
-# version of tpm2-tools, swtpm will be supported and the tests can be run. |
182 |
-RESTRICT="test" |
183 |
- |
184 |
-RDEPEND="net-misc/curl:= |
185 |
- >=app-crypt/tpm2-tss-3.0.1:=[fapi?] |
186 |
- dev-libs/openssl:0=" |
187 |
-DEPEND="${RDEPEND}" |
188 |
-BDEPEND="virtual/pkgconfig" |
189 |
-PATCHES=( |
190 |
- "${FILESDIR}/${PN}-4.2.1-libressl.patch" |
191 |
- "${FILESDIR}/${PN}-4.3.0-Remove-WError.patch" |
192 |
-) |
193 |
- |
194 |
-src_prepare() { |
195 |
- eautoreconf |
196 |
- default |
197 |
-} |
198 |
- |
199 |
-src_configure() { |
200 |
- econf \ |
201 |
- $(use_enable fapi) |
202 |
-} |