dev-libs/libsodium: Version bump to 1.0.13
authorManuel Rüger <mrueg@gentoo.org>
Sun, 16 Jul 2017 09:15:33 +0000 (11:15 +0200)
committerManuel Rüger <mrueg@gentoo.org>
Sun, 16 Jul 2017 09:15:33 +0000 (11:15 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.2

dev-libs/libsodium/Manifest
dev-libs/libsodium/libsodium-1.0.13.ebuild [new file with mode: 0644]

index f3d1bf30786c610b23680f266dcb33ecb84aece5..4f47a376d743ce7ff442745d912f898ab17de464 100644 (file)
@@ -1,2 +1,3 @@
 DIST libsodium-1.0.11.tar.gz 1846782 SHA256 a14549db3c49f6ae2170cbbf4664bd48ace50681045e8dbea7c8d9fb96f9c765 SHA512 4b1293c4d0e52264beecdd05833857bc4d77d1c2a97eea0138fe04df383b9a2dfcad4a79ccd9aed8f6c0047ba67c49292b0d2ccf987ab0b5046b46b1586ccbd7 WHIRLPOOL ff02835e05a491695ba1b6d55d1b3168c15c9c6326377d2a24d1dbc9eaa3da538efcf22610c81d32297b057138162132e340b64ce980a199563d4101beb9d899
 DIST libsodium-1.0.12.tar.gz 1887284 SHA256 b8648f1bb3a54b0251cf4ffa4f0d76ded13977d4fa7517d988f4c902dd8e2f95 SHA512 1e63960da42bcc90945463ae1f5b1355849881dce5bba6d293391f8d6f0932063a5bfd433a071cb184af90ebeab469acc34710587116922144d61f3d7661901b WHIRLPOOL 7edf3a97b96b9a89fdb7b2c56aaaf9f37e89bb816801260c5791af133ddbd7fa9db137fab0b11b85277a483cdbae26bb879181ff72090251f576099750c9003f
+DIST libsodium-1.0.13.tar.gz 1895139 SHA256 9c13accb1a9e59ab3affde0e60ef9a2149ed4d6e8f99c93c7a5b97499ee323fd SHA512 c619b12fdf0b2e59174b6e383a62d5499ebcd720fdbb2c1a41a98a46c285df075202423454b294fefee185432441e943805397d7656f7cd7837de425da623929 WHIRLPOOL 30f80a05eabe475dc42a6c1f9028cd6eec581b063385a5b789cc414c98efb5faddd451473f52059a05f8412d5b10d800ec60ad7801e086c7e9d3b119d8ce0e7c
diff --git a/dev-libs/libsodium/libsodium-1.0.13.ebuild b/dev-libs/libsodium/libsodium-1.0.13.ebuild
new file mode 100644 (file)
index 0000000..2b80cec
--- /dev/null
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils autotools
+
+DESCRIPTION="A portable fork of NaCl, a higher-level cryptographic library"
+HOMEPAGE="https://github.com/jedisct1/libsodium"
+SRC_URI="http://download.libsodium.org/${PN}/releases/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0/18"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="+asm minimal static-libs +urandom cpu_flags_x86_sse4_1 cpu_flags_x86_aes"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.0.10-cpuflags.patch )
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
+src_configure() {
+       local myconf
+
+       # --disable-pie needed on x86, bug #512734
+       use x86 && myconf="${myconf} --disable-pie"
+
+       econf \
+               $(use_enable asm) \
+               $(use_enable minimal) \
+               $(use_enable !urandom blocking-random) \
+               $(use_enable static-libs static) \
+               $(use_enable cpu_flags_x86_sse4_1 sse4_1) \
+               $(use_enable cpu_flags_x86_aes aesni) \
+               ${myconf}
+}
+
+src_install() {
+       default
+       prune_libtool_files
+}