diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-12-15 17:40:10 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-12-15 17:41:33 +0100 |
commit | 0c0f826a5eb26196c64a93b68601a65bb4ae0a5f (patch) | |
tree | 6682db627029a47ba026b20bcab30a19feb5c610 /dev-libs/libsodium | |
parent | net-analyzer/prometheus-alertmanager: Version bump to 0.12.0 (diff) | |
download | gentoo-0c0f826a5eb26196c64a93b68601a65bb4ae0a5f.tar.gz gentoo-0c0f826a5eb26196c64a93b68601a65bb4ae0a5f.tar.bz2 gentoo-0c0f826a5eb26196c64a93b68601a65bb4ae0a5f.zip |
dev-libs/libsodium: Version bump to 1.0.16
Package-Manager: Portage-2.3.18, Repoman-2.3.6
Diffstat (limited to 'dev-libs/libsodium')
-rw-r--r-- | dev-libs/libsodium/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libsodium/libsodium-1.0.16.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-libs/libsodium/Manifest b/dev-libs/libsodium/Manifest index ad84b4f0c8d2..6afe1b80fb47 100644 --- a/dev-libs/libsodium/Manifest +++ b/dev-libs/libsodium/Manifest @@ -2,3 +2,4 @@ DIST libsodium-1.0.11.tar.gz 1846782 BLAKE2B aadab6c89d11740dca72d7686d06cfeca6c DIST libsodium-1.0.13.tar.gz 1895139 BLAKE2B cc59f58f0bcd3c7d69a32a401063f8514289a3bf655ccea303f37ec9c08ad16c8780981999f99efe8257180ef45d86af8f512271eb4e1232eefe6e5baaf300b2 SHA512 c619b12fdf0b2e59174b6e383a62d5499ebcd720fdbb2c1a41a98a46c285df075202423454b294fefee185432441e943805397d7656f7cd7837de425da623929 DIST libsodium-1.0.14.tar.gz 1876526 BLAKE2B 37e9b785cc397f58ab07e38eef9e6f3ed8a2dbfbfd1c865b64d8d9b9440db3f8aa32671065cebf4f73d449889e7abfacf63910add08f0e27582cd6fb32bfbacd SHA512 46663b05aab13ec4003ecc32c89bdaedf60824703be522661eeaa3db8013140bda434c19a759dc38bcbce757e9673a03e701c0eac1526a31a4b7a15608ae8696 DIST libsodium-1.0.15.tar.gz 1866057 BLAKE2B 220e327f7803c6cf0b1260b313a225d7cc7a965b36920c744379c5939643e588687032478e3d7a79b4614c5fa57b0dd2afd216b2e23ca69ad16ea67764a840ca SHA512 299a208f8342793d13498e95b23f1749f5b5b13ec276db3ec401130615e837ef475b6a1283b6e87a5f8227d23e70e38ca721073dadd5dc88fe4aff342aa64adc +DIST libsodium-1.0.16.tar.gz 1910835 BLAKE2B d0d83730cfdb64a928c4597a3bcf4ae179d74bb9f850364bf0670547a12842009c0ca32d36d06053906fb649497406b1d7988e167772d5f1138d23798d8775f7 SHA512 eab917d599c9c1fe971a6ecf915b9a6476ccec2d46cf23cbfbf06dd3833089b422f192de4d55f17b93362f1251ba8d5ddeb95ced1a422a3a2631b4b82553907f diff --git a/dev-libs/libsodium/libsodium-1.0.16.ebuild b/dev-libs/libsodium/libsodium-1.0.16.ebuild new file mode 100644 index 000000000000..d4089d0a895d --- /dev/null +++ b/dev-libs/libsodium/libsodium-1.0.16.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 +} |