commit:     67ab6585e24aa4ca78785371790ae59ebc8fbf4d
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 20 20:46:03 2015 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Tue Oct 20 20:46:03 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67ab6585

dev-libs/libsodium: Version bump

Package-Manager: portage-2.2.23

 dev-libs/libsodium/Manifest               |  1 +
 dev-libs/libsodium/libsodium-1.0.4.ebuild | 35 +++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/dev-libs/libsodium/Manifest b/dev-libs/libsodium/Manifest
index cd80fa0..a28f005 100644
--- a/dev-libs/libsodium/Manifest
+++ b/dev-libs/libsodium/Manifest
@@ -1,2 +1,3 @@
 DIST libsodium-1.0.2.tar.gz 1673394 SHA256 
961d8f10047f545ae658bcc73b8ab0bf2c312ac945968dd579d87c768e5baa19 SHA512 
15fc47516f0e35906c1c304205fa991e74a273e4e6fc2186b6c16f0e41523de24493e149262b97ef03e4adc221232372ef1f283c4c23f96e4c5d99023d361e14
 WHIRLPOOL 
18509d9911c1d0ec6e8b9a8735abfeb2c1623669d31045abc6d9dd1289571fbe3a055f960f42a86779e7c03967532d71d7b9d0597ecfe457672e69b27b577e48
 DIST libsodium-1.0.3.tar.gz 1679664 SHA256 
cbcfc63cc90c05d18a20f229a62c7e7054a73731d0aa858c0517152c549b1288 SHA512 
7d58ddf973bfc456c2d196129d2c3a9ddec6e40b977797251385cd42bdd1234987779566903b7c2251cae02aab7e1c5246967af4c887be8a3451ae3f745c1ae5
 WHIRLPOOL 
1722d2c9f8bb18fe5d74b1ffe3600fe0a17779569315558324fd3262d63c0db5c9368d3bf9a6bb421802882dd1fd2c701ad062938a5f414190670f8c7f244231
+DIST libsodium-1.0.4.tar.gz 1787241 SHA256 
e4f75d4b2bd860068e0401163207415c9d41048d7601409897ff2951839fd310 SHA512 
9fe83a06a85fca2bf6ab869acf3acc7d0c5f74fce924c794f1e84a3f0ea98b3b8030ff2a1bc9b5c4675b4749edd12e2ac4c1dad3130168865bad323f6222c9c3
 WHIRLPOOL 
687fa836ece3bbb845de3c894576e1b6cac07157636b386765a67731ab11bb3b709fdc9730af9b4e385d33b5b6e026ac609262ffe2dbcfd2f1cbc2a5b34fb234

diff --git a/dev-libs/libsodium/libsodium-1.0.4.ebuild 
b/dev-libs/libsodium/libsodium-1.0.4.ebuild
new file mode 100644
index 0000000..a87bde8
--- /dev/null
+++ b/dev-libs/libsodium/libsodium-1.0.4.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2015 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/13"
+KEYWORDS="~alpha ~amd64 ~arm ~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
+}

Reply via email to