1 |
blueness 14/05/31 13:20:34 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cyassl-3.0.0.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA) |
9 |
|
10 |
Revision Changes Path |
11 |
1.51 net-libs/cyassl/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/cyassl/ChangeLog?rev=1.51&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/cyassl/ChangeLog?rev=1.51&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/cyassl/ChangeLog?r1=1.50&r2=1.51 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/cyassl/ChangeLog,v |
20 |
retrieving revision 1.50 |
21 |
retrieving revision 1.51 |
22 |
diff -u -r1.50 -r1.51 |
23 |
--- ChangeLog 31 May 2014 13:12:54 -0000 1.50 |
24 |
+++ ChangeLog 31 May 2014 13:20:34 -0000 1.51 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-libs/cyassl |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-libs/cyassl/ChangeLog,v 1.50 2014/05/31 13:12:54 blueness Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-libs/cyassl/ChangeLog,v 1.51 2014/05/31 13:20:34 blueness Exp $ |
30 |
+ |
31 |
+*cyassl-3.0.0 (31 May 2014) |
32 |
+ |
33 |
+ 31 May 2014; Anthony G. Basile <blueness@g.o> +cyassl-3.0.0.ebuild: |
34 |
+ Version bump |
35 |
|
36 |
31 May 2014; Anthony G. Basile <blueness@g.o> cyassl-2.9.4.ebuild, |
37 |
metadata.xml: |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-libs/cyassl/cyassl-3.0.0.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/cyassl/cyassl-3.0.0.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/cyassl/cyassl-3.0.0.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: cyassl-3.0.0.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2014 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/cyassl/cyassl-3.0.0.ebuild,v 1.1 2014/05/31 13:20:34 blueness Exp $ |
51 |
|
52 |
EAPI="5" |
53 |
|
54 |
inherit eutils |
55 |
|
56 |
DESCRIPTION="Lightweight SSL/TLS library targeted at embedded and RTOS environments" |
57 |
HOMEPAGE="http://www.yassl.com/yaSSL/Home.html" |
58 |
SRC_URI="http://dev.gentoo.org/~blueness/${PN}/${P}.zip" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86" |
63 |
|
64 |
CACHE_SIZE="smallstack small big huge" |
65 |
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" |
66 |
CERT_OPTS="ocsp crl crl-monitor savesession savecert sessioncerts testcert" |
67 |
EXTRAS="atomicuser pkcallbacks sep maxfragment truncatedhmac tlsx" |
68 |
DEBUG="debug errorstrings memory test" |
69 |
|
70 |
#Note: sniffer is broken at the configure.ac level. Its not too important and we'll disable it for this release. |
71 |
#IUSE="-dtls examples extra fortress ipv6 httpd mcapi pwdbased sni sniffer static-libs threads zlib ${CACHE_SIZE} ${CRYPTO_OPTS} ${CERT_OPTS} ${EXTRAS} ${DEBUG}" |
72 |
IUSE="-dtls examples extra fortress ipv6 httpd mcapi pwdbased sni static-libs threads zlib ${CACHE_SIZE} ${CRYPTO_OPTS} ${CERT_OPTS} ${EXTRAS} ${DEBUG}" |
73 |
|
74 |
#You can only pick one cach size |
75 |
#sha512 is broken on x86 |
76 |
#Testing freezes with dtls |
77 |
REQUIRED_USE=" |
78 |
leanpsk? ( psk ) |
79 |
fortress? ( extra sha512 ) |
80 |
pwdbased? ( extra ) |
81 |
test? ( !dtls )" |
82 |
|
83 |
# Re-add sniffer? ( net-libs/libpcap ) to DEPEND when its fixed |
84 |
DEPEND="app-arch/unzip |
85 |
zlib? ( sys-libs/zlib )" |
86 |
RDEPEND="${DEPEND}" |
87 |
|
88 |
#src_prepare() { |
89 |
# epatch "${FILESDIR}"/${PN}-2.0.8-disable-testsuit-ifnothreads.patch |
90 |
#} |
91 |
|
92 |
src_configure() { |
93 |
local myconf=() |
94 |
|
95 |
if use x86; then |
96 |
#not pie friendly, sorry x86, no fast math for you :( |
97 |
myconf+=( --disable-keygen --disable-fastmath --disable-fasthugemath --disable-bump ) |
98 |
else |
99 |
myconf+=( --enable-keygen --enable-fastmath --enable-fasthugemath --enable-bump ) |
100 |
fi |
101 |
|
102 |
#Bug #454300 |
103 |
export C_EXTRA_FLAGS=${CFLAGS} |
104 |
|
105 |
econf \ |
106 |
$(usex threads --disable-singlethreaded --enable-singlethreaded) \ |
107 |
\ |
108 |
--disable-silent-rules \ |
109 |
--enable-keygen \ |
110 |
--enable-certgen \ |
111 |
--disable-stacksize \ |
112 |
--disable-ntru \ |
113 |
--enable-filesystem \ |
114 |
--enable-inline \ |
115 |
--disable-oldtls \ |
116 |
--disable-valgrind \ |
117 |
--enable-asn \ |
118 |
--enable-md5 \ |
119 |
--enable-arc4 \ |
120 |
--enable-des3 \ |
121 |
--enable-aes \ |
122 |
--enable-sha \ |
123 |
--enable-rsa \ |
124 |
--enable-dh \ |
125 |
--enable-coding \ |
126 |
\ |
127 |
$(use_enable smallstack ) \ |
128 |
$(use_enable small smallcache) \ |
129 |
$(use_enable big bigcache) \ |
130 |
$(use_enable huge hugecache) \ |
131 |
\ |
132 |
$(use_enable aes-gcm aesgcm) \ |
133 |
$(use_enable aes-ccm aesccm) \ |
134 |
$(use_enable aes-ni aesni) \ |
135 |
$(use_enable blake2) \ |
136 |
$(use_enable camellia) \ |
137 |
$(use_enable dsa) \ |
138 |
$(use_enable ecc) \ |
139 |
$(use_enable hc128) \ |
140 |
$(use_enable hkdf) \ |
141 |
$(use_enable md2) \ |
142 |
$(use_enable md4) \ |
143 |
$(use_enable nullcipher) \ |
144 |
$(use_enable psk) \ |
145 |
$(use_enable leanpsk) \ |
146 |
$(use_enable pkcs7) \ |
147 |
$(use_enable rabbit) \ |
148 |
$(use_enable ripemd) \ |
149 |
$(use_enable scep) \ |
150 |
$(use_enable sha512) \ |
151 |
$(use_enable supportedcurves) \ |
152 |
\ |
153 |
$(use_enable ocsp) \ |
154 |
$(use_enable crl) \ |
155 |
$(use_enable crl-monitor) \ |
156 |
$(use_enable savesession) \ |
157 |
$(use_enable savecert) \ |
158 |
$(use_enable sessioncerts) \ |
159 |
$(use_enable testcert) \ |
160 |
\ |
161 |
$(use_enable atomicuser) \ |
162 |
$(use_enable pkcallbacks) \ |
163 |
$(use_enable sep) \ |
164 |
$(use_enable maxfragment) \ |
165 |
$(use_enable truncatedhmac) \ |
166 |
$(use_enable tlsx) \ |
167 |
\ |
168 |
$(use_enable debug) \ |
169 |
$(use_enable errorstrings) \ |
170 |
$(use_enable memory) \ |
171 |
\ |
172 |
$(use_enable dtls) \ |
173 |
$(use_enable examples) \ |
174 |
$(use_enable extra opensslextra) \ |
175 |
$(use_enable fortress) \ |
176 |
$(use_enable ipv6) \ |
177 |
$(use_enable httpd webserver) \ |
178 |
$(use_enable mcapi) \ |
179 |
$(use_enable pwdbased) \ |
180 |
$(use_enable sni) \ |
181 |
$(use_enable static-libs static) \ |
182 |
$(use_with zlib libz) \ |
183 |
"${myconf[@]}" |
184 |
|
185 |
# Re-add $(use_enable sniffer) when its fixed |
186 |
} |
187 |
|
188 |
src_test() { |
189 |
"${S}"/tests/unit |
190 |
"${S}"/ctaocrypt/benchmark/benchmark |
191 |
} |
192 |
|
193 |
src_install() { |
194 |
default |
195 |
|
196 |
mv "${D}"/usr/share/doc/"${PN}"/* \ |
197 |
"${D}"/usr/share/doc/"${P}"/ |
198 |
rmdir "${D}"/usr/share/doc/"${PN}"/ |
199 |
} |