1 |
commit: c98c63c6a9aa6594b15a4ce9ab9466efaf82d40a |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 29 16:57:23 2019 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 29 16:57:39 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c98c63c6 |
7 |
|
8 |
net-libs/mbedtls: remove older versions |
9 |
|
10 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
11 |
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org> |
12 |
|
13 |
net-libs/mbedtls/Manifest | 5 -- |
14 |
net-libs/mbedtls/mbedtls-2.13.1.ebuild | 93 ---------------------------------- |
15 |
net-libs/mbedtls/mbedtls-2.14.1.ebuild | 93 ---------------------------------- |
16 |
net-libs/mbedtls/mbedtls-2.15.1.ebuild | 93 ---------------------------------- |
17 |
net-libs/mbedtls/mbedtls-2.16.0.ebuild | 93 ---------------------------------- |
18 |
net-libs/mbedtls/mbedtls-2.16.1.ebuild | 93 ---------------------------------- |
19 |
6 files changed, 470 deletions(-) |
20 |
|
21 |
diff --git a/net-libs/mbedtls/Manifest b/net-libs/mbedtls/Manifest |
22 |
index 31a456eff29..7a65fdf3b14 100644 |
23 |
--- a/net-libs/mbedtls/Manifest |
24 |
+++ b/net-libs/mbedtls/Manifest |
25 |
@@ -1,9 +1,4 @@ |
26 |
DIST mbedtls-2.10.0.tar.gz 2190139 BLAKE2B f4e6da0bc433992a79088a86c7bad48564e5d8eca110633960c8197becf1fb64b77e36f2bd63e241ff0a3eb86aae1b6b538de2043e1bb6626b9b18fa9951db91 SHA512 a1dcb46d3e27c93b511a0dc846b5ed6dc35992cdcf04fce6ad83f5a92440d11d60a07e0fec64f9d6c5e2f27365bdd7a557a35af4ff250b342adbde6193240a95 |
27 |
DIST mbedtls-2.12.0.tar.gz 2299830 BLAKE2B e65da9feaca4dc22e843cb645259ab8c81e24cec709f0f79475b53e3c319f6e5239bd6c82db07562252a35d9746600502c5a856bf6c0de67f2fbbea840b4491c SHA512 c7c2aeb1717886ad87486af2dccb05b2f051372c69fc914f30e4ace1067f5be39ba04e093ad522f904e23a576c1ff430bd772e77823d0f4720f6fc5c1b8aa98c |
28 |
-DIST mbedtls-2.13.1.tar.gz 2345612 BLAKE2B 0b78a04407076016fb7f74b635cd2fc86119a9cd8571c6356715e3a680f5b16787c2b002830d103ebd4b995dda956ec874a35bf1a824489dc56f509a9485b1d3 SHA512 1a70446b533534c075de38ce0839f7947077ffdddffa57172594b8f8a3c4a3fbdfa9b06d13c198008abad33633e509f06abe5362f603f63850d9ec44734b3c0b |
29 |
-DIST mbedtls-2.14.1.tar.gz 2374523 BLAKE2B bab8e2a6b988627ae634aa26d6bf778ee1b923c9e2b17b2fd62c889120ab0dd5a9362ce6c0b8817c97dc1bbcda892b3a9ea7113c73240345e6e7bc4470a047aa SHA512 e8c953f4335a0cbdf4e713b646fcc1ee5302953b4279c6f21c15a6a8216d805d113354c1448c8df3617dbdfcd4e8a82157cd5630c37662d0db6b02865d4bd8e0 |
30 |
-DIST mbedtls-2.15.1.tar.gz 2662140 BLAKE2B 9b1f3f6e522445c187ebfe38a35bb934d72d638d1b0fa59852c7e0b1c1094302efd4328038a2e0c8427b2d08d791179d0b33ffd20e7809cd4ac9dac1b480866b SHA512 361bac49bc179c020855a59140a3e9e31ec9e89ebde9d630e9f3491cdfdf466c8dc2313276d6b257a7728784f5478bdcfd14d26e81f90d432bad2e9a94151fc2 |
31 |
-DIST mbedtls-2.16.0.tar.gz 2412091 BLAKE2B 7fae9fa1ffa8ae7e7958af6fbac98299135e5b7c524ad3944f0ae7b5aa7f2574253950583a77bd1b9fa175b513032110565406b5d4a85c56c65c5c2e50e87928 SHA512 15e8df96c16b0b6f7b100ca76d85dae77f8e6a6644fc41262dc28e11440b9238e837193991ba5942864ed9f58542f96967c2d1e18a5ae270571f6d364bcc33b1 |
32 |
-DIST mbedtls-2.16.1.tar.gz 2426992 BLAKE2B 11915bc2feb27b16ad20c3079905081093dad100bba02b06ccf30ce708d3528445bc153ed81e6e11e7c8d15060a47bf6419252f934bd6950fe3a7867e0da6aa2 SHA512 d9333abd463350bfeceec4edd605e93326578ca646053b0c6f6c51567237273fa88f602b065706fdd699a2a06e667cc54ca3919bb71b2c4656fbc620b967bc01 |
33 |
DIST mbedtls-2.16.3.tar.gz 2459563 BLAKE2B 5de21b27274dae61e282114da196078be7931e823750f712145c372160204e02f36f995d2cca8589f7b8ffcb646b0b258b0d49db6a0ffa01117b8c0af9f3fa0e SHA512 3d798f7de9c33325585d5d7c8608cc16acdcf42c246d283b2fb8a29f5e419f2899342965ff297432ef2ab20c91eaee28d6ca53349f5a68b0a4fd29d6905fc64c |
34 |
DIST mbedtls-2.17.0.tar.gz 2738368 BLAKE2B efcf2a6c84a85afdca0205bd9e8bcf039074c5e6f40e0814f835cf26c2d13dce87bd140aa0b803eea6a683e31b79680a3ea8ba72417e7ec26f206e0b027b014a SHA512 6ab52d116cb9f755871f2fd196ec1b352dbbe59f2ecedeb5551237e4e672da77205ef0c2f80ec746ba1fd94cab1995ab1729c8adb0f29d10f3c74a67f5327493 |
35 |
|
36 |
diff --git a/net-libs/mbedtls/mbedtls-2.13.1.ebuild b/net-libs/mbedtls/mbedtls-2.13.1.ebuild |
37 |
deleted file mode 100644 |
38 |
index 32c435985e2..00000000000 |
39 |
--- a/net-libs/mbedtls/mbedtls-2.13.1.ebuild |
40 |
+++ /dev/null |
41 |
@@ -1,93 +0,0 @@ |
42 |
-# Copyright 1999-2018 Gentoo Foundation |
43 |
-# Distributed under the terms of the GNU General Public License v2 |
44 |
- |
45 |
-EAPI=6 |
46 |
- |
47 |
-inherit cmake-utils multilib-minimal |
48 |
- |
49 |
-DESCRIPTION="Cryptographic library for embedded systems" |
50 |
-HOMEPAGE="https://tls.mbed.org/" |
51 |
-SRC_URI="https://github.com/ARMmbed/mbedtls/archive/${P}.tar.gz" |
52 |
-S=${WORKDIR}/${PN}-${P} |
53 |
- |
54 |
-LICENSE="Apache-2.0" |
55 |
-SLOT="0/12" # slot for libmbedtls.so |
56 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
57 |
-IUSE="cpu_flags_x86_sse2 doc havege libressl programs -static-libs test threads zlib" |
58 |
- |
59 |
-RDEPEND=" |
60 |
- programs? ( |
61 |
- !libressl? ( dev-libs/openssl:0= ) |
62 |
- libressl? ( dev-libs/libressl:0= ) |
63 |
- ) |
64 |
- zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )" |
65 |
-DEPEND="${RDEPEND} |
66 |
- doc? ( app-doc/doxygen media-gfx/graphviz ) |
67 |
- test? ( dev-lang/perl )" |
68 |
- |
69 |
-enable_mbedtls_option() { |
70 |
- local myopt="$@" |
71 |
- # check that config.h syntax is the same at version bump |
72 |
- sed -i \ |
73 |
- -e "s://#define ${myopt}:#define ${myopt}:" \ |
74 |
- include/mbedtls/config.h || die |
75 |
-} |
76 |
- |
77 |
-src_prepare() { |
78 |
- use cpu_flags_x86_sse2 && enable_mbedtls_option MBEDTLS_HAVE_SSE2 |
79 |
- use zlib && enable_mbedtls_option MBEDTLS_ZLIB_SUPPORT |
80 |
- use havege && enable_mbedtls_option MBEDTLS_HAVEGE_C |
81 |
- use threads && enable_mbedtls_option MBEDTLS_THREADING_C |
82 |
- use threads && enable_mbedtls_option MBEDTLS_THREADING_PTHREAD |
83 |
- |
84 |
- cmake-utils_src_prepare |
85 |
-} |
86 |
- |
87 |
-multilib_src_configure() { |
88 |
- local mycmakeargs=( |
89 |
- -DENABLE_PROGRAMS=$(multilib_native_usex programs) |
90 |
- -DENABLE_ZLIB_SUPPORT=$(usex zlib) |
91 |
- -DUSE_STATIC_MBEDTLS_LIBRARY=$(usex static-libs) |
92 |
- -DENABLE_TESTING=$(usex test) |
93 |
- -DUSE_SHARED_MBEDTLS_LIBRARY=ON |
94 |
- -DINSTALL_MBEDTLS_HEADERS=ON |
95 |
- -DLIB_INSTALL_DIR="/usr/$(get_libdir)" |
96 |
- ) |
97 |
- |
98 |
- cmake-utils_src_configure |
99 |
-} |
100 |
- |
101 |
-multilib_src_compile() { |
102 |
- cmake-utils_src_compile |
103 |
- use doc && multilib_is_native_abi && emake apidoc |
104 |
-} |
105 |
- |
106 |
-multilib_src_test() { |
107 |
- LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${BUILD_DIR}/library" \ |
108 |
- cmake-utils_src_test |
109 |
-} |
110 |
- |
111 |
-multilib_src_install() { |
112 |
- cmake-utils_src_install |
113 |
-} |
114 |
- |
115 |
-multilib_src_install_all() { |
116 |
- use doc && HTML_DOCS=( apidoc ) |
117 |
- |
118 |
- einstalldocs |
119 |
- |
120 |
- if use programs ; then |
121 |
- # avoid file collisions with sys-apps/coreutils |
122 |
- local p e |
123 |
- for p in "${ED%/}"/usr/bin/* ; do |
124 |
- if [[ -x "${p}" && ! -d "${p}" ]] ; then |
125 |
- mv "${p}" "${ED%/}"/usr/bin/mbedtls_${p##*/} || die |
126 |
- fi |
127 |
- done |
128 |
- for e in aes hash pkey ssl test ; do |
129 |
- docinto "${e}" |
130 |
- dodoc programs/"${e}"/*.c |
131 |
- dodoc programs/"${e}"/*.txt |
132 |
- done |
133 |
- fi |
134 |
-} |
135 |
|
136 |
diff --git a/net-libs/mbedtls/mbedtls-2.14.1.ebuild b/net-libs/mbedtls/mbedtls-2.14.1.ebuild |
137 |
deleted file mode 100644 |
138 |
index 12069e130eb..00000000000 |
139 |
--- a/net-libs/mbedtls/mbedtls-2.14.1.ebuild |
140 |
+++ /dev/null |
141 |
@@ -1,93 +0,0 @@ |
142 |
-# Copyright 1999-2018 Gentoo Authors |
143 |
-# Distributed under the terms of the GNU General Public License v2 |
144 |
- |
145 |
-EAPI=6 |
146 |
- |
147 |
-inherit cmake-utils multilib-minimal |
148 |
- |
149 |
-DESCRIPTION="Cryptographic library for embedded systems" |
150 |
-HOMEPAGE="https://tls.mbed.org/" |
151 |
-SRC_URI="https://github.com/ARMmbed/mbedtls/archive/${P}.tar.gz" |
152 |
-S=${WORKDIR}/${PN}-${P} |
153 |
- |
154 |
-LICENSE="Apache-2.0" |
155 |
-SLOT="0/12" # slot for libmbedtls.so |
156 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
157 |
-IUSE="cpu_flags_x86_sse2 doc havege libressl programs -static-libs test threads zlib" |
158 |
- |
159 |
-RDEPEND=" |
160 |
- programs? ( |
161 |
- !libressl? ( dev-libs/openssl:0= ) |
162 |
- libressl? ( dev-libs/libressl:0= ) |
163 |
- ) |
164 |
- zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )" |
165 |
-DEPEND="${RDEPEND} |
166 |
- doc? ( app-doc/doxygen media-gfx/graphviz ) |
167 |
- test? ( dev-lang/perl )" |
168 |
- |
169 |
-enable_mbedtls_option() { |
170 |
- local myopt="$@" |
171 |
- # check that config.h syntax is the same at version bump |
172 |
- sed -i \ |
173 |
- -e "s://#define ${myopt}:#define ${myopt}:" \ |
174 |
- include/mbedtls/config.h || die |
175 |
-} |
176 |
- |
177 |
-src_prepare() { |
178 |
- use cpu_flags_x86_sse2 && enable_mbedtls_option MBEDTLS_HAVE_SSE2 |
179 |
- use zlib && enable_mbedtls_option MBEDTLS_ZLIB_SUPPORT |
180 |
- use havege && enable_mbedtls_option MBEDTLS_HAVEGE_C |
181 |
- use threads && enable_mbedtls_option MBEDTLS_THREADING_C |
182 |
- use threads && enable_mbedtls_option MBEDTLS_THREADING_PTHREAD |
183 |
- |
184 |
- cmake-utils_src_prepare |
185 |
-} |
186 |
- |
187 |
-multilib_src_configure() { |
188 |
- local mycmakeargs=( |
189 |
- -DENABLE_PROGRAMS=$(multilib_native_usex programs) |
190 |
- -DENABLE_ZLIB_SUPPORT=$(usex zlib) |
191 |
- -DUSE_STATIC_MBEDTLS_LIBRARY=$(usex static-libs) |
192 |
- -DENABLE_TESTING=$(usex test) |
193 |
- -DUSE_SHARED_MBEDTLS_LIBRARY=ON |
194 |
- -DINSTALL_MBEDTLS_HEADERS=ON |
195 |
- -DLIB_INSTALL_DIR="/usr/$(get_libdir)" |
196 |
- ) |
197 |
- |
198 |
- cmake-utils_src_configure |
199 |
-} |
200 |
- |
201 |
-multilib_src_compile() { |
202 |
- cmake-utils_src_compile |
203 |
- use doc && multilib_is_native_abi && emake apidoc |
204 |
-} |
205 |
- |
206 |
-multilib_src_test() { |
207 |
- LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${BUILD_DIR}/library" \ |
208 |
- cmake-utils_src_test |
209 |
-} |
210 |
- |
211 |
-multilib_src_install() { |
212 |
- cmake-utils_src_install |
213 |
-} |
214 |
- |
215 |
-multilib_src_install_all() { |
216 |
- use doc && HTML_DOCS=( apidoc ) |
217 |
- |
218 |
- einstalldocs |
219 |
- |
220 |
- if use programs ; then |
221 |
- # avoid file collisions with sys-apps/coreutils |
222 |
- local p e |
223 |
- for p in "${ED%/}"/usr/bin/* ; do |
224 |
- if [[ -x "${p}" && ! -d "${p}" ]] ; then |
225 |
- mv "${p}" "${ED%/}"/usr/bin/mbedtls_${p##*/} || die |
226 |
- fi |
227 |
- done |
228 |
- for e in aes hash pkey ssl test ; do |
229 |
- docinto "${e}" |
230 |
- dodoc programs/"${e}"/*.c |
231 |
- dodoc programs/"${e}"/*.txt |
232 |
- done |
233 |
- fi |
234 |
-} |
235 |
|
236 |
diff --git a/net-libs/mbedtls/mbedtls-2.15.1.ebuild b/net-libs/mbedtls/mbedtls-2.15.1.ebuild |
237 |
deleted file mode 100644 |
238 |
index 12069e130eb..00000000000 |
239 |
--- a/net-libs/mbedtls/mbedtls-2.15.1.ebuild |
240 |
+++ /dev/null |
241 |
@@ -1,93 +0,0 @@ |
242 |
-# Copyright 1999-2018 Gentoo Authors |
243 |
-# Distributed under the terms of the GNU General Public License v2 |
244 |
- |
245 |
-EAPI=6 |
246 |
- |
247 |
-inherit cmake-utils multilib-minimal |
248 |
- |
249 |
-DESCRIPTION="Cryptographic library for embedded systems" |
250 |
-HOMEPAGE="https://tls.mbed.org/" |
251 |
-SRC_URI="https://github.com/ARMmbed/mbedtls/archive/${P}.tar.gz" |
252 |
-S=${WORKDIR}/${PN}-${P} |
253 |
- |
254 |
-LICENSE="Apache-2.0" |
255 |
-SLOT="0/12" # slot for libmbedtls.so |
256 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
257 |
-IUSE="cpu_flags_x86_sse2 doc havege libressl programs -static-libs test threads zlib" |
258 |
- |
259 |
-RDEPEND=" |
260 |
- programs? ( |
261 |
- !libressl? ( dev-libs/openssl:0= ) |
262 |
- libressl? ( dev-libs/libressl:0= ) |
263 |
- ) |
264 |
- zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )" |
265 |
-DEPEND="${RDEPEND} |
266 |
- doc? ( app-doc/doxygen media-gfx/graphviz ) |
267 |
- test? ( dev-lang/perl )" |
268 |
- |
269 |
-enable_mbedtls_option() { |
270 |
- local myopt="$@" |
271 |
- # check that config.h syntax is the same at version bump |
272 |
- sed -i \ |
273 |
- -e "s://#define ${myopt}:#define ${myopt}:" \ |
274 |
- include/mbedtls/config.h || die |
275 |
-} |
276 |
- |
277 |
-src_prepare() { |
278 |
- use cpu_flags_x86_sse2 && enable_mbedtls_option MBEDTLS_HAVE_SSE2 |
279 |
- use zlib && enable_mbedtls_option MBEDTLS_ZLIB_SUPPORT |
280 |
- use havege && enable_mbedtls_option MBEDTLS_HAVEGE_C |
281 |
- use threads && enable_mbedtls_option MBEDTLS_THREADING_C |
282 |
- use threads && enable_mbedtls_option MBEDTLS_THREADING_PTHREAD |
283 |
- |
284 |
- cmake-utils_src_prepare |
285 |
-} |
286 |
- |
287 |
-multilib_src_configure() { |
288 |
- local mycmakeargs=( |
289 |
- -DENABLE_PROGRAMS=$(multilib_native_usex programs) |
290 |
- -DENABLE_ZLIB_SUPPORT=$(usex zlib) |
291 |
- -DUSE_STATIC_MBEDTLS_LIBRARY=$(usex static-libs) |
292 |
- -DENABLE_TESTING=$(usex test) |
293 |
- -DUSE_SHARED_MBEDTLS_LIBRARY=ON |
294 |
- -DINSTALL_MBEDTLS_HEADERS=ON |
295 |
- -DLIB_INSTALL_DIR="/usr/$(get_libdir)" |
296 |
- ) |
297 |
- |
298 |
- cmake-utils_src_configure |
299 |
-} |
300 |
- |
301 |
-multilib_src_compile() { |
302 |
- cmake-utils_src_compile |
303 |
- use doc && multilib_is_native_abi && emake apidoc |
304 |
-} |
305 |
- |
306 |
-multilib_src_test() { |
307 |
- LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${BUILD_DIR}/library" \ |
308 |
- cmake-utils_src_test |
309 |
-} |
310 |
- |
311 |
-multilib_src_install() { |
312 |
- cmake-utils_src_install |
313 |
-} |
314 |
- |
315 |
-multilib_src_install_all() { |
316 |
- use doc && HTML_DOCS=( apidoc ) |
317 |
- |
318 |
- einstalldocs |
319 |
- |
320 |
- if use programs ; then |
321 |
- # avoid file collisions with sys-apps/coreutils |
322 |
- local p e |
323 |
- for p in "${ED%/}"/usr/bin/* ; do |
324 |
- if [[ -x "${p}" && ! -d "${p}" ]] ; then |
325 |
- mv "${p}" "${ED%/}"/usr/bin/mbedtls_${p##*/} || die |
326 |
- fi |
327 |
- done |
328 |
- for e in aes hash pkey ssl test ; do |
329 |
- docinto "${e}" |
330 |
- dodoc programs/"${e}"/*.c |
331 |
- dodoc programs/"${e}"/*.txt |
332 |
- done |
333 |
- fi |
334 |
-} |
335 |
|
336 |
diff --git a/net-libs/mbedtls/mbedtls-2.16.0.ebuild b/net-libs/mbedtls/mbedtls-2.16.0.ebuild |
337 |
deleted file mode 100644 |
338 |
index f222e806698..00000000000 |
339 |
--- a/net-libs/mbedtls/mbedtls-2.16.0.ebuild |
340 |
+++ /dev/null |
341 |
@@ -1,93 +0,0 @@ |
342 |
-# Copyright 1999-2018 Gentoo Authors |
343 |
-# Distributed under the terms of the GNU General Public License v2 |
344 |
- |
345 |
-EAPI=7 |
346 |
- |
347 |
-inherit cmake-utils multilib-minimal |
348 |
- |
349 |
-DESCRIPTION="Cryptographic library for embedded systems" |
350 |
-HOMEPAGE="https://tls.mbed.org/" |
351 |
-SRC_URI="https://github.com/ARMmbed/mbedtls/archive/${P}.tar.gz" |
352 |
-S=${WORKDIR}/${PN}-${P} |
353 |
- |
354 |
-LICENSE="Apache-2.0" |
355 |
-SLOT="0/12" # slot for libmbedtls.so |
356 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
357 |
-IUSE="cpu_flags_x86_sse2 doc havege libressl programs -static-libs test threads zlib" |
358 |
- |
359 |
-RDEPEND=" |
360 |
- programs? ( |
361 |
- !libressl? ( dev-libs/openssl:0= ) |
362 |
- libressl? ( dev-libs/libressl:0= ) |
363 |
- ) |
364 |
- zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )" |
365 |
-DEPEND="${RDEPEND} |
366 |
- doc? ( app-doc/doxygen media-gfx/graphviz ) |
367 |
- test? ( dev-lang/perl )" |
368 |
- |
369 |
-enable_mbedtls_option() { |
370 |
- local myopt="$@" |
371 |
- # check that config.h syntax is the same at version bump |
372 |
- sed -i \ |
373 |
- -e "s://#define ${myopt}:#define ${myopt}:" \ |
374 |
- include/mbedtls/config.h || die |
375 |
-} |
376 |
- |
377 |
-src_prepare() { |
378 |
- use cpu_flags_x86_sse2 && enable_mbedtls_option MBEDTLS_HAVE_SSE2 |
379 |
- use zlib && enable_mbedtls_option MBEDTLS_ZLIB_SUPPORT |
380 |
- use havege && enable_mbedtls_option MBEDTLS_HAVEGE_C |
381 |
- use threads && enable_mbedtls_option MBEDTLS_THREADING_C |
382 |
- use threads && enable_mbedtls_option MBEDTLS_THREADING_PTHREAD |
383 |
- |
384 |
- cmake-utils_src_prepare |
385 |
-} |
386 |
- |
387 |
-multilib_src_configure() { |
388 |
- local mycmakeargs=( |
389 |
- -DENABLE_PROGRAMS=$(multilib_native_usex programs) |
390 |
- -DENABLE_ZLIB_SUPPORT=$(usex zlib) |
391 |
- -DUSE_STATIC_MBEDTLS_LIBRARY=$(usex static-libs) |
392 |
- -DENABLE_TESTING=$(usex test) |
393 |
- -DUSE_SHARED_MBEDTLS_LIBRARY=ON |
394 |
- -DINSTALL_MBEDTLS_HEADERS=ON |
395 |
- -DLIB_INSTALL_DIR="/usr/$(get_libdir)" |
396 |
- ) |
397 |
- |
398 |
- cmake-utils_src_configure |
399 |
-} |
400 |
- |
401 |
-multilib_src_compile() { |
402 |
- cmake-utils_src_compile |
403 |
- use doc && multilib_is_native_abi && emake apidoc |
404 |
-} |
405 |
- |
406 |
-multilib_src_test() { |
407 |
- LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${BUILD_DIR}/library" \ |
408 |
- cmake-utils_src_test |
409 |
-} |
410 |
- |
411 |
-multilib_src_install() { |
412 |
- cmake-utils_src_install |
413 |
-} |
414 |
- |
415 |
-multilib_src_install_all() { |
416 |
- use doc && HTML_DOCS=( apidoc ) |
417 |
- |
418 |
- einstalldocs |
419 |
- |
420 |
- if use programs ; then |
421 |
- # avoid file collisions with sys-apps/coreutils |
422 |
- local p e |
423 |
- for p in "${ED%/}"/usr/bin/* ; do |
424 |
- if [[ -x "${p}" && ! -d "${p}" ]] ; then |
425 |
- mv "${p}" "${ED%/}"/usr/bin/mbedtls_${p##*/} || die |
426 |
- fi |
427 |
- done |
428 |
- for e in aes hash pkey ssl test ; do |
429 |
- docinto "${e}" |
430 |
- dodoc programs/"${e}"/*.c |
431 |
- dodoc programs/"${e}"/*.txt |
432 |
- done |
433 |
- fi |
434 |
-} |
435 |
|
436 |
diff --git a/net-libs/mbedtls/mbedtls-2.16.1.ebuild b/net-libs/mbedtls/mbedtls-2.16.1.ebuild |
437 |
deleted file mode 100644 |
438 |
index a5b2310cf89..00000000000 |
439 |
--- a/net-libs/mbedtls/mbedtls-2.16.1.ebuild |
440 |
+++ /dev/null |
441 |
@@ -1,93 +0,0 @@ |
442 |
-# Copyright 1999-2019 Gentoo Authors |
443 |
-# Distributed under the terms of the GNU General Public License v2 |
444 |
- |
445 |
-EAPI=7 |
446 |
- |
447 |
-inherit cmake-utils multilib-minimal |
448 |
- |
449 |
-DESCRIPTION="Cryptographic library for embedded systems" |
450 |
-HOMEPAGE="https://tls.mbed.org/" |
451 |
-SRC_URI="https://github.com/ARMmbed/mbedtls/archive/${P}.tar.gz" |
452 |
-S=${WORKDIR}/${PN}-${P} |
453 |
- |
454 |
-LICENSE="Apache-2.0" |
455 |
-SLOT="0/12" # slot for libmbedtls.so |
456 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
457 |
-IUSE="cpu_flags_x86_sse2 doc havege libressl programs -static-libs test threads zlib" |
458 |
- |
459 |
-RDEPEND=" |
460 |
- programs? ( |
461 |
- !libressl? ( dev-libs/openssl:0= ) |
462 |
- libressl? ( dev-libs/libressl:0= ) |
463 |
- ) |
464 |
- zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )" |
465 |
-DEPEND="${RDEPEND} |
466 |
- doc? ( app-doc/doxygen media-gfx/graphviz ) |
467 |
- test? ( dev-lang/perl )" |
468 |
- |
469 |
-enable_mbedtls_option() { |
470 |
- local myopt="$@" |
471 |
- # check that config.h syntax is the same at version bump |
472 |
- sed -i \ |
473 |
- -e "s://#define ${myopt}:#define ${myopt}:" \ |
474 |
- include/mbedtls/config.h || die |
475 |
-} |
476 |
- |
477 |
-src_prepare() { |
478 |
- use cpu_flags_x86_sse2 && enable_mbedtls_option MBEDTLS_HAVE_SSE2 |
479 |
- use zlib && enable_mbedtls_option MBEDTLS_ZLIB_SUPPORT |
480 |
- use havege && enable_mbedtls_option MBEDTLS_HAVEGE_C |
481 |
- use threads && enable_mbedtls_option MBEDTLS_THREADING_C |
482 |
- use threads && enable_mbedtls_option MBEDTLS_THREADING_PTHREAD |
483 |
- |
484 |
- cmake-utils_src_prepare |
485 |
-} |
486 |
- |
487 |
-multilib_src_configure() { |
488 |
- local mycmakeargs=( |
489 |
- -DENABLE_PROGRAMS=$(multilib_native_usex programs) |
490 |
- -DENABLE_ZLIB_SUPPORT=$(usex zlib) |
491 |
- -DUSE_STATIC_MBEDTLS_LIBRARY=$(usex static-libs) |
492 |
- -DENABLE_TESTING=$(usex test) |
493 |
- -DUSE_SHARED_MBEDTLS_LIBRARY=ON |
494 |
- -DINSTALL_MBEDTLS_HEADERS=ON |
495 |
- -DLIB_INSTALL_DIR="/usr/$(get_libdir)" |
496 |
- ) |
497 |
- |
498 |
- cmake-utils_src_configure |
499 |
-} |
500 |
- |
501 |
-multilib_src_compile() { |
502 |
- cmake-utils_src_compile |
503 |
- use doc && multilib_is_native_abi && emake apidoc |
504 |
-} |
505 |
- |
506 |
-multilib_src_test() { |
507 |
- LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${BUILD_DIR}/library" \ |
508 |
- cmake-utils_src_test |
509 |
-} |
510 |
- |
511 |
-multilib_src_install() { |
512 |
- cmake-utils_src_install |
513 |
-} |
514 |
- |
515 |
-multilib_src_install_all() { |
516 |
- use doc && HTML_DOCS=( apidoc ) |
517 |
- |
518 |
- einstalldocs |
519 |
- |
520 |
- if use programs ; then |
521 |
- # avoid file collisions with sys-apps/coreutils |
522 |
- local p e |
523 |
- for p in "${ED%/}"/usr/bin/* ; do |
524 |
- if [[ -x "${p}" && ! -d "${p}" ]] ; then |
525 |
- mv "${p}" "${ED%/}"/usr/bin/mbedtls_${p##*/} || die |
526 |
- fi |
527 |
- done |
528 |
- for e in aes hash pkey ssl test ; do |
529 |
- docinto "${e}" |
530 |
- dodoc programs/"${e}"/*.c |
531 |
- dodoc programs/"${e}"/*.txt |
532 |
- done |
533 |
- fi |
534 |
-} |