1 |
commit: 6c16b775799acf5408158d39326d24d5b2af097e |
2 |
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 8 05:51:31 2019 +0000 |
4 |
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 8 09:34:53 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c16b775 |
7 |
|
8 |
dev-libs/botan: cleanup old |
9 |
|
10 |
Signed-off-by: Alon Bar-Lev <alonbl <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.11 |
12 |
|
13 |
dev-libs/botan/Manifest | 2 - |
14 |
dev-libs/botan/botan-2.7.0.ebuild | 99 ------------------------- |
15 |
dev-libs/botan/botan-2.8.0.ebuild | 103 --------------------------- |
16 |
dev-libs/botan/files/botan-2.8.0-build.patch | 22 ------ |
17 |
4 files changed, 226 deletions(-) |
18 |
|
19 |
diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest |
20 |
index 77af7e1b3c7..c2dc54f8d96 100644 |
21 |
--- a/dev-libs/botan/Manifest |
22 |
+++ b/dev-libs/botan/Manifest |
23 |
@@ -1,4 +1,2 @@ |
24 |
DIST Botan-1.10.17.tgz 2706678 BLAKE2B bce65493c702381aaa747c2b935c545f85704b93bb6be4bf225048cc14812999291bbbe86786c2b00865489ec47d63128b12ef1020be8651be57fa1c84006a7c SHA512 a47cab3af113652247c8efc8b0f043eb62175eaa8554833d5fc3016ea94dbdd8aa722ab9b5226cc5f133afbcc088d54362111630eaa4594812c39925cc3c8649 |
25 |
-DIST Botan-2.7.0.tgz 7021654 BLAKE2B 3f18b7ba660a72a409beeaba8bd1b1bd021f645c135bed56d75b6ba906b7c28d1e14eac9550862500dda9c4b3ac3135cfc9c340e073c573deb66b236e09f8054 SHA512 992138d83e18aedf80337d825f80c34dd3d2177eb30967573c57cf9fb7e7f9a9965ae3d75f23635f4c93b4efb7bb5adbb3423702663c78a5eb905dd567561858 |
26 |
-DIST Botan-2.8.0.tgz 7152674 BLAKE2B 7838423fc7cc3521b3feb95ab3958f8cd4df86534f1ef30d717b47e54a9a7ae0d2ed6618370b9adfd0a178b509750e5aacda8457caa89f408292837fe3426de0 SHA512 12f734eea3e60a956f75a5b58e9bd83fac7b0dbcd71fb9577b025d171702d87a9a11e2e73162320bdefb2d25f3900757d89dd7fe13089321c88d948efc2ba214 |
27 |
DIST Botan-2.9.0.tgz 7216373 BLAKE2B 5ad2e15db871ccc3a32b29b7f54a02d69f251f0aca2ce656b557dbbb3814a793053a54905371b3414ad72952a64bece43e2383da91f205f68b0fe31be2f9439c SHA512 b88f3894a4a5b7b2fbff9be6eb0b774bf679a014bd2364811b7e63d4f323e22ca9ef916491afbc2cdf9db68727c1449fbeb6fd417e591560add0955517db3f65 |
28 |
|
29 |
diff --git a/dev-libs/botan/botan-2.7.0.ebuild b/dev-libs/botan/botan-2.7.0.ebuild |
30 |
deleted file mode 100644 |
31 |
index dbd4d804dc0..00000000000 |
32 |
--- a/dev-libs/botan/botan-2.7.0.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,99 +0,0 @@ |
35 |
-# Copyright 1999-2019 Gentoo Authors |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI=7 |
39 |
-PYTHON_COMPAT=( python{2_7,3_5,3_6} ) |
40 |
- |
41 |
-inherit multilib python-r1 toolchain-funcs |
42 |
- |
43 |
-MY_PN="Botan" |
44 |
-MY_P="${MY_PN}-${PV}" |
45 |
-DESCRIPTION="A C++ crypto library" |
46 |
-HOMEPAGE="https://botan.randombit.net/" |
47 |
-SRC_URI="https://botan.randombit.net/releases/${MY_P}.tgz" |
48 |
- |
49 |
-KEYWORDS="amd64 ~arm hppa ~ia64 ppc ppc64 ~sparc x86 ~ppc-macos" |
50 |
-SLOT="2/$(ver_cut 1-2)" # soname version |
51 |
-LICENSE="BSD" |
52 |
-IUSE="bindist doc boost python bzip2 libressl lzma sqlite ssl static-libs zlib" |
53 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
54 |
- |
55 |
-S="${WORKDIR}/${MY_P}" |
56 |
- |
57 |
-DEPEND="python? ( ${PYTHON_DEPS} )" |
58 |
-RDEPEND="${DEPEND} |
59 |
- bzip2? ( >=app-arch/bzip2-1.0.5 ) |
60 |
- zlib? ( >=sys-libs/zlib-1.2.3 ) |
61 |
- boost? ( >=dev-libs/boost-1.48 ) |
62 |
- lzma? ( app-arch/xz-utils ) |
63 |
- sqlite? ( dev-db/sqlite:3 ) |
64 |
- ssl? ( |
65 |
- !libressl? ( dev-libs/openssl:0=[bindist=] ) |
66 |
- libressl? ( dev-libs/libressl:0= ) |
67 |
- )" |
68 |
-BDEPEND="dev-lang/python:* |
69 |
- doc? ( dev-python/sphinx )" |
70 |
- |
71 |
-src_configure() { |
72 |
- local disable_modules=() |
73 |
- use boost || disable_modules+=( "boost" ) |
74 |
- use bindist && disable_modules+=( "ecdsa" ) |
75 |
- elog "Disabling modules: ${disable_modules[@]}" |
76 |
- |
77 |
- # Enable v9 instructions for sparc64 |
78 |
- if [[ "${PROFILE_ARCH}" = "sparc64" ]]; then |
79 |
- CHOSTARCH="sparc32-v9" |
80 |
- else |
81 |
- CHOSTARCH="${CHOST%%-*}" |
82 |
- fi |
83 |
- |
84 |
- local myos= |
85 |
- case ${CHOST} in |
86 |
- *-darwin*) myos=darwin ;; |
87 |
- *) myos=linux ;; |
88 |
- esac |
89 |
- |
90 |
- case ${CHOST} in |
91 |
- hppa*) CHOSTARCH=parisc ;; |
92 |
- esac |
93 |
- |
94 |
- local pythonvers=() |
95 |
- if use python; then |
96 |
- append() { |
97 |
- pythonvers+=( ${EPYTHON/python/} ) |
98 |
- } |
99 |
- python_foreach_impl append |
100 |
- fi |
101 |
- |
102 |
- CXX="$(tc-getCXX)" AR="$(tc-getAR)" ./configure.py \ |
103 |
- $(use_enable static-libs static-library) \ |
104 |
- $(use_with boost) \ |
105 |
- $(use_with bzip2) \ |
106 |
- $(use_with doc documentation) \ |
107 |
- $(use_with doc sphinx) \ |
108 |
- $(use_with lzma) \ |
109 |
- $(use_with sqlite sqlite3) \ |
110 |
- $(use_with ssl openssl) \ |
111 |
- $(use_with zlib) \ |
112 |
- $(usex hppa --without-stack-protector '') \ |
113 |
- --cc=gcc \ |
114 |
- --cpu=${CHOSTARCH} \ |
115 |
- --disable-modules=$(IFS=","; echo "${disable_modules[*]}" ) \ |
116 |
- --docdir=share/doc \ |
117 |
- --libdir=$(get_libdir) \ |
118 |
- --os=${myos} \ |
119 |
- --prefix="${EPREFIX}/usr" \ |
120 |
- --with-endian="$(tc-endian)" \ |
121 |
- --with-python-version=$(IFS=","; echo "${pythonvers[*]}" ) \ |
122 |
- --without-doxygen \ |
123 |
- || die "configure.py failed" |
124 |
-} |
125 |
- |
126 |
-src_test() { |
127 |
- LD_LIBRARY_PATH="${S}" ./botan-test || die "Validation tests failed" |
128 |
-} |
129 |
- |
130 |
-src_install() { |
131 |
- default |
132 |
- use python && python_foreach_impl python_optimize |
133 |
-} |
134 |
|
135 |
diff --git a/dev-libs/botan/botan-2.8.0.ebuild b/dev-libs/botan/botan-2.8.0.ebuild |
136 |
deleted file mode 100644 |
137 |
index e46dbb8f1ef..00000000000 |
138 |
--- a/dev-libs/botan/botan-2.8.0.ebuild |
139 |
+++ /dev/null |
140 |
@@ -1,103 +0,0 @@ |
141 |
-# Copyright 1999-2019 Gentoo Authors |
142 |
-# Distributed under the terms of the GNU General Public License v2 |
143 |
- |
144 |
-EAPI=7 |
145 |
-PYTHON_COMPAT=( python{2_7,3_5,3_6} ) |
146 |
- |
147 |
-inherit multilib python-r1 toolchain-funcs |
148 |
- |
149 |
-MY_PN="Botan" |
150 |
-MY_P="${MY_PN}-${PV}" |
151 |
-DESCRIPTION="A C++ crypto library" |
152 |
-HOMEPAGE="https://botan.randombit.net/" |
153 |
-SRC_URI="https://botan.randombit.net/releases/${MY_P}.tgz" |
154 |
- |
155 |
-KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" |
156 |
-SLOT="2/$(ver_cut 1-2)" # soname version |
157 |
-LICENSE="BSD" |
158 |
-IUSE="bindist doc boost python bzip2 libressl lzma sqlite ssl static-libs zlib" |
159 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
160 |
- |
161 |
-S="${WORKDIR}/${MY_P}" |
162 |
- |
163 |
-DEPEND="python? ( ${PYTHON_DEPS} )" |
164 |
-RDEPEND="${DEPEND} |
165 |
- bzip2? ( >=app-arch/bzip2-1.0.5:= ) |
166 |
- zlib? ( >=sys-libs/zlib-1.2.3:= ) |
167 |
- boost? ( >=dev-libs/boost-1.48:= ) |
168 |
- lzma? ( app-arch/xz-utils:= ) |
169 |
- sqlite? ( dev-db/sqlite:3= ) |
170 |
- ssl? ( |
171 |
- !libressl? ( dev-libs/openssl:0=[bindist=] ) |
172 |
- libressl? ( dev-libs/libressl:0= ) |
173 |
- )" |
174 |
-BDEPEND="dev-lang/python:* |
175 |
- doc? ( dev-python/sphinx )" |
176 |
- |
177 |
-PATCHES=( |
178 |
- "${FILESDIR}/${P}-build.patch" |
179 |
-) |
180 |
- |
181 |
-src_configure() { |
182 |
- local disable_modules=() |
183 |
- use boost || disable_modules+=( "boost" ) |
184 |
- use bindist && disable_modules+=( "ecdsa" ) |
185 |
- elog "Disabling modules: ${disable_modules[@]}" |
186 |
- |
187 |
- # Enable v9 instructions for sparc64 |
188 |
- if [[ "${PROFILE_ARCH}" = "sparc64" ]]; then |
189 |
- CHOSTARCH="sparc32-v9" |
190 |
- else |
191 |
- CHOSTARCH="${CHOST%%-*}" |
192 |
- fi |
193 |
- |
194 |
- local myos= |
195 |
- case ${CHOST} in |
196 |
- *-darwin*) myos=darwin ;; |
197 |
- *) myos=linux ;; |
198 |
- esac |
199 |
- |
200 |
- case ${CHOST} in |
201 |
- hppa*) CHOSTARCH=parisc ;; |
202 |
- esac |
203 |
- |
204 |
- local pythonvers=() |
205 |
- if use python; then |
206 |
- append() { |
207 |
- pythonvers+=( ${EPYTHON/python/} ) |
208 |
- } |
209 |
- python_foreach_impl append |
210 |
- fi |
211 |
- |
212 |
- CXX="$(tc-getCXX)" AR="$(tc-getAR)" ./configure.py \ |
213 |
- $(use_enable static-libs static-library) \ |
214 |
- $(use_with boost) \ |
215 |
- $(use_with bzip2) \ |
216 |
- $(use_with doc documentation) \ |
217 |
- $(use_with doc sphinx) \ |
218 |
- $(use_with lzma) \ |
219 |
- $(use_with sqlite sqlite3) \ |
220 |
- $(use_with ssl openssl) \ |
221 |
- $(use_with zlib) \ |
222 |
- $(usex hppa --without-stack-protector '') \ |
223 |
- --cc=gcc \ |
224 |
- --cpu=${CHOSTARCH} \ |
225 |
- --disable-modules=$(IFS=","; echo "${disable_modules[*]}" ) \ |
226 |
- --docdir=share/doc \ |
227 |
- --libdir=$(get_libdir) \ |
228 |
- --os=${myos} \ |
229 |
- --prefix="${EPREFIX}/usr" \ |
230 |
- --with-endian="$(tc-endian)" \ |
231 |
- --with-python-version=$(IFS=","; echo "${pythonvers[*]}" ) \ |
232 |
- --without-doxygen \ |
233 |
- || die "configure.py failed" |
234 |
-} |
235 |
- |
236 |
-src_test() { |
237 |
- LD_LIBRARY_PATH="${S}" ./botan-test || die "Validation tests failed" |
238 |
-} |
239 |
- |
240 |
-src_install() { |
241 |
- default |
242 |
- use python && python_foreach_impl python_optimize |
243 |
-} |
244 |
|
245 |
diff --git a/dev-libs/botan/files/botan-2.8.0-build.patch b/dev-libs/botan/files/botan-2.8.0-build.patch |
246 |
deleted file mode 100644 |
247 |
index 04755a0381a..00000000000 |
248 |
--- a/dev-libs/botan/files/botan-2.8.0-build.patch |
249 |
+++ /dev/null |
250 |
@@ -1,22 +0,0 @@ |
251 |
-From 813b7230735960f3e5225f1f74ca680c9ea84101 Mon Sep 17 00:00:00 2001 |
252 |
-From: Shawn Anastasio <shawn@×××××××.io> |
253 |
-Date: Sun, 30 Dec 2018 14:49:43 -0600 |
254 |
-Subject: [PATCH] Add powerpc64le as an alias for ppc64 |
255 |
- |
256 |
-Add powerpc64le as an alias for the ppc64 build target. |
257 |
---- |
258 |
- src/build-data/arch/ppc64.txt | 1 + |
259 |
- 1 file changed, 1 insertion(+) |
260 |
- |
261 |
-diff --git a/src/build-data/arch/ppc64.txt b/src/build-data/arch/ppc64.txt |
262 |
-index 9ab7cccded..23d3bb2a10 100644 |
263 |
---- a/src/build-data/arch/ppc64.txt |
264 |
-+++ b/src/build-data/arch/ppc64.txt |
265 |
-@@ -5,6 +5,7 @@ wordsize 64 |
266 |
- |
267 |
- <aliases> |
268 |
- powerpc64 |
269 |
-+powerpc64le |
270 |
- ppc64le |
271 |
- ppc64el |
272 |
- </aliases> |