diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-libs/libsodium | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-libs/libsodium')
-rw-r--r-- | dev-libs/libsodium/Manifest | 13 | ||||
-rw-r--r-- | dev-libs/libsodium/files/libsodium-1.0.10-cpuflags.patch | 40 | ||||
-rw-r--r-- | dev-libs/libsodium/libsodium-1.0.11.ebuild | 43 | ||||
-rw-r--r-- | dev-libs/libsodium/libsodium-1.0.13.ebuild | 43 | ||||
-rw-r--r-- | dev-libs/libsodium/libsodium-1.0.14.ebuild | 43 | ||||
-rw-r--r-- | dev-libs/libsodium/libsodium-1.0.15.ebuild | 43 | ||||
-rw-r--r-- | dev-libs/libsodium/libsodium-1.0.16-r1.ebuild | 46 | ||||
-rw-r--r-- | dev-libs/libsodium/libsodium-1.0.16.ebuild | 43 | ||||
-rw-r--r-- | dev-libs/libsodium/metadata.xml | 20 |
9 files changed, 334 insertions, 0 deletions
diff --git a/dev-libs/libsodium/Manifest b/dev-libs/libsodium/Manifest new file mode 100644 index 000000000000..817455b54ea9 --- /dev/null +++ b/dev-libs/libsodium/Manifest @@ -0,0 +1,13 @@ +AUX libsodium-1.0.10-cpuflags.patch 1261 BLAKE2B 7c6db671f50891243b5c235404991dbfa5b5ac3ac6424669e73d0e10713d9734f3ce58223f300b865c58962170c43aa823f221a00f41c596e95ee84029cdf089 SHA512 ba8ded5442d027d6b85d19d12dcee4a42234013062e9d4d33f5016ecb455401284b48754069277839e5095cd814de7f6e8c1e93ca5b1e8999f2c8e1b81296bd0 +DIST libsodium-1.0.11.tar.gz 1846782 BLAKE2B aadab6c89d11740dca72d7686d06cfeca6c504fca9e78108778817da4071d9e7bb6115df42e9509cd872ae7a5489ef15c099cabaf564f28e90b7f74a63bae140 SHA512 4b1293c4d0e52264beecdd05833857bc4d77d1c2a97eea0138fe04df383b9a2dfcad4a79ccd9aed8f6c0047ba67c49292b0d2ccf987ab0b5046b46b1586ccbd7 +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 +EBUILD libsodium-1.0.11.ebuild 1042 BLAKE2B 95f1c5cdf1ef19da389bb03c973cec7c5e93cb7c09dced6eb2b0b7c772c18811b82ce9db2e41adeb7e91a0ec94a58103ca129b4f7fe8e4d5013e0a75606858be SHA512 d70a16a7e9c752f7d649b23f697f7f8b52e1b51ff5bf8904b73ebe2bc830ca314ca7dd574b91ecc28e7458776a98b79bd36f3c5457081e1576242cfb5bb8955b +EBUILD libsodium-1.0.13.ebuild 1052 BLAKE2B ea8f2cb2872ff2803d9c2b56572b864fc47885645516d966f5ca0a7b77a06f7af76c5973461bc6bbecd6aec106205999291337762c850a36396d5a515fed1462 SHA512 46407c1cdec13c2db6f5399ccdf915d51bf3b34fa1f6fea094360e4a295347ea47356bd340729efc5511fd92246f2a087f829a57d72a00e48184392a101c7bb4 +EBUILD libsodium-1.0.14.ebuild 1052 BLAKE2B ea8f2cb2872ff2803d9c2b56572b864fc47885645516d966f5ca0a7b77a06f7af76c5973461bc6bbecd6aec106205999291337762c850a36396d5a515fed1462 SHA512 46407c1cdec13c2db6f5399ccdf915d51bf3b34fa1f6fea094360e4a295347ea47356bd340729efc5511fd92246f2a087f829a57d72a00e48184392a101c7bb4 +EBUILD libsodium-1.0.15.ebuild 1047 BLAKE2B 1cff6b973068f72f2e2810760be7bd51416bfe6ae7a79cd8a266e234577046d52ff49f9a3cf940dc2538a952e8c566614f7918d11dd44d17d78d5b2a7c2e662c SHA512 613ba210222df239cbb6c986e472b08e27a83e48016016adcf2d14280587390a7807c0f7d6b5f1c3fd24d506d8dbee40de030329e3329a7d004fa37e0aa131fe +EBUILD libsodium-1.0.16-r1.ebuild 1204 BLAKE2B 7b3cc043c5cd3c91e75177878156cc2c4d63b3e8c109801bd604b9f9d8e0e94f593c983da16e065c9650dce785f67fece9d71cc835f1457b5092dcb20e14c711 SHA512 1a7d8bc354f2cc6b76706e4e202e6a0ad997fd0523c50598d92f56b13a3e370f0245f3571a4304de92a680178e1f696ac1bb588933af1f4edb8ad593f0f9d42d +EBUILD libsodium-1.0.16.ebuild 1064 BLAKE2B 80b0f5bb116fc2da72b1d21f824c7a859feab1ae105222dfbcdf734ae23f10dacbe712c0320d4172b6b57b1928bf4432dd2c49cda21c803a061361bd9e2c6f2c SHA512 f21c78a4250393a583ec41f1f13fa14e2aff7106abf63d529ee92a65c346b5b62ce75ffb4528d538a02fbacdc018faee67e9440a9cd534b59863817900a7f19a +MISC metadata.xml 792 BLAKE2B 381d25a84293a019bccb6e68f25b37a08ff768cb36207bd971c925731380925b50f743efd7bdb542364a870be0070c1428a2b08e37de5d190a21a2f077ca8ff7 SHA512 78cae1c9f71512da084b0c93301bda69cf6d2da6cf66099df45f31a763c5f23459e6b484ecd5d3d1e8faf570c2de8a4d1816a2b3c8565a539ee64fcf7b1b61f1 diff --git a/dev-libs/libsodium/files/libsodium-1.0.10-cpuflags.patch b/dev-libs/libsodium/files/libsodium-1.0.10-cpuflags.patch new file mode 100644 index 000000000000..09e5c01618c5 --- /dev/null +++ b/dev-libs/libsodium/files/libsodium-1.0.10-cpuflags.patch @@ -0,0 +1,40 @@ +--- libsodium-1.0.10/configure.ac ++++ libsodium-1.0.10/configure.ac +@@ -344,6 +344,10 @@ + [AC_MSG_RESULT(no)]) + CFLAGS="$oldcflags" + ++AC_ARG_ENABLE(sse4_1, [AS_HELP_STRING(--disable-sse4_1,Do not use sse4.1 code)], ++ AS_IF([test "x$enableval" = "xyes"], check_sse4_1="yes", check_sse4_1="no"), ++ check_sse4_1="yes") ++AS_IF([test "$check_sse4_1" = "yes"],[ + oldcflags="$CFLAGS" + AX_CHECK_COMPILE_FLAG([-msse4.1], [CFLAGS="$CFLAGS -msse4.1"]) + AC_MSG_CHECKING(for SSE4.1 instructions set) +@@ -356,6 +360,7 @@ + AX_CHECK_COMPILE_FLAG([-msse4.1], [CFLAGS_SSE41="-msse4.1"])], + [AC_MSG_RESULT(no)]) + CFLAGS="$oldcflags" ++ ]) + + oldcflags="$CFLAGS" + AX_CHECK_COMPILE_FLAG([-mavx], [CFLAGS="$CFLAGS -mavx"]) +@@ -393,6 +398,10 @@ + [AC_MSG_RESULT(no)]) + CFLAGS="$oldcflags" + ++AC_ARG_ENABLE(aesni, [AS_HELP_STRING(--disable-aesni,Do not use aesni code)], ++ AS_IF([test "x$enableval" = "xyes"], check_aeni="yes", check_aesni="no"), ++ check_aesni="yes") ++AS_IF([test "$check_aesni" = "yes"],[ + oldcflags="$CFLAGS" + AX_CHECK_COMPILE_FLAG([-maes], [CFLAGS="$CFLAGS -maes"]) + AX_CHECK_COMPILE_FLAG([-mpclmul], [CFLAGS="$CFLAGS -mpclmul"]) +@@ -410,6 +419,7 @@ + ], + [AC_MSG_RESULT(no)]) + CFLAGS="$oldcflags" ++ ]) + + ]) + diff --git a/dev-libs/libsodium/libsodium-1.0.11.ebuild b/dev-libs/libsodium/libsodium-1.0.11.ebuild new file mode 100644 index 000000000000..0ee03ff85352 --- /dev/null +++ b/dev-libs/libsodium/libsodium-1.0.11.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 +} diff --git a/dev-libs/libsodium/libsodium-1.0.13.ebuild b/dev-libs/libsodium/libsodium-1.0.13.ebuild new file mode 100644 index 000000000000..2b80cec2ea29 --- /dev/null +++ b/dev-libs/libsodium/libsodium-1.0.13.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 +} 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 000000000000..2b80cec2ea29 --- /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 +} 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..cfce5ad6f4cf --- /dev/null +++ b/dev-libs/libsodium/libsodium-1.0.15.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2018 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 s390 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 +} diff --git a/dev-libs/libsodium/libsodium-1.0.16-r1.ebuild b/dev-libs/libsodium/libsodium-1.0.16-r1.ebuild new file mode 100644 index 000000000000..dd260ff32ea3 --- /dev/null +++ b/dev-libs/libsodium/libsodium-1.0.16-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools multilib-minimal + +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-fbsd ~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 +} + +multilib_src_configure() { + local ECONF_SOURCE="${S}" + local myconf + + # --disable-pie is needed on x86, see bug #512734 + if [[ "${MULTILIB_ABI_FLAG}" == "abi_x86_32" ]]; then + myconf="${myconf} --disable-pie" + fi + + 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} +} + +multilib_src_install_all() { + einstalldocs + find "${D}" -name "*.la" -delete || die +} 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..6144b166e52d --- /dev/null +++ b/dev-libs/libsodium/libsodium-1.0.16.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2018 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-fbsd ~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 +} diff --git a/dev-libs/libsodium/metadata.xml b/dev-libs/libsodium/metadata.xml new file mode 100644 index 000000000000..7da2eca7cb2f --- /dev/null +++ b/dev-libs/libsodium/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <longdescription> + NaCl (pronounced "salt") is a new easy-to-use high-speed software + library for network communication, encryption, decryption, + signatures, etc. NaCl's goal is to provide all of the core + operations needed to build higher-level cryptographic tools. + Sodium is a portable, cross-compilable, installable, + packageable fork of NaCl, with a compatible API. + </longdescription> + <use> + <flag name="asm">Enables assembly implementations</flag> + <flag name="urandom">Use /dev/urandom instead of /dev/random</flag> + </use> + <upstream> + <remote-id type="github">jedisct1/libsodium</remote-id> + </upstream> +</pkgmetadata> |