1 |
blueness 12/12/28 01:55:02 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cyassl-2.4.6.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
|
8 |
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA) |
9 |
|
10 |
Revision Changes Path |
11 |
1.19 net-libs/cyassl/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/cyassl/ChangeLog?rev=1.19&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/cyassl/ChangeLog?rev=1.19&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/cyassl/ChangeLog?r1=1.18&r2=1.19 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/cyassl/ChangeLog,v |
20 |
retrieving revision 1.18 |
21 |
retrieving revision 1.19 |
22 |
diff -u -r1.18 -r1.19 |
23 |
--- ChangeLog 18 Oct 2012 21:34:31 -0000 1.18 |
24 |
+++ ChangeLog 28 Dec 2012 01:55:02 -0000 1.19 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-libs/cyassl |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-libs/cyassl/ChangeLog,v 1.18 2012/10/18 21:34:31 blueness Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-libs/cyassl/ChangeLog,v 1.19 2012/12/28 01:55:02 blueness Exp $ |
30 |
+ |
31 |
+*cyassl-2.4.6 (28 Dec 2012) |
32 |
+ |
33 |
+ 28 Dec 2012; Anthony G. Basile <blueness@g.o> +cyassl-2.4.6.ebuild: |
34 |
+ Version bump |
35 |
|
36 |
*cyassl-2.4.0 (18 Oct 2012) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 net-libs/cyassl/cyassl-2.4.6.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/cyassl/cyassl-2.4.6.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/cyassl/cyassl-2.4.6.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: cyassl-2.4.6.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2012 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/cyassl/cyassl-2.4.6.ebuild,v 1.1 2012/12/28 01:55:02 blueness Exp $ |
51 |
|
52 |
EAPI="4" |
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 ~x86" |
63 |
|
64 |
#Add CRYPTO_OPTS=ecc when fixed |
65 |
CACHE_SIZE="small big +huge" |
66 |
CRYPTO_OPTS="aes-gcm aes-ni +hc128 md2 +psk +ripemd sha512" |
67 |
CERT_OPTS="ocsp crl crl-monitor +sessioncerts +testcert" |
68 |
IUSE="debug -dtls ipv6 +httpd +sniffer static-libs threads +zlib cyassl-hardening ${CACHE_SIZE} ${CRYPTO_OPTS} ${CERT_OPTS}" |
69 |
|
70 |
#You can only pick one cach size |
71 |
#sha512 is broken on x86 |
72 |
#Testing freezes with dtls |
73 |
REQUIRED_USE="^^ ( small big huge ) |
74 |
test? ( !dtls )" |
75 |
|
76 |
DEPEND="app-arch/unzip |
77 |
sniffer? ( net-libs/libpcap ) |
78 |
zlib? ( sys-libs/zlib )" |
79 |
RDEPEND="${DEPEND}" |
80 |
|
81 |
src_prepare() { |
82 |
epatch "${FILESDIR}"/${PN}-2.0.8-disable-testsuit-ifnothreads.patch |
83 |
|
84 |
#Apply unconditionally, but only triggered if USE="aes-ni" |
85 |
epatch "${FILESDIR}"/${PN}-2.0.8-fix-gnustack.patch |
86 |
} |
87 |
|
88 |
src_configure() { |
89 |
local myconf=() |
90 |
|
91 |
if use threads; then |
92 |
myconf+=( --disable-singleThreaded ) |
93 |
else |
94 |
myconf+=( --enable-singleThreaded ) |
95 |
fi |
96 |
|
97 |
if use amd64; then |
98 |
myconf+=( --enable-fastmath --enable-fasthugemath --enable-bump ) |
99 |
elif use x86; then |
100 |
#not pie friendly, sorry x86, no fast math for you :( |
101 |
myconf+=( --disable-fastmath --disable-fasthugemath --disable-bump ) |
102 |
fi |
103 |
|
104 |
#There are lots of options, so we'll force a few reasonable |
105 |
#We may change this in the future, in particular ecc needs to be fixed |
106 |
econf \ |
107 |
--enable-opensslExtra \ |
108 |
--enable-fortress \ |
109 |
--enable-keygen \ |
110 |
--enable-certgen \ |
111 |
--disable-debug \ |
112 |
--disable-ecc \ |
113 |
--disable-small \ |
114 |
--disable-ntru \ |
115 |
--disable-noFilesystem \ |
116 |
--disable-noInline \ |
117 |
$(use_enable debug) \ |
118 |
$(use_enable small smallcache) \ |
119 |
$(use_enable big bigcache) \ |
120 |
$(use_enable huge hugecache) \ |
121 |
$(use_enable aes-gcm aesgcm) \ |
122 |
$(use_enable aes-ni aesni) \ |
123 |
$(use_enable hc128) \ |
124 |
$(use_enable md2) \ |
125 |
$(use_enable psk) \ |
126 |
$(use_enable ripemd) \ |
127 |
$(use_enable sha512) \ |
128 |
$(use_enable dtls) \ |
129 |
$(use_enable ipv6) \ |
130 |
$(use_enable httpd webServer) \ |
131 |
$(use_enable ocsp) \ |
132 |
$(use_enable crl) \ |
133 |
$(use_enable crl-monitor) \ |
134 |
$(use_enable sessioncerts) \ |
135 |
$(use_enable sniffer) \ |
136 |
$(use_enable testcert) \ |
137 |
$(use_enable static-libs static) \ |
138 |
$(use_enable cyassl-hardening gcc-hardening) \ |
139 |
$(use_with zlib libz) \ |
140 |
"${myconf[@]}" |
141 |
} |
142 |
|
143 |
src_test() { |
144 |
"${S}"/tests/unit |
145 |
"${S}"/ctaocrypt/benchmark/benchmark |
146 |
} |
147 |
|
148 |
src_install() { |
149 |
default |
150 |
|
151 |
mv "${D}"/usr/share/doc/"${PN}"/* \ |
152 |
"${D}"/usr/share/doc/"${P}"/ |
153 |
rmdir "${D}"/usr/share/doc/"${PN}"/ |
154 |
} |