* [gentoo-commits] dev/blueness:master commit in: net-libs/cyassl/, net-libs/cyassl/files/
@ 2012-04-10 16:24 Anthony G. Basile
0 siblings, 0 replies; 3+ messages in thread
From: Anthony G. Basile @ 2012-04-10 16:24 UTC (permalink / raw
To: gentoo-commits
commit: ff90bf2f195a78126aeccdc3f686166246b32389
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 10 16:23:53 2012 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Tue Apr 10 16:23:53 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/blueness.git;a=commit;h=ff90bf2f
net-libs/cyassl: fix testsuite and gnustack bugs
---
net-libs/cyassl/Manifest | 6 ++-
net-libs/cyassl/cyassl-2.0.8.ebuild | 33 +++++++++++++------
.../files/cyassl-2.0.8-disable-testsuit.patch | 24 ++++++++++++++
.../cyassl/files/cyassl-2.0.8-fix-gnustack.patch | 10 ++++++
net-libs/cyassl/metadata.xml | 2 +
5 files changed, 62 insertions(+), 13 deletions(-)
diff --git a/net-libs/cyassl/Manifest b/net-libs/cyassl/Manifest
index 451c233..31df95c 100644
--- a/net-libs/cyassl/Manifest
+++ b/net-libs/cyassl/Manifest
@@ -1,3 +1,5 @@
+AUX cyassl-2.0.8-disable-testsuit.patch 734 RMD160 c784e25897f1196330982d1e70a5ee0f9146316f SHA1 b0bf5bf802541cd9e1d208496776a3605f47a1a5 SHA256 972057b9a614bf0ea4e3acf87df7ce4e528a67a59799ff7991b51cf3f85442ba
+AUX cyassl-2.0.8-fix-gnustack.patch 390 RMD160 e6e15c80e750b6872bcde37a1378885d60a688dc SHA1 797a2918b11b123a68e6b83013a329884fa5bc3a SHA256 8a8bed2bf340081cde93bdd3790a90775f8dad79c12e9fdd4355bb9f0fa2640f
DIST cyassl-2.0.8.zip 894570 RMD160 0c2db4947505829b09ac51b1184fcdba210e0b38 SHA1 13310489944b69b1b001f8d9f15464d45717ed51 SHA256 bcf26384f155c5fe2fdec82eea41894b7742fc39c651d6c52e80824f63a4a09b
-EBUILD cyassl-2.0.8.ebuild 2380 RMD160 40ce47c50459a8d3fa99442ff64f54d130ca6763 SHA1 a0d5da2d8632e55b2b51658616099e1027e09e24 SHA256 1617f8204109666131c9f8b655c42c414f783e0df4d4a3620e013ec1b14ec9e2
-MISC metadata.xml 1264 RMD160 cb61e63bee0e50296813d2024668f363c5f2f726 SHA1 54b3eb7795d8f7a136d298920ee143818ad0903a SHA256 19040c79a67d7e64a0f989e1c32fc3347562717d6938108763a5e620bfe1fb27
+EBUILD cyassl-2.0.8.ebuild 2658 RMD160 041c6affe3748c982768725292c8e4afb12c75b4 SHA1 9ced550dfff66722f7a0261fdda01e18d6f13f35 SHA256 f75da33b7e2ed9f15358a8370c383c623c8bbe3faa652f7c73af8f1105fe15e5
+MISC metadata.xml 1304 RMD160 ed7c2b27d40c079350ffbf95fcabeda053d2bc6d SHA1 11a85fe5e88b93eec6c91daec33886c23f408f41 SHA256 e9ab659127538acac61926181d1427c036ef49f40db3ff166cd8f20f4ba71c87
diff --git a/net-libs/cyassl/cyassl-2.0.8.ebuild b/net-libs/cyassl/cyassl-2.0.8.ebuild
index 4e35773..7cc32a5 100644
--- a/net-libs/cyassl/cyassl-2.0.8.ebuild
+++ b/net-libs/cyassl/cyassl-2.0.8.ebuild
@@ -4,6 +4,8 @@
EAPI="4"
+inherit eutils
+
DESCRIPTION="Lightweight SSL/TLS library targeted at embedded and RTOS environments"
HOMEPAGE="http://www.yassl.com/yaSSL/Home.html"
SRC_URI="http://dev.gentoo.org/~blueness/${PN}/${P}.zip"
@@ -12,20 +14,22 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+#Add CRYPTO_OPTS=ecc when fixed
CACHE_SIZE="small big +huge"
-CRTYPT_OPTS="aes-ni ecc +hc128 +psk +ripemd +sha512"
-IUSE="+dtls ipv6 httpd sessioncerts +sniffer testcert threads +zlib cyassl-hardening ${CACHE_SIZE} ${CRTYPT_OPTS}"
+CRYPTO_OPTS="aes-ni +hc128 +psk +ripemd +sha512"
+IUSE="-dtls ipv6 +httpd +sessioncerts +sniffer +testcert threads +zlib cyassl-hardening ${CACHE_SIZE} ${CRYPTO_OPTS}"
+# Testing requires threads and freezes with dtls
REQUIRED_USE="^^ ( small big huge )
- test? ( threads )"
+ test? ( threads !dtls )"
DEPEND="zlib? ( sys-libs/zlib )"
RDEPEND="${DEPEND}"
src_prepare() {
- if ! use test; then
- echo "int main() { ; return 0; }" > "${S}"/testsuite/testsuite.c
- fi
+ epatch "${FILESDIR}"/${P}-disable-testsuit.patch
+ #Apply unconditionally but only needed if USE="aes-ni"
+ epatch "${FILESDIR}"/${P}-fix-gnustack.patch
}
src_configure() {
@@ -37,11 +41,8 @@ src_configure() {
myconf+=( --enable-singleThreaded )
fi
- # --enable-noFilesystem Enable No Filesystem (default: disabled)
- # --enable-noInline Enable No inline (default: disabled)
-
#There are lots of options, so we'll force a few reasonable
- #We may change this in the future
+ #We may change this in the future, in particular ecc needs to be fixed
econf \
--enable-opensslExtra \
--enable-fortress \
@@ -51,14 +52,16 @@ src_configure() {
--enable-keygen \
--enable-certgen \
--disable-debug \
+ --disable-ecc \
--disable-small \
--disable-ntru \
+ --disable-noFilesystem \
+ --disable-noInline \
--disable-gcc-lots-o-warnings \
$(use_enable small smallcache) \
$(use_enable big bigcache) \
$(use_enable huge hugecache) \
$(use_enable aes-ni aesni) \
- $(use_enable ecc) \
$(use_enable hc128) \
$(use_enable psk) \
$(use_enable ripemd) \
@@ -74,3 +77,11 @@ src_configure() {
$(use_with zlib libz) \
"${myconf[@]}"
}
+
+src_install() {
+ default
+
+ mv "${D}"/usr/share/doc/"${PN}"/* \
+ "${D}"/usr/share/doc/"${P}"/
+ rmdir "${D}"/usr/share/doc/"${PN}"/
+}
diff --git a/net-libs/cyassl/files/cyassl-2.0.8-disable-testsuit.patch b/net-libs/cyassl/files/cyassl-2.0.8-disable-testsuit.patch
new file mode 100644
index 0000000..b1c2cbe
--- /dev/null
+++ b/net-libs/cyassl/files/cyassl-2.0.8-disable-testsuit.patch
@@ -0,0 +1,24 @@
+diff -Naur cyassl-2.0.8.orig//testsuite/testsuite.c cyassl-2.0.8/testsuite/testsuite.c
+--- cyassl-2.0.8.orig//testsuite/testsuite.c 2012-02-13 14:51:39.000000000 -0500
++++ cyassl-2.0.8/testsuite/testsuite.c 2012-04-10 10:26:40.000000000 -0400
+@@ -27,10 +27,11 @@
+ #include <cyassl/test.h>
+ #include <cyassl/ctaocrypt/md5.h>
+
++/* Create a stub rather than #error out */
++/* We can run the tests manually */
+ #ifdef SINGLE_THREADED
+- #error testsuite needs threads to run, please run ctaocrypt/test, \
+- and the examples/ individually
+-#endif
++int main() { return 0; }
++#else
+
+ void wait_tcp_ready(func_args*);
+ void ctaocrypt_test(void*);
+@@ -230,4 +231,4 @@
+ fclose(f);
+ }
+
+-
++#endif /* SINGLE_THREADED */
diff --git a/net-libs/cyassl/files/cyassl-2.0.8-fix-gnustack.patch b/net-libs/cyassl/files/cyassl-2.0.8-fix-gnustack.patch
new file mode 100644
index 0000000..6906708
--- /dev/null
+++ b/net-libs/cyassl/files/cyassl-2.0.8-fix-gnustack.patch
@@ -0,0 +1,10 @@
+diff -Naur cyassl-2.0.8.orig//ctaocrypt/src/aes_asm.s cyassl-2.0.8/ctaocrypt/src/aes_asm.s
+--- cyassl-2.0.8.orig//ctaocrypt/src/aes_asm.s 2011-09-26 18:22:08.000000000 -0400
++++ cyassl-2.0.8/ctaocrypt/src/aes_asm.s 2012-04-10 12:20:21.000000000 -0400
+@@ -482,3 +482,6 @@
+ pxor %xmm2, %xmm3
+ ret
+
++#if defined(__linux__) && defined(__ELF__)
++.section .note.GNU-stack,"",%progbits
++#endif
diff --git a/net-libs/cyassl/metadata.xml b/net-libs/cyassl/metadata.xml
index 9c1518a..01a7145 100644
--- a/net-libs/cyassl/metadata.xml
+++ b/net-libs/cyassl/metadata.xml
@@ -7,7 +7,9 @@
</maintainer>
<use>
<flag name="aes-ni">Enable Intel AES instruction support</flag>
+ <!-- add this when ecc is fixed
<flag name="ecc">Enable Elliptic Curve support</flag>
+ -->
<flag name="hc128">Enable HC-128 support</flag>
<flag name="psk">Enable Pre-Shared Key support</flag>
<flag name="ripemd">Enable RIPEMD-160 support</flag>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] dev/blueness:master commit in: net-libs/cyassl/, net-libs/cyassl/files/
@ 2012-04-10 19:47 Anthony G. Basile
0 siblings, 0 replies; 3+ messages in thread
From: Anthony G. Basile @ 2012-04-10 19:47 UTC (permalink / raw
To: gentoo-commits
commit: 4a2b6322003008b5cae96371b2578c4a2e1aa6ba
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 10 19:47:30 2012 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Tue Apr 10 19:47:30 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/blueness.git;a=commit;h=4a2b6322
net-libs/cyassl: arch testing before going on the tree
---
net-libs/cyassl/Manifest | 4 ++--
net-libs/cyassl/cyassl-2.0.8.ebuild | 14 ++++++++++----
...yassl-2.0.8-disable-testsuit-ifnothreads.patch} | 0
3 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/net-libs/cyassl/Manifest b/net-libs/cyassl/Manifest
index 31df95c..fbebaad 100644
--- a/net-libs/cyassl/Manifest
+++ b/net-libs/cyassl/Manifest
@@ -1,5 +1,5 @@
-AUX cyassl-2.0.8-disable-testsuit.patch 734 RMD160 c784e25897f1196330982d1e70a5ee0f9146316f SHA1 b0bf5bf802541cd9e1d208496776a3605f47a1a5 SHA256 972057b9a614bf0ea4e3acf87df7ce4e528a67a59799ff7991b51cf3f85442ba
+AUX cyassl-2.0.8-disable-testsuit-ifnothreads.patch 734 RMD160 c784e25897f1196330982d1e70a5ee0f9146316f SHA1 b0bf5bf802541cd9e1d208496776a3605f47a1a5 SHA256 972057b9a614bf0ea4e3acf87df7ce4e528a67a59799ff7991b51cf3f85442ba
AUX cyassl-2.0.8-fix-gnustack.patch 390 RMD160 e6e15c80e750b6872bcde37a1378885d60a688dc SHA1 797a2918b11b123a68e6b83013a329884fa5bc3a SHA256 8a8bed2bf340081cde93bdd3790a90775f8dad79c12e9fdd4355bb9f0fa2640f
DIST cyassl-2.0.8.zip 894570 RMD160 0c2db4947505829b09ac51b1184fcdba210e0b38 SHA1 13310489944b69b1b001f8d9f15464d45717ed51 SHA256 bcf26384f155c5fe2fdec82eea41894b7742fc39c651d6c52e80824f63a4a09b
-EBUILD cyassl-2.0.8.ebuild 2658 RMD160 041c6affe3748c982768725292c8e4afb12c75b4 SHA1 9ced550dfff66722f7a0261fdda01e18d6f13f35 SHA256 f75da33b7e2ed9f15358a8370c383c623c8bbe3faa652f7c73af8f1105fe15e5
+EBUILD cyassl-2.0.8.ebuild 2719 RMD160 aafb9c8a0e16f69afe0273d44a5d009fe1914924 SHA1 40672341a2f2349a54cc08d5c6ba83f36fa350c2 SHA256 b5a7bf86e40135854d2ab63ef0bfb7eb1024f895692d2ac1fee4b37c26505abb
MISC metadata.xml 1304 RMD160 ed7c2b27d40c079350ffbf95fcabeda053d2bc6d SHA1 11a85fe5e88b93eec6c91daec33886c23f408f41 SHA256 e9ab659127538acac61926181d1427c036ef49f40db3ff166cd8f20f4ba71c87
diff --git a/net-libs/cyassl/cyassl-2.0.8.ebuild b/net-libs/cyassl/cyassl-2.0.8.ebuild
index 7cc32a5..077ae17 100644
--- a/net-libs/cyassl/cyassl-2.0.8.ebuild
+++ b/net-libs/cyassl/cyassl-2.0.8.ebuild
@@ -19,16 +19,17 @@ CACHE_SIZE="small big +huge"
CRYPTO_OPTS="aes-ni +hc128 +psk +ripemd +sha512"
IUSE="-dtls ipv6 +httpd +sessioncerts +sniffer +testcert threads +zlib cyassl-hardening ${CACHE_SIZE} ${CRYPTO_OPTS}"
-# Testing requires threads and freezes with dtls
+# Testing freezes with dtls
REQUIRED_USE="^^ ( small big huge )
- test? ( threads !dtls )"
+ test? ( !dtls )"
DEPEND="zlib? ( sys-libs/zlib )"
RDEPEND="${DEPEND}"
src_prepare() {
- epatch "${FILESDIR}"/${P}-disable-testsuit.patch
- #Apply unconditionally but only needed if USE="aes-ni"
+ epatch "${FILESDIR}"/${P}-disable-testsuit-ifnothreads.patch
+
+ #Apply unconditionally, but only triggered if USE="aes-ni"
epatch "${FILESDIR}"/${P}-fix-gnustack.patch
}
@@ -78,6 +79,11 @@ src_configure() {
"${myconf[@]}"
}
+src_test() {
+ "${S}"/tests/unit
+ "${S}"/ctaocrypt/benchmark/benchmark
+}
+
src_install() {
default
diff --git a/net-libs/cyassl/files/cyassl-2.0.8-disable-testsuit.patch b/net-libs/cyassl/files/cyassl-2.0.8-disable-testsuit-ifnothreads.patch
similarity index 100%
rename from net-libs/cyassl/files/cyassl-2.0.8-disable-testsuit.patch
rename to net-libs/cyassl/files/cyassl-2.0.8-disable-testsuit-ifnothreads.patch
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] dev/blueness:master commit in: net-libs/cyassl/, net-libs/cyassl/files/
@ 2012-04-11 2:01 Anthony G. Basile
0 siblings, 0 replies; 3+ messages in thread
From: Anthony G. Basile @ 2012-04-11 2:01 UTC (permalink / raw
To: gentoo-commits
commit: e0cd5e0542839806742894b3465d206b962fcd58
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 11 02:01:04 2012 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Wed Apr 11 02:01:04 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/blueness.git;a=commit;h=e0cd5e05
net-libs/cyassl: moved to tree
---
net-libs/cyassl/Manifest | 5 -
net-libs/cyassl/cyassl-2.0.8.ebuild | 101 --------------------
...cyassl-2.0.8-disable-testsuit-ifnothreads.patch | 24 -----
.../cyassl/files/cyassl-2.0.8-fix-gnustack.patch | 10 --
net-libs/cyassl/metadata.xml | 28 ------
5 files changed, 0 insertions(+), 168 deletions(-)
diff --git a/net-libs/cyassl/Manifest b/net-libs/cyassl/Manifest
deleted file mode 100644
index d237fef..0000000
--- a/net-libs/cyassl/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-AUX cyassl-2.0.8-disable-testsuit-ifnothreads.patch 734 RMD160 c784e25897f1196330982d1e70a5ee0f9146316f SHA1 b0bf5bf802541cd9e1d208496776a3605f47a1a5 SHA256 972057b9a614bf0ea4e3acf87df7ce4e528a67a59799ff7991b51cf3f85442ba
-AUX cyassl-2.0.8-fix-gnustack.patch 390 RMD160 e6e15c80e750b6872bcde37a1378885d60a688dc SHA1 797a2918b11b123a68e6b83013a329884fa5bc3a SHA256 8a8bed2bf340081cde93bdd3790a90775f8dad79c12e9fdd4355bb9f0fa2640f
-DIST cyassl-2.0.8.tar.gz 747694 RMD160 d5507037d5a88b983aa345014985fe89b8a0c282 SHA1 52eb1087ebfdeb19438bcdf9f21aa20ed9c0b06f SHA256 c629c1e8ab7e2fa9d0d8d575caaceb3325384f86e88288a07d156380d1bf3ab4
-EBUILD cyassl-2.0.8.ebuild 2947 RMD160 ed64cd26861c95530a41f6fa55a45464e5d94390 SHA1 a3d4dbb107aa4f862ed7c59e8e9023cf89d12e83 SHA256 5a3544ffe57d8772337940bd74e51d66d4606a7510fc2a4014b91eda857901c3
-MISC metadata.xml 1304 RMD160 ed7c2b27d40c079350ffbf95fcabeda053d2bc6d SHA1 11a85fe5e88b93eec6c91daec33886c23f408f41 SHA256 e9ab659127538acac61926181d1427c036ef49f40db3ff166cd8f20f4ba71c87
diff --git a/net-libs/cyassl/cyassl-2.0.8.ebuild b/net-libs/cyassl/cyassl-2.0.8.ebuild
deleted file mode 100644
index da208cc..0000000
--- a/net-libs/cyassl/cyassl-2.0.8.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="4"
-
-inherit eutils
-
-DESCRIPTION="Lightweight SSL/TLS library targeted at embedded and RTOS environments"
-HOMEPAGE="http://www.yassl.com/yaSSL/Home.html"
-SRC_URI="http://dev.gentoo.org/~blueness/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-#Add CRYPTO_OPTS=ecc when fixed
-CACHE_SIZE="small big +huge"
-CRYPTO_OPTS="aes-ni +hc128 +psk +ripemd sha512"
-IUSE="-dtls ipv6 +httpd +sessioncerts +sniffer +testcert threads +zlib cyassl-hardening ${CACHE_SIZE} ${CRYPTO_OPTS}"
-
-#You can only pick one cach size
-#sha512 is broken on x86
-#Testing freezes with dtls
-REQUIRED_USE="^^ ( small big huge )
- x86? ( !sha512 )
- test? ( !dtls )"
-
-DEPEND="sniffer? ( net-libs/libpcap )
- zlib? ( sys-libs/zlib )"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-disable-testsuit-ifnothreads.patch
-
- #Apply unconditionally, but only triggered if USE="aes-ni"
- epatch "${FILESDIR}"/${P}-fix-gnustack.patch
-}
-
-src_configure() {
- local myconf=()
-
- if use threads; then
- myconf+=( --disable-singleThreaded )
- else
- myconf+=( --enable-singleThreaded )
- fi
-
- if use amd64; then
- myconf+=( --enable-fastmath --enable-fasthugemath --enable-bump )
- elif use x86; then
- #not pie friendly, sorry x86, no fast math for you :(
- myconf+=( --disable-fastmath --disable-fasthugemath --disable-bump )
- fi
-
- #There are lots of options, so we'll force a few reasonable
- #We may change this in the future, in particular ecc needs to be fixed
- econf \
- --enable-opensslExtra \
- --enable-fortress \
- --enable-keygen \
- --enable-certgen \
- --disable-debug \
- --disable-ecc \
- --disable-small \
- --disable-ntru \
- --disable-noFilesystem \
- --disable-noInline \
- --disable-gcc-lots-o-warnings \
- $(use_enable small smallcache) \
- $(use_enable big bigcache) \
- $(use_enable huge hugecache) \
- $(use_enable aes-ni aesni) \
- $(use_enable hc128) \
- $(use_enable psk) \
- $(use_enable ripemd) \
- $(use_enable sha512) \
- $(use_enable dtls) \
- $(use_enable ipv6) \
- $(use_enable httpd webServer) \
- $(use_enable sessioncerts) \
- $(use_enable sniffer) \
- $(use_enable testcert) \
- $(use_enable cyassl-hardening gcc-hardening) \
- $(use_enable cyassl-hardening linker-hardening) \
- $(use_with zlib libz) \
- "${myconf[@]}"
-}
-
-src_test() {
- "${S}"/tests/unit
- "${S}"/ctaocrypt/benchmark/benchmark
-}
-
-src_install() {
- default
-
- mv "${D}"/usr/share/doc/"${PN}"/* \
- "${D}"/usr/share/doc/"${P}"/
- rmdir "${D}"/usr/share/doc/"${PN}"/
-}
diff --git a/net-libs/cyassl/files/cyassl-2.0.8-disable-testsuit-ifnothreads.patch b/net-libs/cyassl/files/cyassl-2.0.8-disable-testsuit-ifnothreads.patch
deleted file mode 100644
index b1c2cbe..0000000
--- a/net-libs/cyassl/files/cyassl-2.0.8-disable-testsuit-ifnothreads.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -Naur cyassl-2.0.8.orig//testsuite/testsuite.c cyassl-2.0.8/testsuite/testsuite.c
---- cyassl-2.0.8.orig//testsuite/testsuite.c 2012-02-13 14:51:39.000000000 -0500
-+++ cyassl-2.0.8/testsuite/testsuite.c 2012-04-10 10:26:40.000000000 -0400
-@@ -27,10 +27,11 @@
- #include <cyassl/test.h>
- #include <cyassl/ctaocrypt/md5.h>
-
-+/* Create a stub rather than #error out */
-+/* We can run the tests manually */
- #ifdef SINGLE_THREADED
-- #error testsuite needs threads to run, please run ctaocrypt/test, \
-- and the examples/ individually
--#endif
-+int main() { return 0; }
-+#else
-
- void wait_tcp_ready(func_args*);
- void ctaocrypt_test(void*);
-@@ -230,4 +231,4 @@
- fclose(f);
- }
-
--
-+#endif /* SINGLE_THREADED */
diff --git a/net-libs/cyassl/files/cyassl-2.0.8-fix-gnustack.patch b/net-libs/cyassl/files/cyassl-2.0.8-fix-gnustack.patch
deleted file mode 100644
index 6906708..0000000
--- a/net-libs/cyassl/files/cyassl-2.0.8-fix-gnustack.patch
+++ /dev/null
@@ -1,10 +0,0 @@
-diff -Naur cyassl-2.0.8.orig//ctaocrypt/src/aes_asm.s cyassl-2.0.8/ctaocrypt/src/aes_asm.s
---- cyassl-2.0.8.orig//ctaocrypt/src/aes_asm.s 2011-09-26 18:22:08.000000000 -0400
-+++ cyassl-2.0.8/ctaocrypt/src/aes_asm.s 2012-04-10 12:20:21.000000000 -0400
-@@ -482,3 +482,6 @@
- pxor %xmm2, %xmm3
- ret
-
-+#if defined(__linux__) && defined(__ELF__)
-+.section .note.GNU-stack,"",%progbits
-+#endif
diff --git a/net-libs/cyassl/metadata.xml b/net-libs/cyassl/metadata.xml
deleted file mode 100644
index 01a7145..0000000
--- a/net-libs/cyassl/metadata.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer>
- <email>blueness@gentoo.org</email>
- <name>Anthony G. Basile</name>
- </maintainer>
- <use>
- <flag name="aes-ni">Enable Intel AES instruction support</flag>
- <!-- add this when ecc is fixed
- <flag name="ecc">Enable Elliptic Curve support</flag>
- -->
- <flag name="hc128">Enable HC-128 support</flag>
- <flag name="psk">Enable Pre-Shared Key support</flag>
- <flag name="ripemd">Enable RIPEMD-160 support</flag>
- <flag name="sha512">Enable SHA-160 support</flag>
- <flag name="small">Choose small cache size (excludes big or huge)</flag>
- <flag name="big">Choose big cache size (excludes small or huge)</flag>
- <flag name="huge">Choose big cache size (excludes small or big)</flag>
- <flag name="dtls">Enable datagram TLS</flag>
- <flag name="httpd">Enable features for yaSSL web server</flag>
- <flag name="sessioncerts">Store session certificates</flag>
- <flag name="sniffer">Allow collection/decryption of SSL traffic</flag>
- <flag name="sniffer">Allow collection/decryption of SSL traffic</flag>
- <flag name="testcert">Enable certificate testing</flag>
- <flag name="cyassl-hardening">Add hardening flags to CFLAGS/LDFLAGS</flag>
- </use>
-</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-04-11 2:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-10 16:24 [gentoo-commits] dev/blueness:master commit in: net-libs/cyassl/, net-libs/cyassl/files/ Anthony G. Basile
-- strict thread matches above, loose matches on Subject: below --
2012-04-10 19:47 Anthony G. Basile
2012-04-11 2:01 Anthony G. Basile
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox