Gentoo Archives: gentoo-commits

From: "Anthony G. Basile (blueness)" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/cyassl: metadata.xml cyassl-2.8.0.ebuild ChangeLog
Date: Sat, 23 Nov 2013 20:15:02
Message-Id: 20131123201459.117082004B@flycatcher.gentoo.org
1 blueness 13/11/23 20:14:58
2
3 Modified: metadata.xml ChangeLog
4 Added: cyassl-2.8.0.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
9
10 Revision Changes Path
11 1.6 net-libs/cyassl/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/cyassl/metadata.xml?rev=1.6&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/cyassl/metadata.xml?rev=1.6&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/cyassl/metadata.xml?r1=1.5&r2=1.6
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-libs/cyassl/metadata.xml,v
20 retrieving revision 1.5
21 retrieving revision 1.6
22 diff -u -r1.5 -r1.6
23 --- metadata.xml 26 Jun 2013 14:55:09 -0000 1.5
24 +++ metadata.xml 23 Nov 2013 20:14:58 -0000 1.6
25 @@ -41,6 +41,12 @@
26 <flag name="savecert">Support certificate saving</flag>
27 <flag name="sessioncerts">Store session certificates</flag>
28 <flag name="testcert">Enable certificate testing</flag>
29 + <flag name="atomicuser">Enable Atomic User Record Layer</flag>
30 + <flag name="pkcallbacks">Enable Public Key Callbacks</flag>
31 + <flag name="sep">Enable sep extensions</flag>
32 + <flag name="maxfragment">Enable Maximum Fragment Length</flag>
33 + <flag name="truncatedhmac">Enable Truncated HMAC</flag>
34 + <flag name="tlsx">Enable all TLS Extensions</flag>
35 <flag name="errorstrings">Enable error strings table</flag>
36 <flag name="memory">Enable memory callbacks</flag>
37 <flag name="dtls">Enable datagram TLS (must be disabled for tests)</flag>
38
39
40
41 1.39 net-libs/cyassl/ChangeLog
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/cyassl/ChangeLog?rev=1.39&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/cyassl/ChangeLog?rev=1.39&content-type=text/plain
45 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/cyassl/ChangeLog?r1=1.38&r2=1.39
46
47 Index: ChangeLog
48 ===================================================================
49 RCS file: /var/cvsroot/gentoo-x86/net-libs/cyassl/ChangeLog,v
50 retrieving revision 1.38
51 retrieving revision 1.39
52 diff -u -r1.38 -r1.39
53 --- ChangeLog 26 Jun 2013 14:55:09 -0000 1.38
54 +++ ChangeLog 23 Nov 2013 20:14:58 -0000 1.39
55 @@ -1,6 +1,12 @@
56 # ChangeLog for net-libs/cyassl
57 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
58 -# $Header: /var/cvsroot/gentoo-x86/net-libs/cyassl/ChangeLog,v 1.38 2013/06/26 14:55:09 blueness Exp $
59 +# $Header: /var/cvsroot/gentoo-x86/net-libs/cyassl/ChangeLog,v 1.39 2013/11/23 20:14:58 blueness Exp $
60 +
61 +*cyassl-2.8.0 (23 Nov 2013)
62 +
63 + 23 Nov 2013; Anthony G. Basile <blueness@g.o> +cyassl-2.8.0.ebuild,
64 + metadata.xml:
65 + Version bump
66
67 *cyassl-2.7.0 (26 Jun 2013)
68
69
70
71
72 1.1 net-libs/cyassl/cyassl-2.8.0.ebuild
73
74 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/cyassl/cyassl-2.8.0.ebuild?rev=1.1&view=markup
75 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/cyassl/cyassl-2.8.0.ebuild?rev=1.1&content-type=text/plain
76
77 Index: cyassl-2.8.0.ebuild
78 ===================================================================
79 # Copyright 1999-2013 Gentoo Foundation
80 # Distributed under the terms of the GNU General Public License v2
81 # $Header: /var/cvsroot/gentoo-x86/net-libs/cyassl/cyassl-2.8.0.ebuild,v 1.1 2013/11/23 20:14:58 blueness Exp $
82
83 EAPI="5"
84
85 inherit eutils
86
87 DESCRIPTION="Lightweight SSL/TLS library targeted at embedded and RTOS environments"
88 HOMEPAGE="http://www.yassl.com/yaSSL/Home.html"
89 SRC_URI="http://dev.gentoo.org/~blueness/${PN}/${P}.zip"
90
91 LICENSE="GPL-2"
92 SLOT="0"
93 KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86"
94
95 #Add CRYPTO_OPTS=ecc when fixed
96 CACHE_SIZE="small big +huge"
97 CRYPTO_OPTS="+aes aes-gcm aes-ccm aes-ni +arc4 +asn blake2 camellia +coding +dh dsa +des3 ecc +hc128 md2 md4 +md5 nullcipher +psk leanpsk rabbit +ripemd +rsa +sha sha512"
98 CERT_OPTS="ocsp crl crl-monitor savesession savecert +sessioncerts +testcert"
99 EXTRAS="atomicuser pkcallbacks sep maxfragment truncatedhmac tlsx"
100 DEBUG="debug +errorstrings +memory test"
101 IUSE="-dtls examples extra fortress ipv6 +httpd mcapi pwdbased sni sniffer static-libs threads +zlib cyassl-hardening ${CACHE_SIZE} ${CRYPTO_OPTS} ${CERT_OPTS} ${EXTRAS} ${DEBUG}"
102
103 #You can only pick one cach size
104 #sha512 is broken on x86
105 #Testing freezes with dtls
106 REQUIRED_USE="^^ ( small big huge )
107 leanpsk? ( psk )
108 fortress? ( extra sha512 )
109 pwdbased? ( extra )
110 test? ( !dtls )"
111
112 DEPEND="app-arch/unzip
113 sniffer? ( net-libs/libpcap )
114 zlib? ( sys-libs/zlib )"
115 RDEPEND="${DEPEND}"
116
117 src_prepare() {
118 epatch "${FILESDIR}"/${PN}-2.0.8-disable-testsuit-ifnothreads.patch
119 }
120
121 src_configure() {
122 local myconf=()
123
124 if use threads; then
125 myconf+=( --disable-singlethreaded )
126 else
127 myconf+=( --enable-singlethreaded )
128 fi
129
130 if use amd64; then
131 myconf+=( --enable-fastmath --enable-fasthugemath --enable-bump )
132 elif use x86; then
133 #not pie friendly, sorry x86, no fast math for you :(
134 myconf+=( --disable-fastmath --disable-fasthugemath --disable-bump )
135 fi
136
137 #Bug #454300
138 export C_EXTRA_FLAGS=${CFLAGS}
139
140 econf \
141 --disable-silent-rules \
142 --enable-keygen \
143 --enable-certgen \
144 --disable-stacksize \
145 --disable-ntru \
146 --enable-filesystem \
147 --enable-inline \
148 --disable-oldtls \
149 --disable-valgrind \
150 \
151 $(use_enable small smallcache) \
152 $(use_enable big bigcache) \
153 $(use_enable huge hugecache) \
154 \
155 $(use_enable aes) \
156 $(use_enable aes-gcm aesgcm) \
157 $(use_enable aes-ccm aesccm) \
158 $(use_enable aes-ni aesni) \
159 $(use_enable arc4) \
160 $(use_enable asn) \
161 $(use_enable blake2) \
162 $(use_enable camellia) \
163 $(use_enable coding) \
164 $(use_enable dh) \
165 $(use_enable dsa) \
166 $(use_enable des3) \
167 $(use_enable ecc) \
168 $(use_enable hc128) \
169 $(use_enable md2) \
170 $(use_enable md4) \
171 $(use_enable md5) \
172 $(use_enable nullcipher) \
173 $(use_enable psk) \
174 $(use_enable leanpsk) \
175 $(use_enable rabbit) \
176 $(use_enable ripemd) \
177 $(use_enable rsa) \
178 $(use_enable sha) \
179 $(use_enable sha512) \
180 \
181 $(use_enable ocsp) \
182 $(use_enable crl) \
183 $(use_enable crl-monitor) \
184 $(use_enable savesession) \
185 $(use_enable savecert) \
186 $(use_enable sessioncerts) \
187 $(use_enable testcert) \
188 \
189 $(use_enable atomicuser) \
190 $(use_enable pkcallbacks) \
191 $(use_enable sep) \
192 $(use_enable maxfragment) \
193 $(use_enable truncatedhmac) \
194 $(use_enable tlsx) \
195 \
196 $(use_enable debug) \
197 $(use_enable errorstrings) \
198 $(use_enable memory) \
199 \
200 $(use_enable dtls) \
201 $(use_enable examples) \
202 $(use_enable extra opensslextra) \
203 $(use_enable fortress) \
204 $(use_enable ipv6) \
205 $(use_enable httpd webserver) \
206 $(use_enable mcapi) \
207 $(use_enable pwdbased) \
208 $(use_enable sni) \
209 $(use_enable sniffer) \
210 $(use_enable static-libs static) \
211 $(use_with zlib libz) \
212 $(use_enable cyassl-hardening gcc-hardening) \
213 "${myconf[@]}"
214 }
215
216 src_test() {
217 "${S}"/tests/unit
218 "${S}"/ctaocrypt/benchmark/benchmark
219 }
220
221 src_install() {
222 default
223
224 mv "${D}"/usr/share/doc/"${PN}"/* \
225 "${D}"/usr/share/doc/"${P}"/
226 rmdir "${D}"/usr/share/doc/"${PN}"/
227 }