1 |
xmw 13/05/31 07:59:22 |
2 |
|
3 |
Added: nacl-0_p20110221.ebuild metadata.xml Manifest |
4 |
ChangeLog |
5 |
Log: |
6 |
Initial import, dep of net-analyzer/netsniff-ng |
7 |
|
8 |
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 62EEF090) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 net-libs/nacl/nacl-0_p20110221.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nacl/nacl-0_p20110221.ebuild?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nacl/nacl-0_p20110221.ebuild?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: nacl-0_p20110221.ebuild |
17 |
=================================================================== |
18 |
# Copyright 1999-2013 Gentoo Foundation |
19 |
# Distributed under the terms of the GNU General Public License v2 |
20 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/nacl/nacl-0_p20110221.ebuild,v 1.1 2013/05/31 07:59:22 xmw Exp $ |
21 |
|
22 |
EAPI=5 |
23 |
|
24 |
inherit flag-o-matic toolchain-funcs multilib-minimal |
25 |
|
26 |
DESCRIPTION="high-speed software library for network communication, encryption, decryption, signatures" |
27 |
HOMEPAGE="http://nacl.cr.yp.to/" |
28 |
SRC_URI="http://hyperelliptic.org/nacl/${P/0_p}.tar.bz2" |
29 |
|
30 |
LICENSE="public-domain" |
31 |
SLOT="0" |
32 |
KEYWORDS="~amd64" |
33 |
IUSE="test" |
34 |
|
35 |
DEPEND="" |
36 |
RDEPEND="${DEPEND}" |
37 |
|
38 |
S=${WORKDIR}/${P/0_p} |
39 |
|
40 |
MULTILIB_WRAPPED_HEADERS=( |
41 |
/usr/include/nacl/cpucycles.h |
42 |
/usr/include/nacl/crypto_core_hsalsa20.h |
43 |
/usr/include/nacl/crypto_hashblocks_sha256.h |
44 |
/usr/include/nacl/crypto_hashblocks_sha512.h |
45 |
/usr/include/nacl/crypto_onetimeauth_poly1305.h |
46 |
/usr/include/nacl/crypto_scalarmult_curve25519.h |
47 |
/usr/include/nacl/crypto_stream_aes128ctr.h |
48 |
/usr/include/nacl/crypto_stream_salsa20.h |
49 |
/usr/include/nacl/crypto_stream_salsa2012.h |
50 |
/usr/include/nacl/crypto_stream_salsa208.h ) |
51 |
|
52 |
src_prepare() { |
53 |
#drop useless path elements, verbose output, predictable include dir |
54 |
sed -e '/^export/d' \ |
55 |
-e '/^PATH/d' \ |
56 |
-e '/^LD_LIBRARY_PATH/d' \ |
57 |
-e '/^DYLD_LIBRARY_PATH/d' \ |
58 |
-e '/^exec >/d' \ |
59 |
-e '/^shorthostname/s:=.*:=gentoo:' \ |
60 |
-i do || die |
61 |
sed -e 's:=== `date` === ::' \ |
62 |
-i $(find . -name do) || die |
63 |
rm -r tests |
64 |
|
65 |
multilib_copy_sources |
66 |
|
67 |
filter-flags "-O*" |
68 |
append-cflags -O3 -fomit-frame-pointer -funroll-loops |
69 |
append-cxxflags -O3 -fomit-frame-pointer -funroll-loops |
70 |
} |
71 |
|
72 |
multilib_src_configure() { |
73 |
echo "$(tc-getCC) ${CFLAGS}" > okcompilers/c |
74 |
echo "$(tc-getCXX) ${CXXFLAGS}" > okcompilers/cpp |
75 |
echo "$(tc-getAR)" > okcompilers/archivers |
76 |
|
77 |
sed -e "1aexport PATH=\"${BUILD_DIR}/build/gentoo/bin:${PATH}\"" \ |
78 |
-i do || die |
79 |
} |
80 |
|
81 |
multilib_src_compile() { |
82 |
./do || die |
83 |
} |
84 |
|
85 |
multilib_src_install() { |
86 |
insinto /usr/$(get_libdir)/${PN} |
87 |
doins build/gentoo/lib/*/* |
88 |
|
89 |
insinto /usr/include/${PN} |
90 |
doins build/gentoo/include/*/* |
91 |
} |
92 |
|
93 |
|
94 |
|
95 |
1.1 net-libs/nacl/metadata.xml |
96 |
|
97 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nacl/metadata.xml?rev=1.1&view=markup |
98 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nacl/metadata.xml?rev=1.1&content-type=text/plain |
99 |
|
100 |
Index: metadata.xml |
101 |
=================================================================== |
102 |
<?xml version="1.0" encoding="UTF-8"?> |
103 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
104 |
<pkgmetadata> |
105 |
<maintainer> |
106 |
<email>xmw@g.o</email> |
107 |
<name>Michael Weber</name> |
108 |
</maintainer> |
109 |
</pkgmetadata> |
110 |
|
111 |
|
112 |
|
113 |
1.1 net-libs/nacl/Manifest |
114 |
|
115 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nacl/Manifest?rev=1.1&view=markup |
116 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nacl/Manifest?rev=1.1&content-type=text/plain |
117 |
|
118 |
Index: Manifest |
119 |
=================================================================== |
120 |
DIST nacl-20110221.tar.bz2 163415 SHA256 4f277f89735c8b0b8a6bbd043b3efb3fa1cc68a9a5da6a076507d067fc3b3bf8 SHA512 4c031ceffe6a28dc74b46ac003d485531f78de467c802df73c8b22ca53644dabb7d2e3080b7bdd6583f0d07ad76b6d95bc0ffdce319ca2f80ee041e6fe618656 WHIRLPOOL 6fd80c68cf7c644189aba0e2cc72fd382149fc10fc69a208eaf5d51b45c3fbcc9a4a0284bf6dcfd05d34f1ef77ef7f3e735c68ce38dc3c4ca9f0412ac825a98a |
121 |
EBUILD nacl-0_p20110221.ebuild 1912 SHA256 e9cd166bde007d72615b228eca33935155e2ee0f67134175f98256ab478086f3 SHA512 192a5bfb9ba4d8bad936769ed4b77fdcc33a6a34e8dbe3e36df130415216b99eecbfab962ccb1f9eeb564f0dc3d6f88a998599fe889521958a0b39ef290e370e WHIRLPOOL aaa5bd276ddefca52e2350c97f56d2a957ee5b8d76842dbe1dffba96cd39aae3fe79a78ee059168d3acb9288c5be4a574ed7951be6b4dbe9692cace285a5918b |
122 |
MISC metadata.xml 223 SHA256 89097f936927d56068988263e382edb683f359b27293955708e9ade4d256220d SHA512 c9f6a48b2aa05afdf73b8bd824c65480d76e54b659ca39928398c66f764d34faf186255d8aea034737424a962cf35151b610d078a01f8193b027c63e1e3c51b5 WHIRLPOOL 1ce20c98a7e177b8f510ef41f3935b0db5e04b2ecf465a683b2f2515f6a3043c33e6e9efc87f5aaaf59b2ed9be376d9d16bc8beff66b11aaa50ea899bfdc1f62 |
123 |
|
124 |
|
125 |
|
126 |
1.1 net-libs/nacl/ChangeLog |
127 |
|
128 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nacl/ChangeLog?rev=1.1&view=markup |
129 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nacl/ChangeLog?rev=1.1&content-type=text/plain |
130 |
|
131 |
Index: ChangeLog |
132 |
=================================================================== |
133 |
# ChangeLog for net-libs/nacl |
134 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
135 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/nacl/ChangeLog,v 1.1 2013/05/31 07:59:22 xmw Exp $ |
136 |
|
137 |
*nacl-0_p20110221 (31 May 2013) |
138 |
|
139 |
31 May 2013; Michael Weber <xmw@g.o> +metadata.xml, |
140 |
+nacl-0_p20110221.ebuild: |
141 |
Initial import, dep of net-analyzer/netsniff-ng |