1 |
blueness 14/06/09 20:45:55 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cyassl-2.9.4-r1.ebuild cyassl-3.0.0-r1.ebuild |
5 |
Removed: cyassl-3.0.0.ebuild |
6 |
Log: |
7 |
Remove all -W flags and most -f flags, bug #512314 |
8 |
|
9 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA) |
10 |
|
11 |
Revision Changes Path |
12 |
1.54 net-libs/cyassl/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/cyassl/ChangeLog?rev=1.54&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/cyassl/ChangeLog?rev=1.54&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/cyassl/ChangeLog?r1=1.53&r2=1.54 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/cyassl/ChangeLog,v |
21 |
retrieving revision 1.53 |
22 |
retrieving revision 1.54 |
23 |
diff -u -r1.53 -r1.54 |
24 |
--- ChangeLog 8 Jun 2014 14:18:58 -0000 1.53 |
25 |
+++ ChangeLog 9 Jun 2014 20:45:54 -0000 1.54 |
26 |
@@ -1,6 +1,14 @@ |
27 |
# ChangeLog for net-libs/cyassl |
28 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-libs/cyassl/ChangeLog,v 1.53 2014/06/08 14:18:58 blueness Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-libs/cyassl/ChangeLog,v 1.54 2014/06/09 20:45:54 blueness Exp $ |
31 |
+ |
32 |
+*cyassl-3.0.0-r1 (09 Jun 2014) |
33 |
+*cyassl-2.9.4-r1 (09 Jun 2014) |
34 |
+ |
35 |
+ 09 Jun 2014; Anthony G. Basile <blueness@g.o> +cyassl-2.9.4-r1.ebuild, |
36 |
+ +cyassl-3.0.0-r1.ebuild, +files/cyassl-2.9.4-remove-hardened-flags.patch, |
37 |
+ -cyassl-3.0.0.ebuild: |
38 |
+ Remove all -W flags and most -f flags, bug #512314 |
39 |
|
40 |
08 Jun 2014; Anthony G. Basile <blueness@g.o> cyassl-2.9.4.ebuild, |
41 |
cyassl-3.0.0.ebuild: |
42 |
|
43 |
|
44 |
|
45 |
1.1 net-libs/cyassl/cyassl-2.9.4-r1.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/cyassl/cyassl-2.9.4-r1.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/cyassl/cyassl-2.9.4-r1.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: cyassl-2.9.4-r1.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2014 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/cyassl/cyassl-2.9.4-r1.ebuild,v 1.1 2014/06/09 20:45:54 blueness Exp $ |
55 |
|
56 |
EAPI="5" |
57 |
|
58 |
inherit autotools eutils |
59 |
|
60 |
DESCRIPTION="Lightweight SSL/TLS library targeted at embedded and RTOS environments" |
61 |
HOMEPAGE="http://www.yassl.com/yaSSL/Home.html" |
62 |
SRC_URI="http://dev.gentoo.org/~blueness/${PN}/${P}.zip" |
63 |
|
64 |
LICENSE="GPL-2" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86" |
67 |
|
68 |
CACHE_SIZE="small big huge" |
69 |
CRYPTO_OPTS="aes-gcm aes-ccm aes-ni blake2 camellia dsa ecc hc128 hkdf md2 md4 nullcipher psk leanpsk pkcs7 rabbit ripemd scep sha512 supportedcurves" |
70 |
CERT_OPTS="ocsp crl crl-monitor savesession savecert sessioncerts testcert" |
71 |
EXTRAS="atomicuser pkcallbacks sep maxfragment truncatedhmac tlsx" |
72 |
DEBUG="debug errorstrings memory test" |
73 |
|
74 |
#Note: sniffer is broken at the configure.ac level. Its not too important and we'll disable it for this release. |
75 |
#IUSE="-dtls examples extra fortress ipv6 httpd mcapi pwdbased sni sniffer static-libs threads zlib ${CACHE_SIZE} ${CRYPTO_OPTS} ${CERT_OPTS} ${EXTRAS} ${DEBUG}" |
76 |
IUSE="-dtls examples extra fortress ipv6 httpd mcapi pwdbased sni static-libs threads zlib ${CACHE_SIZE} ${CRYPTO_OPTS} ${CERT_OPTS} ${EXTRAS} ${DEBUG}" |
77 |
|
78 |
#You can only pick one cach size |
79 |
#sha512 is broken on x86 |
80 |
#Testing freezes with dtls |
81 |
REQUIRED_USE=" |
82 |
leanpsk? ( psk ) |
83 |
fortress? ( extra sha512 ) |
84 |
pwdbased? ( extra ) |
85 |
test? ( !dtls )" |
86 |
|
87 |
# Re-add sniffer? ( net-libs/libpcap ) to DEPEND when its fixed |
88 |
DEPEND="app-arch/unzip |
89 |
zlib? ( sys-libs/zlib )" |
90 |
RDEPEND="${DEPEND}" |
91 |
|
92 |
# More trouble ahead, bug #512312 |
93 |
RESTRICT="test" |
94 |
|
95 |
src_prepare() { |
96 |
# More trouble ahead, bug #512312 |
97 |
#epatch "${FILESDIR}"/${PN}-2.0.8-disable-testsuit-ifnothreads.patch |
98 |
epatch "${FILESDIR}"/${PN}-2.9.4-remove-hardened-flags.patch |
99 |
eautoreconf |
100 |
} |
101 |
|
102 |
src_configure() { |
103 |
local myconf=() |
104 |
|
105 |
if use debug; then |
106 |
myconf+=( --enable-debug ) |
107 |
fi |
108 |
|
109 |
if use x86; then |
110 |
#not pie friendly, sorry x86, no fast math for you :( |
111 |
myconf+=( --disable-keygen --disable-fastmath --disable-fasthugemath --disable-bump ) |
112 |
else |
113 |
myconf+=( --enable-keygen --enable-fastmath --enable-fasthugemath --enable-bump ) |
114 |
fi |
115 |
|
116 |
#Bug #454300 |
117 |
export C_EXTRA_FLAGS=${CFLAGS} |
118 |
|
119 |
econf \ |
120 |
$(usex threads --disable-singlethreaded --enable-singlethreaded) \ |
121 |
\ |
122 |
--disable-silent-rules \ |
123 |
--enable-certgen \ |
124 |
--disable-stacksize \ |
125 |
--disable-ntru \ |
126 |
--enable-filesystem \ |
127 |
--enable-inline \ |
128 |
--disable-oldtls \ |
129 |
--disable-valgrind \ |
130 |
--enable-asn \ |
131 |
--enable-md5 \ |
132 |
--enable-arc4 \ |
133 |
--enable-des3 \ |
134 |
--enable-aes \ |
135 |
--enable-sha \ |
136 |
--enable-rsa \ |
137 |
--enable-dh \ |
138 |
--enable-coding \ |
139 |
\ |
140 |
$(use_enable small smallcache) \ |
141 |
$(use_enable big bigcache) \ |
142 |
$(use_enable huge hugecache) \ |
143 |
\ |
144 |
$(use_enable aes-gcm aesgcm) \ |
145 |
$(use_enable aes-ccm aesccm) \ |
146 |
$(use_enable aes-ni aesni) \ |
147 |
$(use_enable blake2) \ |
148 |
$(use_enable camellia) \ |
149 |
$(use_enable dsa) \ |
150 |
$(use_enable ecc) \ |
151 |
$(use_enable hc128) \ |
152 |
$(use_enable hkdf) \ |
153 |
$(use_enable md2) \ |
154 |
$(use_enable md4) \ |
155 |
$(use_enable nullcipher) \ |
156 |
$(use_enable psk) \ |
157 |
$(use_enable leanpsk) \ |
158 |
$(use_enable pkcs7) \ |
159 |
$(use_enable rabbit) \ |
160 |
$(use_enable ripemd) \ |
161 |
$(use_enable scep) \ |
162 |
$(use_enable sha512) \ |
163 |
$(use_enable supportedcurves) \ |
164 |
\ |
165 |
$(use_enable ocsp) \ |
166 |
$(use_enable crl) \ |
167 |
$(use_enable crl-monitor) \ |
168 |
$(use_enable savesession) \ |
169 |
$(use_enable savecert) \ |
170 |
$(use_enable sessioncerts) \ |
171 |
$(use_enable testcert) \ |
172 |
\ |
173 |
$(use_enable atomicuser) \ |
174 |
$(use_enable pkcallbacks) \ |
175 |
$(use_enable sep) \ |
176 |
$(use_enable maxfragment) \ |
177 |
$(use_enable truncatedhmac) \ |
178 |
$(use_enable tlsx) \ |
179 |
\ |
180 |
$(use_enable errorstrings) \ |
181 |
$(use_enable memory) \ |
182 |
\ |
183 |
$(use_enable dtls) \ |
184 |
$(use_enable examples) \ |
185 |
$(use_enable extra opensslextra) \ |
186 |
$(use_enable fortress) \ |
187 |
$(use_enable ipv6) \ |
188 |
$(use_enable httpd webserver) \ |
189 |
$(use_enable mcapi) \ |
190 |
$(use_enable pwdbased) \ |
191 |
$(use_enable sni) \ |
192 |
$(use_enable static-libs static) \ |
193 |
$(use_with zlib libz) \ |
194 |
"${myconf[@]}" |
195 |
|
196 |
# Re-add $(use_enable sniffer) when its fixed |
197 |
} |
198 |
|
199 |
src_test() { |
200 |
"${S}"/tests/unit |
201 |
"${S}"/ctaocrypt/benchmark/benchmark |
202 |
} |
203 |
|
204 |
src_install() { |
205 |
default |
206 |
|
207 |
mv "${D}"/usr/share/doc/"${PN}"/* \ |
208 |
"${D}"/usr/share/doc/"${P}"/ |
209 |
rmdir "${D}"/usr/share/doc/"${PN}"/ |
210 |
} |
211 |
|
212 |
|
213 |
|
214 |
1.1 net-libs/cyassl/cyassl-3.0.0-r1.ebuild |
215 |
|
216 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/cyassl/cyassl-3.0.0-r1.ebuild?rev=1.1&view=markup |
217 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/cyassl/cyassl-3.0.0-r1.ebuild?rev=1.1&content-type=text/plain |
218 |
|
219 |
Index: cyassl-3.0.0-r1.ebuild |
220 |
=================================================================== |
221 |
# Copyright 1999-2014 Gentoo Foundation |
222 |
# Distributed under the terms of the GNU General Public License v2 |
223 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/cyassl/cyassl-3.0.0-r1.ebuild,v 1.1 2014/06/09 20:45:54 blueness Exp $ |
224 |
|
225 |
EAPI="5" |
226 |
|
227 |
inherit autotools eutils |
228 |
|
229 |
DESCRIPTION="Lightweight SSL/TLS library targeted at embedded and RTOS environments" |
230 |
HOMEPAGE="http://www.yassl.com/yaSSL/Home.html" |
231 |
SRC_URI="http://dev.gentoo.org/~blueness/${PN}/${P}.zip" |
232 |
|
233 |
LICENSE="GPL-2" |
234 |
SLOT="0" |
235 |
KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86" |
236 |
|
237 |
CACHE_SIZE="smallstack small big huge" |
238 |
CRYPTO_OPTS="aes-gcm aes-ccm aes-ni blake2 camellia dsa ecc hc128 hkdf md2 md4 nullcipher psk leanpsk pkcs7 rabbit ripemd scep sha512 supportedcurves" |
239 |
CERT_OPTS="ocsp crl crl-monitor savesession savecert sessioncerts testcert" |
240 |
EXTRAS="atomicuser pkcallbacks sep maxfragment truncatedhmac tlsx" |
241 |
DEBUG="debug errorstrings memory test" |
242 |
|
243 |
# More trouble ahead, bug #512312 |
244 |
RESTRICT="test" |
245 |
|
246 |
#Note: sniffer is broken at the configure.ac level. Its not too important and we'll disable it for this release. |
247 |
#IUSE="-dtls examples extra fortress ipv6 httpd mcapi pwdbased sni sniffer static-libs threads zlib ${CACHE_SIZE} ${CRYPTO_OPTS} ${CERT_OPTS} ${EXTRAS} ${DEBUG}" |
248 |
IUSE="-dtls examples extra fortress ipv6 httpd mcapi pwdbased sni static-libs threads zlib ${CACHE_SIZE} ${CRYPTO_OPTS} ${CERT_OPTS} ${EXTRAS} ${DEBUG}" |
249 |
|
250 |
#You can only pick one cach size |
251 |
#sha512 is broken on x86 |
252 |
#Testing freezes with dtls |
253 |
REQUIRED_USE=" |
254 |
leanpsk? ( psk ) |
255 |
fortress? ( extra sha512 ) |
256 |
pwdbased? ( extra ) |
257 |
test? ( !dtls )" |
258 |
|
259 |
# Re-add sniffer? ( net-libs/libpcap ) to DEPEND when its fixed |
260 |
DEPEND="app-arch/unzip |
261 |
zlib? ( sys-libs/zlib )" |
262 |
RDEPEND="${DEPEND}" |
263 |
|
264 |
src_prepare() { |
265 |
epatch "${FILESDIR}"/${PN}-2.9.4-remove-hardened-flags.patch |
266 |
eautoreconf |
267 |
} |
268 |
|
269 |
src_configure() { |
270 |
local myconf=() |
271 |
|
272 |
if use debug; then |
273 |
myconf+=( --enable-debug ) |
274 |
fi |
275 |
|
276 |
if use x86; then |
277 |
#not pie friendly, sorry x86, no fast math for you :( |
278 |
myconf+=( --disable-keygen --disable-fastmath --disable-fasthugemath --disable-bump ) |
279 |
else |
280 |
myconf+=( --enable-keygen --enable-fastmath --enable-fasthugemath --enable-bump ) |
281 |
fi |
282 |
|
283 |
#Bug #454300 |
284 |
export C_EXTRA_FLAGS=${CFLAGS} |
285 |
|
286 |
econf \ |
287 |
$(usex threads --disable-singlethreaded --enable-singlethreaded) \ |
288 |
\ |
289 |
--disable-silent-rules \ |
290 |
--enable-certgen \ |
291 |
--disable-stacksize \ |
292 |
--disable-ntru \ |
293 |
--enable-filesystem \ |
294 |
--enable-inline \ |
295 |
--disable-oldtls \ |
296 |
--disable-valgrind \ |
297 |
--enable-asn \ |
298 |
--enable-md5 \ |
299 |
--enable-arc4 \ |
300 |
--enable-des3 \ |
301 |
--enable-aes \ |
302 |
--enable-sha \ |
303 |
--enable-rsa \ |
304 |
--enable-dh \ |
305 |
--enable-coding \ |
306 |
\ |
307 |
$(use_enable smallstack ) \ |
308 |
$(use_enable small smallcache) \ |
309 |
$(use_enable big bigcache) \ |
310 |
$(use_enable huge hugecache) \ |
311 |
\ |
312 |
$(use_enable aes-gcm aesgcm) \ |
313 |
$(use_enable aes-ccm aesccm) \ |
314 |
$(use_enable aes-ni aesni) \ |
315 |
$(use_enable blake2) \ |
316 |
$(use_enable camellia) \ |
317 |
$(use_enable dsa) \ |
318 |
$(use_enable ecc) \ |
319 |
$(use_enable hc128) \ |
320 |
$(use_enable hkdf) \ |
321 |
$(use_enable md2) \ |
322 |
$(use_enable md4) \ |
323 |
$(use_enable nullcipher) \ |
324 |
$(use_enable psk) \ |
325 |
$(use_enable leanpsk) \ |
326 |
$(use_enable pkcs7) \ |
327 |
$(use_enable rabbit) \ |
328 |
$(use_enable ripemd) \ |
329 |
$(use_enable scep) \ |
330 |
$(use_enable sha512) \ |
331 |
$(use_enable supportedcurves) \ |
332 |
\ |
333 |
$(use_enable ocsp) \ |
334 |
$(use_enable crl) \ |
335 |
$(use_enable crl-monitor) \ |
336 |
$(use_enable savesession) \ |
337 |
$(use_enable savecert) \ |
338 |
$(use_enable sessioncerts) \ |
339 |
$(use_enable testcert) \ |
340 |
\ |
341 |
$(use_enable atomicuser) \ |
342 |
$(use_enable pkcallbacks) \ |
343 |
$(use_enable sep) \ |
344 |
$(use_enable maxfragment) \ |
345 |
$(use_enable truncatedhmac) \ |
346 |
$(use_enable tlsx) \ |
347 |
\ |
348 |
$(use_enable errorstrings) \ |
349 |
$(use_enable memory) \ |
350 |
\ |
351 |
$(use_enable dtls) \ |
352 |
$(use_enable examples) \ |
353 |
$(use_enable extra opensslextra) \ |
354 |
$(use_enable fortress) \ |
355 |
$(use_enable ipv6) \ |
356 |
$(use_enable httpd webserver) \ |
357 |
$(use_enable mcapi) \ |
358 |
$(use_enable pwdbased) \ |
359 |
$(use_enable sni) \ |
360 |
$(use_enable static-libs static) \ |
361 |
$(use_with zlib libz) \ |
362 |
"${myconf[@]}" |
363 |
|
364 |
# Re-add $(use_enable sniffer) when its fixed |
365 |
} |
366 |
|
367 |
src_test() { |
368 |
"${S}"/tests/unit |
369 |
"${S}"/ctaocrypt/benchmark/benchmark |
370 |
} |
371 |
|
372 |
src_install() { |
373 |
default |
374 |
|
375 |
mv "${D}"/usr/share/doc/"${PN}"/* \ |
376 |
"${D}"/usr/share/doc/"${P}"/ |
377 |
rmdir "${D}"/usr/share/doc/"${PN}"/ |
378 |
} |