summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2013-05-31 07:59:54 +0000
committerMichael Weber <xmw@gentoo.org>2013-05-31 07:59:54 +0000
commit4a494c9d2768b1e40e6927fbad9f6d2e1c02fefc (patch)
tree9f0390f4ed5c94f5123abfd598cf082f522e3d04 /net-libs/nacl
parentInitial import, dep of net-analyzer/netsniff-ng (diff)
downloadhistorical-4a494c9d2768b1e40e6927fbad9f6d2e1c02fefc.tar.gz
historical-4a494c9d2768b1e40e6927fbad9f6d2e1c02fefc.tar.bz2
historical-4a494c9d2768b1e40e6927fbad9f6d2e1c02fefc.zip
Initial import, dep of net-analyzer/netsniff-ng
Package-Manager: portage-2.2.0_alpha177/cvs/Linux x86_64 Manifest-Sign-Key: 0x62EEF090
Diffstat (limited to 'net-libs/nacl')
-rw-r--r--net-libs/nacl/Manifest13
-rw-r--r--net-libs/nacl/metadata.xml8
-rw-r--r--net-libs/nacl/nacl-0_p20110221.ebuild74
3 files changed, 94 insertions, 1 deletions
diff --git a/net-libs/nacl/Manifest b/net-libs/nacl/Manifest
index 797d4849d440..006a1b7132d0 100644
--- a/net-libs/nacl/Manifest
+++ b/net-libs/nacl/Manifest
@@ -1,3 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
DIST nacl-20110221.tar.bz2 163415 SHA256 4f277f89735c8b0b8a6bbd043b3efb3fa1cc68a9a5da6a076507d067fc3b3bf8 SHA512 4c031ceffe6a28dc74b46ac003d485531f78de467c802df73c8b22ca53644dabb7d2e3080b7bdd6583f0d07ad76b6d95bc0ffdce319ca2f80ee041e6fe618656 WHIRLPOOL 6fd80c68cf7c644189aba0e2cc72fd382149fc10fc69a208eaf5d51b45c3fbcc9a4a0284bf6dcfd05d34f1ef77ef7f3e735c68ce38dc3c4ca9f0412ac825a98a
-EBUILD nacl-0_p20110221.ebuild 1912 SHA256 e9cd166bde007d72615b228eca33935155e2ee0f67134175f98256ab478086f3 SHA512 192a5bfb9ba4d8bad936769ed4b77fdcc33a6a34e8dbe3e36df130415216b99eecbfab962ccb1f9eeb564f0dc3d6f88a998599fe889521958a0b39ef290e370e WHIRLPOOL aaa5bd276ddefca52e2350c97f56d2a957ee5b8d76842dbe1dffba96cd39aae3fe79a78ee059168d3acb9288c5be4a574ed7951be6b4dbe9692cace285a5918b
+EBUILD nacl-0_p20110221.ebuild 2008 SHA256 d70cfcbec37a8db5c998aee8205fae5d6532421a5531e688feacc640b5698c4c SHA512 a225afa402eb6fdea255ab51accd3fa0c2dba0c279270695beac628377b635379dcea16658737ac4a2a05a9634c0918f4b8e8822f1278415d6943ed027f75b9f WHIRLPOOL 344e3814ab2cec0bd8072eb0f4527dee818c3643246c7360093f13edb74603554cdef58d03c09ed9b153f2f67f1e5890572f9f8f7df15983456c3ce163c431f0
+MISC ChangeLog 368 SHA256 04e46750bf37c3433cc386ebe81a36acdd3713f6841b309e80dd1fe05ba724eb SHA512 49d2c3995cec779245d150659f11b878b375259b17f8c05d9e0e8280f2bf8427e1bad07bfe30e44a68f6c2433a1dae882a444b4d35c307ee5e19711160d85c25 WHIRLPOOL cf2384e9221aa8ec5327f92eb069ff8fc633dac26d3d4403b78393634504733c176c7f27520ec6d83f1212c3947290ea53bfb09263e4a2bee32f044cc11dd36b
MISC metadata.xml 223 SHA256 89097f936927d56068988263e382edb683f359b27293955708e9ade4d256220d SHA512 c9f6a48b2aa05afdf73b8bd824c65480d76e54b659ca39928398c66f764d34faf186255d8aea034737424a962cf35151b610d078a01f8193b027c63e1e3c51b5 WHIRLPOOL 1ce20c98a7e177b8f510ef41f3935b0db5e04b2ecf465a683b2f2515f6a3043c33e6e9efc87f5aaaf59b2ed9be376d9d16bc8beff66b11aaa50ea899bfdc1f62
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.20 (GNU/Linux)
+
+iF4EAREIAAYFAlGoWG8ACgkQknrdDGLu8JC80wD/UqbHEDEuiWYbJVFxzOlATTZ3
+kxgYcH8zafiJM18l+ggA/1ow/xEazP1xJatrrlFnXGqu/OrovaDsaeCTyW0/yqn6
+=j6si
+-----END PGP SIGNATURE-----
diff --git a/net-libs/nacl/metadata.xml b/net-libs/nacl/metadata.xml
new file mode 100644
index 000000000000..5b80fb94c393
--- /dev/null
+++ b/net-libs/nacl/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+</pkgmetadata>
diff --git a/net-libs/nacl/nacl-0_p20110221.ebuild b/net-libs/nacl/nacl-0_p20110221.ebuild
new file mode 100644
index 000000000000..72e48139b335
--- /dev/null
+++ b/net-libs/nacl/nacl-0_p20110221.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/nacl/nacl-0_p20110221.ebuild,v 1.1 2013/05/31 07:59:22 xmw Exp $
+
+EAPI=5
+
+inherit flag-o-matic toolchain-funcs multilib-minimal
+
+DESCRIPTION="high-speed software library for network communication, encryption, decryption, signatures"
+HOMEPAGE="http://nacl.cr.yp.to/"
+SRC_URI="http://hyperelliptic.org/nacl/${P/0_p}.tar.bz2"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${P/0_p}
+
+MULTILIB_WRAPPED_HEADERS=(
+ /usr/include/nacl/cpucycles.h
+ /usr/include/nacl/crypto_core_hsalsa20.h
+ /usr/include/nacl/crypto_hashblocks_sha256.h
+ /usr/include/nacl/crypto_hashblocks_sha512.h
+ /usr/include/nacl/crypto_onetimeauth_poly1305.h
+ /usr/include/nacl/crypto_scalarmult_curve25519.h
+ /usr/include/nacl/crypto_stream_aes128ctr.h
+ /usr/include/nacl/crypto_stream_salsa20.h
+ /usr/include/nacl/crypto_stream_salsa2012.h
+ /usr/include/nacl/crypto_stream_salsa208.h )
+
+src_prepare() {
+ #drop useless path elements, verbose output, predictable include dir
+ sed -e '/^export/d' \
+ -e '/^PATH/d' \
+ -e '/^LD_LIBRARY_PATH/d' \
+ -e '/^DYLD_LIBRARY_PATH/d' \
+ -e '/^exec >/d' \
+ -e '/^shorthostname/s:=.*:=gentoo:' \
+ -i do || die
+ sed -e 's:=== `date` === ::' \
+ -i $(find . -name do) || die
+ rm -r tests
+
+ multilib_copy_sources
+
+ filter-flags "-O*"
+ append-cflags -O3 -fomit-frame-pointer -funroll-loops
+ append-cxxflags -O3 -fomit-frame-pointer -funroll-loops
+}
+
+multilib_src_configure() {
+ echo "$(tc-getCC) ${CFLAGS}" > okcompilers/c
+ echo "$(tc-getCXX) ${CXXFLAGS}" > okcompilers/cpp
+ echo "$(tc-getAR)" > okcompilers/archivers
+
+ sed -e "1aexport PATH=\"${BUILD_DIR}/build/gentoo/bin:${PATH}\"" \
+ -i do || die
+}
+
+multilib_src_compile() {
+ ./do || die
+}
+
+multilib_src_install() {
+ insinto /usr/$(get_libdir)/${PN}
+ doins build/gentoo/lib/*/*
+
+ insinto /usr/include/${PN}
+ doins build/gentoo/include/*/*
+}