From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B77711396D0 for ; Fri, 22 Sep 2017 12:29:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E4A30E0829; Fri, 22 Sep 2017 12:29:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B198FE0829 for ; Fri, 22 Sep 2017 12:29:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 141E333BEBE for ; Fri, 22 Sep 2017 12:29:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7E83A8F9D for ; Fri, 22 Sep 2017 12:29:36 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1506083355.f58cb0b3c9b70716dec4fb341c1ec17092190ef7.mrueg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libsodium/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libsodium/Manifest dev-libs/libsodium/libsodium-1.0.14.ebuild X-VCS-Directories: dev-libs/libsodium/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: f58cb0b3c9b70716dec4fb341c1ec17092190ef7 X-VCS-Branch: master Date: Fri, 22 Sep 2017 12:29:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: cc9e39b3-8ee8-4507-8412-b5f9216aaf70 X-Archives-Hash: df76b2078f942495b1957e4557f0ab86 commit: f58cb0b3c9b70716dec4fb341c1ec17092190ef7 Author: Manuel Rüger gentoo org> AuthorDate: Fri Sep 22 12:29:15 2017 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Fri Sep 22 12:29:15 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f58cb0b3 dev-libs/libsodium: Version bump to 1.0.14 Package-Manager: Portage-2.3.10, Repoman-2.3.3 dev-libs/libsodium/Manifest | 1 + dev-libs/libsodium/libsodium-1.0.14.ebuild | 43 ++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-libs/libsodium/Manifest b/dev-libs/libsodium/Manifest index 2c4dc85260f..2b9949489ee 100644 --- a/dev-libs/libsodium/Manifest +++ b/dev-libs/libsodium/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/dev-libs/libsodium/libsodium-1.0.14.ebuild b/dev-libs/libsodium/libsodium-1.0.14.ebuild new file mode 100644 index 00000000000..2b80cec2ea2 --- /dev/null +++ b/dev-libs/libsodium/libsodium-1.0.14.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/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 +}