1 |
commit: c9abbcb28ad53761684c9ef4e10d6ef1af89fb73 |
2 |
Author: Christopher Byrne <salah.coronya <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Jun 27 18:58:56 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 28 18:15:39 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9abbcb2 |
7 |
|
8 |
app-crypt/tpm2-tss: Drop old versions |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/26096 |
11 |
Signed-off-by: Christopher Byrne <salah.coronya <AT> gmail.com> |
12 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
13 |
|
14 |
app-crypt/tpm2-tss/Manifest | 2 - |
15 |
app-crypt/tpm2-tss/tpm2-tss-3.1.0.ebuild | 76 ---------------------- |
16 |
app-crypt/tpm2-tss/tpm2-tss-3.1.1.ebuild | 98 ----------------------------- |
17 |
app-crypt/tpm2-tss/tpm2-tss-3.2.0-r2.ebuild | 94 --------------------------- |
18 |
4 files changed, 270 deletions(-) |
19 |
|
20 |
diff --git a/app-crypt/tpm2-tss/Manifest b/app-crypt/tpm2-tss/Manifest |
21 |
index 592678f3b00a..fbe1511216da 100644 |
22 |
--- a/app-crypt/tpm2-tss/Manifest |
23 |
+++ b/app-crypt/tpm2-tss/Manifest |
24 |
@@ -1,3 +1 @@ |
25 |
-DIST tpm2-tss-3.1.0.tar.gz 1584690 BLAKE2B cee2807a030b8bab653045cb11dfc7a6a3f7b1e60c1ce4650ba5f0549f29f36ff307e7d53fb5ef9c950b4dae720bdaf35f7cd1e59ebc07b3f16740035e1d5738 SHA512 8967f172c92f1e3e5ba324dbe8afe07bf1bc7179dd755cef9812105f32634f312ee7cc7dfe8e13af69dc219432463f5dc9b93477743de47aba6af1d70b252405 |
26 |
-DIST tpm2-tss-3.1.1.tar.gz 1592495 BLAKE2B 0f021516700ca14a1c987d7078f1402eb2a6e2f7fc325df3ace3bd9104fe5a2211aa335af0b7f05f5e0d8c2038e0033ba498551021fa2fb5947c213813ef8796 SHA512 3010a32be2d41c2f2e06c2b745a18b3f36aaa0aec7568361902deed26779e8f76c84076ceb2a9447df8194cfc9d3b50116b7311d51d83d63037dbdca60c1384e |
27 |
DIST tpm2-tss-3.2.0.tar.gz 1629211 BLAKE2B a89aa4d89a50bdfb5a9652874d30e2138747bd022049f2be2d0b56e296329d0c41254033ec3a062dbd64fde54a62e952f54446c551e5788231827cd53fae045a SHA512 cabb411f074dfa94919ba914849aac77a0ac2f50622e28a1406cf575369148774748e0e2b7a7c566ec83561a96d4b883bac5a3b1763f4cf48668a0c5d68c0a23 |
28 |
|
29 |
diff --git a/app-crypt/tpm2-tss/tpm2-tss-3.1.0.ebuild b/app-crypt/tpm2-tss/tpm2-tss-3.1.0.ebuild |
30 |
deleted file mode 100644 |
31 |
index ccfb50c8ea47..000000000000 |
32 |
--- a/app-crypt/tpm2-tss/tpm2-tss-3.1.0.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,76 +0,0 @@ |
35 |
-# Copyright 1999-2022 Gentoo Authors |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI=7 |
39 |
- |
40 |
-inherit autotools linux-info tmpfiles udev |
41 |
- |
42 |
-DESCRIPTION="TCG Trusted Platform Module 2.0 Software Stack" |
43 |
-HOMEPAGE="https://github.com/tpm2-software/tpm2-tss" |
44 |
-SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz" |
45 |
- |
46 |
-LICENSE="BSD-2" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="amd64 arm arm64 ppc64 ~riscv x86" |
49 |
-IUSE="doc +fapi +openssl mbedtls static-libs test" |
50 |
- |
51 |
-RESTRICT="!test? ( test )" |
52 |
- |
53 |
-REQUIRED_USE="^^ ( mbedtls openssl ) |
54 |
- fapi? ( openssl !mbedtls )" |
55 |
- |
56 |
-RDEPEND="acct-group/tss |
57 |
- acct-user/tss |
58 |
- fapi? ( dev-libs/json-c |
59 |
- net-misc/curl ) |
60 |
- mbedtls? ( net-libs/mbedtls:= ) |
61 |
- openssl? ( dev-libs/openssl:= )" |
62 |
-DEPEND="${RDEPEND} |
63 |
- test? ( dev-util/cmocka )" |
64 |
-BDEPEND="sys-apps/acl |
65 |
- virtual/pkgconfig |
66 |
- doc? ( app-doc/doxygen )" |
67 |
- |
68 |
-PATCHES=( |
69 |
- "${FILESDIR}/${PN}-3.1.0-Dont-run-systemd-sysusers-in-Makefile.patch" |
70 |
-) |
71 |
- |
72 |
-pkg_setup() { |
73 |
- local CONFIG_CHECK=" \ |
74 |
- ~TCG_TPM |
75 |
- " |
76 |
- linux-info_pkg_setup |
77 |
- kernel_is ge 4 12 0 || ewarn "At least kernel 4.12.0 is required" |
78 |
-} |
79 |
- |
80 |
-src_prepare() { |
81 |
- default |
82 |
- eautoreconf |
83 |
-} |
84 |
- |
85 |
-src_configure() { |
86 |
- econf \ |
87 |
- --localstatedir=/var \ |
88 |
- $(use_enable doc doxygen-doc) \ |
89 |
- $(use_enable fapi) \ |
90 |
- $(use_enable static-libs static) \ |
91 |
- $(use_enable test unit) \ |
92 |
- --disable-tcti-mssim \ |
93 |
- --disable-defaultflags \ |
94 |
- --disable-weakcrypto \ |
95 |
- --with-crypto="$(usex mbedtls mbed ossl)" \ |
96 |
- --with-runstatedir=/run \ |
97 |
- --with-udevrulesdir="$(get_udevdir)/rules.d" \ |
98 |
- --with-udevrulesprefix=60- \ |
99 |
- --with-sysusersdir="/usr/lib/sysusers.d" \ |
100 |
- --with-tmpfilesdir="/usr/lib/tmpfiles.d" |
101 |
-} |
102 |
- |
103 |
-src_install() { |
104 |
- default |
105 |
- find "${D}" -name '*.la' -delete || die |
106 |
-} |
107 |
- |
108 |
-pkg_postinst() { |
109 |
- tmpfiles_process tpm2-tss-fapi.conf |
110 |
-} |
111 |
|
112 |
diff --git a/app-crypt/tpm2-tss/tpm2-tss-3.1.1.ebuild b/app-crypt/tpm2-tss/tpm2-tss-3.1.1.ebuild |
113 |
deleted file mode 100644 |
114 |
index a50da474ff7d..000000000000 |
115 |
--- a/app-crypt/tpm2-tss/tpm2-tss-3.1.1.ebuild |
116 |
+++ /dev/null |
117 |
@@ -1,98 +0,0 @@ |
118 |
-# Copyright 1999-2022 Gentoo Authors |
119 |
-# Distributed under the terms of the GNU General Public License v2 |
120 |
- |
121 |
-EAPI=7 |
122 |
- |
123 |
-inherit autotools linux-info multilib-minimal tmpfiles udev |
124 |
- |
125 |
-DESCRIPTION="TCG Trusted Platform Module 2.0 Software Stack" |
126 |
-HOMEPAGE="https://github.com/tpm2-software/tpm2-tss" |
127 |
-SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz" |
128 |
- |
129 |
-LICENSE="BSD-2" |
130 |
-SLOT="0/3" |
131 |
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" |
132 |
-IUSE="doc +fapi +openssl mbedtls static-libs test" |
133 |
- |
134 |
-RESTRICT="!test? ( test )" |
135 |
- |
136 |
-REQUIRED_USE="^^ ( mbedtls openssl ) |
137 |
- fapi? ( openssl !mbedtls )" |
138 |
- |
139 |
-RDEPEND="acct-group/tss |
140 |
- acct-user/tss |
141 |
- fapi? ( dev-libs/json-c:=[${MULTILIB_USEDEP}] |
142 |
- net-misc/curl[${MULTILIB_USEDEP}] ) |
143 |
- mbedtls? ( net-libs/mbedtls:=[${MULTILIB_USEDEP}] ) |
144 |
- openssl? ( dev-libs/openssl:=[${MULTILIB_USEDEP}] )" |
145 |
- |
146 |
-DEPEND="${RDEPEND} |
147 |
- test? ( app-crypt/swtpm |
148 |
- dev-libs/uthash |
149 |
- dev-util/cmocka |
150 |
- fapi? ( net-misc/curl ) )" |
151 |
-BDEPEND="sys-apps/acl |
152 |
- virtual/pkgconfig |
153 |
- doc? ( app-doc/doxygen )" |
154 |
- |
155 |
-PATCHES=( |
156 |
- "${FILESDIR}/${PN}-3.1.0-Dont-run-systemd-sysusers-in-Makefile.patch" |
157 |
-) |
158 |
- |
159 |
-pkg_setup() { |
160 |
- local CONFIG_CHECK=" \ |
161 |
- ~TCG_TPM |
162 |
- " |
163 |
- linux-info_pkg_setup |
164 |
- kernel_is ge 4 12 0 || ewarn "At least kernel 4.12.0 is required" |
165 |
-} |
166 |
- |
167 |
-src_prepare() { |
168 |
- default |
169 |
- |
170 |
- # See bug #833887 (and similar); eautoreconf means .pc file gets wrong version. |
171 |
- sed -i \ |
172 |
- "s/m4_esyscmd_s(\[git describe --tags --always --dirty\])/${PV}/" \ |
173 |
- "configure.ac" || die |
174 |
- |
175 |
- eautoreconf |
176 |
-} |
177 |
- |
178 |
-multilib_src_configure() { |
179 |
- ECONF_SOURCE=${S} econf \ |
180 |
- --localstatedir=/var \ |
181 |
- $(use_enable doc doxygen-doc) \ |
182 |
- $(use_enable fapi) \ |
183 |
- $(use_enable static-libs static) \ |
184 |
- $(multilib_native_use_enable test unit) \ |
185 |
- $(multilib_native_use_enable test integration) \ |
186 |
- $(multilib_native_use_enable test self-generated-certificate) \ |
187 |
- --disable-defaultflags \ |
188 |
- --disable-weakcrypto \ |
189 |
- --with-crypto="$(usex mbedtls mbed ossl)" \ |
190 |
- --with-runstatedir=/run \ |
191 |
- --with-udevrulesdir="$(get_udevdir)/rules.d" \ |
192 |
- --with-udevrulesprefix=60- \ |
193 |
- --with-sysusersdir="/usr/lib/sysusers.d" \ |
194 |
- --with-tmpfilesdir="/usr/lib/tmpfiles.d" |
195 |
-} |
196 |
- |
197 |
-multilib_src_install() { |
198 |
- default |
199 |
- |
200 |
- if [[ ${PV} != $(sed -n -e 's/^Version: //p' "${ED}/usr/$(get_libdir)/pkgconfig/tss2-sys.pc" || die) ]] ; then |
201 |
- # Safeguard for bug #833887 |
202 |
- die "pkg-config file version doesn't match ${PV}! Please report a bug!" |
203 |
- fi |
204 |
- |
205 |
- find "${D}" -name '*.la' -delete || die |
206 |
-} |
207 |
- |
208 |
-pkg_postinst() { |
209 |
- tmpfiles_process tpm2-tss-fapi.conf |
210 |
- udev_reload |
211 |
-} |
212 |
- |
213 |
-pkg_postrm() { |
214 |
- udev_reload |
215 |
-} |
216 |
|
217 |
diff --git a/app-crypt/tpm2-tss/tpm2-tss-3.2.0-r2.ebuild b/app-crypt/tpm2-tss/tpm2-tss-3.2.0-r2.ebuild |
218 |
deleted file mode 100644 |
219 |
index 63cf9eb2a511..000000000000 |
220 |
--- a/app-crypt/tpm2-tss/tpm2-tss-3.2.0-r2.ebuild |
221 |
+++ /dev/null |
222 |
@@ -1,94 +0,0 @@ |
223 |
-# Copyright 1999-2022 Gentoo Authors |
224 |
-# Distributed under the terms of the GNU General Public License v2 |
225 |
- |
226 |
-EAPI=7 |
227 |
- |
228 |
-inherit autotools linux-info multilib-minimal tmpfiles udev |
229 |
- |
230 |
-DESCRIPTION="TCG Trusted Platform Module 2.0 Software Stack" |
231 |
-HOMEPAGE="https://github.com/tpm2-software/tpm2-tss" |
232 |
-SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz" |
233 |
- |
234 |
-LICENSE="BSD-2" |
235 |
-SLOT="0" |
236 |
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" |
237 |
-IUSE="doc +fapi +openssl mbedtls static-libs test" |
238 |
- |
239 |
-RESTRICT="!test? ( test )" |
240 |
- |
241 |
-REQUIRED_USE="^^ ( mbedtls openssl ) |
242 |
- fapi? ( openssl !mbedtls )" |
243 |
- |
244 |
-RDEPEND="acct-group/tss |
245 |
- acct-user/tss |
246 |
- fapi? ( dev-libs/json-c:=[${MULTILIB_USEDEP}] |
247 |
- >=net-misc/curl-7.80.0[${MULTILIB_USEDEP}] ) |
248 |
- mbedtls? ( net-libs/mbedtls:=[${MULTILIB_USEDEP}] ) |
249 |
- openssl? ( dev-libs/openssl:=[${MULTILIB_USEDEP}] )" |
250 |
- |
251 |
-DEPEND="${RDEPEND} |
252 |
- test? ( app-crypt/swtpm |
253 |
- dev-libs/uthash |
254 |
- dev-util/cmocka |
255 |
- fapi? ( >=net-misc/curl-7.80.0 ) )" |
256 |
-BDEPEND="sys-apps/acl |
257 |
- virtual/pkgconfig |
258 |
- doc? ( app-doc/doxygen )" |
259 |
- |
260 |
-PATCHES=( |
261 |
- "${FILESDIR}/${PN}-3.1.0-Dont-run-systemd-sysusers-in-Makefile.patch" |
262 |
-) |
263 |
- |
264 |
-pkg_setup() { |
265 |
- local CONFIG_CHECK=" \ |
266 |
- ~TCG_TPM |
267 |
- " |
268 |
- linux-info_pkg_setup |
269 |
- kernel_is ge 4 12 0 || ewarn "At least kernel 4.12.0 is required" |
270 |
-} |
271 |
- |
272 |
-src_prepare() { |
273 |
- default |
274 |
- |
275 |
- # See bug #833887 (and similar); eautoreconf means .pc file gets wrong version. |
276 |
- sed -i \ |
277 |
- "s/m4_esyscmd_s(\[git describe --tags --always --dirty\])/${PV}/" \ |
278 |
- "configure.ac" || die |
279 |
- |
280 |
- eautoreconf |
281 |
-} |
282 |
- |
283 |
-multilib_src_configure() { |
284 |
- ECONF_SOURCE=${S} econf \ |
285 |
- --localstatedir=/var \ |
286 |
- $(use_enable doc doxygen-doc) \ |
287 |
- $(use_enable fapi) \ |
288 |
- $(use_enable static-libs static) \ |
289 |
- $(multilib_native_use_enable test unit) \ |
290 |
- $(multilib_native_use_enable test integration) \ |
291 |
- $(multilib_native_use_enable test self-generated-certificate) \ |
292 |
- --disable-tcti-libtpms \ |
293 |
- --disable-defaultflags \ |
294 |
- --disable-weakcrypto \ |
295 |
- --with-crypto="$(usex mbedtls mbed ossl)" \ |
296 |
- --with-runstatedir=/run \ |
297 |
- --with-udevrulesdir="$(get_udevdir)/rules.d" \ |
298 |
- --with-udevrulesprefix=60- \ |
299 |
- --with-sysusersdir="/usr/lib/sysusers.d" \ |
300 |
- --with-tmpfilesdir="/usr/lib/tmpfiles.d" |
301 |
-} |
302 |
- |
303 |
-multilib_src_install() { |
304 |
- default |
305 |
- |
306 |
- if [[ ${PV} != $(sed -n -e 's/^Version: //p' "${ED}/usr/$(get_libdir)/pkgconfig/tss2-sys.pc" || die) ]] ; then |
307 |
- # Safeguard for bug #833887 |
308 |
- die "pkg-config file version doesn't match ${PV}! Please report a bug!" |
309 |
- fi |
310 |
- |
311 |
- find "${D}" -name '*.la' -delete || die |
312 |
-} |
313 |
- |
314 |
-pkg_postinst() { |
315 |
- tmpfiles_process tpm2-tss-fapi.conf |
316 |
-} |