public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/blueness:master commit in: net-libs/cyassl/, net-libs/cyassl/files/
Date: Wed, 11 Apr 2012 02:01:11 +0000 (UTC)	[thread overview]
Message-ID: <1334109664.e0cd5e0542839806742894b3465d206b962fcd58.blueness@gentoo> (raw)

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>



             reply	other threads:[~2012-04-11  2:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-11  2:01 Anthony G. Basile [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-04-10 19:47 [gentoo-commits] dev/blueness:master commit in: net-libs/cyassl/, net-libs/cyassl/files/ Anthony G. Basile
2012-04-10 16:24 Anthony G. Basile

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1334109664.e0cd5e0542839806742894b3465d206b962fcd58.blueness@gentoo \
    --to=blueness@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox