summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-10-02 17:29:16 +0200
committerManuel Rüger <mrueg@gentoo.org>2017-10-02 17:29:42 +0200
commitec8a3697683ee3f6314fe1d6ccc30c9486a3706a (patch)
tree54b1d94fcf9c86314f0afe198e12464d6a982851 /dev-libs/libsodium
parentdev-db/mariadb: Move --user bootstrap option to later in the commands (diff)
downloadgentoo-ec8a3697683ee3f6314fe1d6ccc30c9486a3706a.tar.gz
gentoo-ec8a3697683ee3f6314fe1d6ccc30c9486a3706a.tar.bz2
gentoo-ec8a3697683ee3f6314fe1d6ccc30c9486a3706a.zip
dev-libs/libsodium: Version bump to 1.0.15
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'dev-libs/libsodium')
-rw-r--r--dev-libs/libsodium/Manifest1
-rw-r--r--dev-libs/libsodium/libsodium-1.0.15.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-libs/libsodium/Manifest b/dev-libs/libsodium/Manifest
index 2b9949489ee5..7e855e1e26ff 100644
--- a/dev-libs/libsodium/Manifest
+++ b/dev-libs/libsodium/Manifest
@@ -1,3 +1,4 @@
DIST libsodium-1.0.11.tar.gz 1846782 SHA256 a14549db3c49f6ae2170cbbf4664bd48ace50681045e8dbea7c8d9fb96f9c765 SHA512 4b1293c4d0e52264beecdd05833857bc4d77d1c2a97eea0138fe04df383b9a2dfcad4a79ccd9aed8f6c0047ba67c49292b0d2ccf987ab0b5046b46b1586ccbd7 WHIRLPOOL ff02835e05a491695ba1b6d55d1b3168c15c9c6326377d2a24d1dbc9eaa3da538efcf22610c81d32297b057138162132e340b64ce980a199563d4101beb9d899
DIST libsodium-1.0.13.tar.gz 1895139 SHA256 9c13accb1a9e59ab3affde0e60ef9a2149ed4d6e8f99c93c7a5b97499ee323fd SHA512 c619b12fdf0b2e59174b6e383a62d5499ebcd720fdbb2c1a41a98a46c285df075202423454b294fefee185432441e943805397d7656f7cd7837de425da623929 WHIRLPOOL 30f80a05eabe475dc42a6c1f9028cd6eec581b063385a5b789cc414c98efb5faddd451473f52059a05f8412d5b10d800ec60ad7801e086c7e9d3b119d8ce0e7c
DIST libsodium-1.0.14.tar.gz 1876526 SHA256 3cfc84d097fdc891b40d291f2ac2c3f99f71a87e36b20cc755c6fa0e97a77ee7 SHA512 46663b05aab13ec4003ecc32c89bdaedf60824703be522661eeaa3db8013140bda434c19a759dc38bcbce757e9673a03e701c0eac1526a31a4b7a15608ae8696 WHIRLPOOL 76c32b5c3ea746744f7af17b6d335dc843276c51aef4bc69dc7871d8b9ea2e25972258aaab473827ec21177aac18e747d16aa0bd81499c77040104e22c906cec
+DIST libsodium-1.0.15.tar.gz 1866057 SHA256 fb6a9e879a2f674592e4328c5d9f79f082405ee4bb05cb6e679b90afe9e178f4 SHA512 299a208f8342793d13498e95b23f1749f5b5b13ec276db3ec401130615e837ef475b6a1283b6e87a5f8227d23e70e38ca721073dadd5dc88fe4aff342aa64adc WHIRLPOOL 193e804acd32a408b6c3e29689e427b061c68a5a8152a35167d618b350f8c08e64b751a808385d4307485e8ccdfdd36c814f6a63155cfd64b6a76d11424f0840
diff --git a/dev-libs/libsodium/libsodium-1.0.15.ebuild b/dev-libs/libsodium/libsodium-1.0.15.ebuild
new file mode 100644
index 000000000000..d4089d0a895d
--- /dev/null
+++ b/dev-libs/libsodium/libsodium-1.0.15.ebuild
@@ -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/23"
+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
+}