1 |
commit: fb1e50caef0adf0552e96d7d13e356bee5b8430b |
2 |
Author: Salah Coronya <salah.coronya <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Sep 23 21:04:37 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 11 09:29:56 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb1e50ca |
7 |
|
8 |
app-crypt/tpm2-tss: Remove old |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Salah Coronya <salah.coronya <AT> gmail.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/17648 |
13 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
14 |
|
15 |
app-crypt/tpm2-tss/Manifest | 2 - |
16 |
app-crypt/tpm2-tss/tpm2-tss-2.4.2.ebuild | 77 -------------------------------- |
17 |
app-crypt/tpm2-tss/tpm2-tss-3.0.0.ebuild | 75 ------------------------------- |
18 |
3 files changed, 154 deletions(-) |
19 |
|
20 |
diff --git a/app-crypt/tpm2-tss/Manifest b/app-crypt/tpm2-tss/Manifest |
21 |
index 61e41c91162..3fe1d24f359 100644 |
22 |
--- a/app-crypt/tpm2-tss/Manifest |
23 |
+++ b/app-crypt/tpm2-tss/Manifest |
24 |
@@ -1,5 +1,3 @@ |
25 |
DIST tpm2-tss-2.4.1.tar.gz 1445103 BLAKE2B c7be91b93d19b5afeddb6ec455db9ba06795f8dc76ee2a0c6cbabbd8f623930d7c9fdf6319497c70790445531d1e36fe3f904f4c1f4bc9254d833b6d19280f1f SHA512 51551d63fa404e23664aaad1b247bd4b1f93812ced1aed144c37f28cdb3adb4e696aa9e93a502c8fa0eb7e9b4376ac9377f0537eb4c717b68c0b014fee7a0643 |
26 |
-DIST tpm2-tss-2.4.2.tar.gz 1461987 BLAKE2B 7d37818ba91c4128862206d5179dcde2c5149b5b00807b242a0b4311531ad2da9e8ad435a6b46872aab5eb91777012010a352ba0f478737740175e0353275643 SHA512 db31d216abcefdad76f5d9ff2995c99c552400392a4dec800b962fa1fa3ac83effacca831602a9b7f814045c996a1bb066802c5373b54233aa24ddafd636c27e |
27 |
DIST tpm2-tss-2.4.3.tar.gz 1439120 BLAKE2B 21acce29f96e8039124874c024b43eb8d2c4ffda27db58bb4f34446747c0fa6953c6ca390f8e87d22c1349123bada81051b119eaf7a28c7d1ad8a9195287c312 SHA512 4adaeb2724b720017e9d488f66de879ebdc0dbc2a4f7536493214913a49d2c631e302be26f710f0f45b0d514212cb036ca7ba9715ee13c29dda1d4a61595aa27 |
28 |
-DIST tpm2-tss-3.0.0.tar.gz 1509288 BLAKE2B 23c46ba6c9ea2b61703556d3aab5b4e75b1a0242a688c44e8c254a4defd8258e100a933598755373ffec9db3ca0ab9d35e6a290a73851c2a456449e04bd8313a SHA512 ba54904f2cd8cbcca85ce4d4ac5c8650da6ab076e8d8d142e1b7ee75c5e9a645520f1a5ac8ffe5269deceba84762c9074b131296e8b2d4c684ddc335a828d7a8 |
29 |
DIST tpm2-tss-3.0.1.tar.gz 1488285 BLAKE2B 2ccf123a2e0ff6355d8022402fb2e12932565f345b4b2c9ac68249b5de3ea5851256c38057323b19cb84dfd2ea5b63292b8b8f1bd4d9576d27bd57a35f0250f1 SHA512 206830fecea22c4974a16b5e76599b3c22e077a448f15e2707b260eba6832b2089f9d7c12d3e42daf314cdfbd83309b2b623a7abeb1409234f1930a835365529 |
30 |
|
31 |
diff --git a/app-crypt/tpm2-tss/tpm2-tss-2.4.2.ebuild b/app-crypt/tpm2-tss/tpm2-tss-2.4.2.ebuild |
32 |
deleted file mode 100644 |
33 |
index 6f62e2098b9..00000000000 |
34 |
--- a/app-crypt/tpm2-tss/tpm2-tss-2.4.2.ebuild |
35 |
+++ /dev/null |
36 |
@@ -1,77 +0,0 @@ |
37 |
-# Copyright 1999-2020 Gentoo Authors |
38 |
-# Distributed under the terms of the GNU General Public License v2 |
39 |
- |
40 |
-EAPI=7 |
41 |
- |
42 |
-inherit autotools linux-info tmpfiles udev |
43 |
- |
44 |
-DESCRIPTION="TCG Trusted Platform Module 2.0 Software Stack" |
45 |
-HOMEPAGE="https://github.com/tpm2-software/tpm2-tss" |
46 |
-SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz" |
47 |
- |
48 |
-LICENSE="BSD-2" |
49 |
-SLOT="0" |
50 |
-KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
51 |
-IUSE="doc +fapi gcrypt +openssl static-libs test" |
52 |
- |
53 |
-RESTRICT="!test? ( test )" |
54 |
- |
55 |
-REQUIRED_USE="^^ ( gcrypt openssl ) |
56 |
- fapi? ( openssl !gcrypt )" |
57 |
- |
58 |
-RDEPEND="acct-group/tss |
59 |
- acct-user/tss |
60 |
- fapi? ( |
61 |
- dev-libs/json-c |
62 |
- net-misc/curl |
63 |
- ) |
64 |
- gcrypt? ( dev-libs/libgcrypt:0= ) |
65 |
- openssl? ( dev-libs/openssl:0= )" |
66 |
-DEPEND="${RDEPEND} |
67 |
- test? ( dev-util/cmocka )" |
68 |
-BDEPEND="virtual/pkgconfig |
69 |
- doc? ( app-doc/doxygen )" |
70 |
- |
71 |
-PATCHES=( |
72 |
- "${FILESDIR}/${P}-Dont-run-systemd-sysusers-in-Makefile.patch" |
73 |
-) |
74 |
- |
75 |
-pkg_setup() { |
76 |
- local CONFIG_CHECK=" \ |
77 |
- ~TCG_TPM |
78 |
- " |
79 |
- linux-info_pkg_setup |
80 |
- kernel_is ge 4 12 0 || ewarn "At least kernel 4.12.0 is required" |
81 |
-} |
82 |
- |
83 |
-src_prepare() { |
84 |
- default |
85 |
- eautoreconf |
86 |
-} |
87 |
- |
88 |
-src_configure() { |
89 |
- econf \ |
90 |
- --localstatedir=/var \ |
91 |
- $(use_enable doc doxygen-doc) \ |
92 |
- $(use_enable fapi) \ |
93 |
- $(use_enable static-libs static) \ |
94 |
- $(use_enable test unit) \ |
95 |
- --disable-tcti-mssim \ |
96 |
- --disable-defaultflags \ |
97 |
- --disable-weakcrypto \ |
98 |
- --with-crypto="$(usex gcrypt gcrypt ossl)" \ |
99 |
- --with-runstatedir=/run \ |
100 |
- --with-udevrulesdir="$(get_udevdir)/rules.d" \ |
101 |
- --with-udevrulesprefix=60- \ |
102 |
- --with-sysusersdir="/usr/lib/sysusers.d" \ |
103 |
- --with-tmpfilesdir="/usr/lib/tmpfiles.d" |
104 |
-} |
105 |
- |
106 |
-src_install() { |
107 |
- default |
108 |
- find "${D}" -name '*.la' -delete || die |
109 |
-} |
110 |
- |
111 |
-pkg_postinst() { |
112 |
- tmpfiles_process tpm2-tss-fapi.conf |
113 |
-} |
114 |
|
115 |
diff --git a/app-crypt/tpm2-tss/tpm2-tss-3.0.0.ebuild b/app-crypt/tpm2-tss/tpm2-tss-3.0.0.ebuild |
116 |
deleted file mode 100644 |
117 |
index b746508251c..00000000000 |
118 |
--- a/app-crypt/tpm2-tss/tpm2-tss-3.0.0.ebuild |
119 |
+++ /dev/null |
120 |
@@ -1,75 +0,0 @@ |
121 |
-# Copyright 1999-2020 Gentoo Authors |
122 |
-# Distributed under the terms of the GNU General Public License v2 |
123 |
- |
124 |
-EAPI=7 |
125 |
- |
126 |
-inherit autotools linux-info tmpfiles udev |
127 |
- |
128 |
-DESCRIPTION="TCG Trusted Platform Module 2.0 Software Stack" |
129 |
-HOMEPAGE="https://github.com/tpm2-software/tpm2-tss" |
130 |
-SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz" |
131 |
- |
132 |
-LICENSE="BSD-2" |
133 |
-SLOT="0" |
134 |
-KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
135 |
-IUSE="doc +fapi +openssl mbedtls static-libs test" |
136 |
- |
137 |
-RESTRICT="!test? ( test )" |
138 |
- |
139 |
-REQUIRED_USE="^^ ( mbedtls openssl ) |
140 |
- fapi? ( openssl !mbedtls )" |
141 |
- |
142 |
-RDEPEND="acct-group/tss |
143 |
- acct-user/tss |
144 |
- fapi? ( dev-libs/json-c |
145 |
- net-misc/curl ) |
146 |
- mbedtls? ( net-libs/mbedtls:= ) |
147 |
- openssl? ( dev-libs/openssl:= )" |
148 |
-DEPEND="${RDEPEND} |
149 |
- test? ( dev-util/cmocka )" |
150 |
-BDEPEND="virtual/pkgconfig |
151 |
- doc? ( app-doc/doxygen )" |
152 |
- |
153 |
-PATCHES=( |
154 |
- "${FILESDIR}/${P}-Dont-run-systemd-sysusers-in-Makefile.patch" |
155 |
-) |
156 |
- |
157 |
-pkg_setup() { |
158 |
- local CONFIG_CHECK=" \ |
159 |
- ~TCG_TPM |
160 |
- " |
161 |
- linux-info_pkg_setup |
162 |
- kernel_is ge 4 12 0 || ewarn "At least kernel 4.12.0 is required" |
163 |
-} |
164 |
- |
165 |
-src_prepare() { |
166 |
- default |
167 |
- eautoreconf |
168 |
-} |
169 |
- |
170 |
-src_configure() { |
171 |
- econf \ |
172 |
- --localstatedir=/var \ |
173 |
- $(use_enable doc doxygen-doc) \ |
174 |
- $(use_enable fapi) \ |
175 |
- $(use_enable static-libs static) \ |
176 |
- $(use_enable test unit) \ |
177 |
- --disable-tcti-mssim \ |
178 |
- --disable-defaultflags \ |
179 |
- --disable-weakcrypto \ |
180 |
- --with-crypto="$(usex mbedtls mbed ossl)" \ |
181 |
- --with-runstatedir=/run \ |
182 |
- --with-udevrulesdir="$(get_udevdir)/rules.d" \ |
183 |
- --with-udevrulesprefix=60- \ |
184 |
- --with-sysusersdir="/usr/lib/sysusers.d" \ |
185 |
- --with-tmpfilesdir="/usr/lib/tmpfiles.d" |
186 |
-} |
187 |
- |
188 |
-src_install() { |
189 |
- default |
190 |
- find "${D}" -name '*.la' -delete || die |
191 |
-} |
192 |
- |
193 |
-pkg_postinst() { |
194 |
- tmpfiles_process tpm2-tss-fapi.conf |
195 |
-} |