summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2016-04-05 22:57:05 +0200
committerManuel Rüger <mrueg@gentoo.org>2016-04-05 22:57:05 +0200
commit7b62e2a51431ee1c01523ae3da6a56ce9c35f92b (patch)
treef4a000a6a7eb455d36c7c19fbd828487e1c4ea02 /dev-libs/libsodium
parentapp-vim/vimclojure: Rename duplicate files. (diff)
downloadgentoo-7b62e2a51431ee1c01523ae3da6a56ce9c35f92b.tar.gz
gentoo-7b62e2a51431ee1c01523ae3da6a56ce9c35f92b.tar.bz2
gentoo-7b62e2a51431ee1c01523ae3da6a56ce9c35f92b.zip
dev-libs/libsodium: Version bump to 1.0.9
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-libs/libsodium')
-rw-r--r--dev-libs/libsodium/Manifest1
-rw-r--r--dev-libs/libsodium/libsodium-1.0.9.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-libs/libsodium/Manifest b/dev-libs/libsodium/Manifest
index 977c69067fdd..639f80bf857e 100644
--- a/dev-libs/libsodium/Manifest
+++ b/dev-libs/libsodium/Manifest
@@ -1,3 +1,4 @@
DIST libsodium-1.0.2.tar.gz 1673394 SHA256 961d8f10047f545ae658bcc73b8ab0bf2c312ac945968dd579d87c768e5baa19 SHA512 15fc47516f0e35906c1c304205fa991e74a273e4e6fc2186b6c16f0e41523de24493e149262b97ef03e4adc221232372ef1f283c4c23f96e4c5d99023d361e14 WHIRLPOOL 18509d9911c1d0ec6e8b9a8735abfeb2c1623669d31045abc6d9dd1289571fbe3a055f960f42a86779e7c03967532d71d7b9d0597ecfe457672e69b27b577e48
DIST libsodium-1.0.7.tar.gz 1808032 SHA256 7ad1e78763510c163ca48f05133057726a825cf97386c581bf12b01d7654204a SHA512 21a2991010bc4e6e03d42c6df5443049c99f7622dc68a7bdc3d6d082621a165faab32612280526509d310ad1faefc00aa21c594a384a7fa8b05f4666e82e5e1d WHIRLPOOL a8fe262217365f348c36c6a789fdd7fe479e72c88a8314804b3d7b6154a8cad0ab8517ee9d517fdf407d7d5b6a789868a4a5ac66d9ecf2575917c42bbc3eb49c
DIST libsodium-1.0.8.tar.gz 1794750 SHA256 c0f191d2527852641e0a996b7b106d2e04cbc76ea50731b2d0babd3409301926 SHA512 8f85e85e699c2b45674befd466e018c9f2ff1333c8fa806da49d9674068c33929bd3463e8908ffcd9c6154d430737e08e0522ac8ed4219e4fffe2e0a7a611c65 WHIRLPOOL 379addb00b366d2de887749fa72b17c003fa583728788e416e363a64196ade3ead9b5e12691f7693f0554323b88dc3c0cb6038c7abaf7f1291d60b97cc24daf6
+DIST libsodium-1.0.9.tar.gz 1827277 SHA256 611418db78c36b2e20e50363d30e9c002a98dea9322f305b5bde56a26cdfe756 SHA512 3bff0c518eedf76e0e458baa2b5a790cbda33fe4963ea4ffbf713be3baf27ee948d9ba9682b9fb0f2fe57ef20cc896b5758083c074aa9449a75c71710566c96c WHIRLPOOL 9a1abff419df51052fb8c7432598873c25cacf97934520efac84e15a34aa8e740fb5bd61c34fb104d3aa1670a4d8987aa469c267cc16ca5629acb2a87261f49a
diff --git a/dev-libs/libsodium/libsodium-1.0.9.ebuild b/dev-libs/libsodium/libsodium-1.0.9.ebuild
new file mode 100644
index 000000000000..0c748770e447
--- /dev/null
+++ b/dev-libs/libsodium/libsodium-1.0.9.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils
+
+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"
+
+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) \
+ ${myconf}
+}
+
+src_install() {
+ default
+ prune_libtool_files
+}