summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Fiskerstrand <k_f@gentoo.org>2016-02-25 18:46:27 +0100
committerKristian Fiskerstrand <k_f@gentoo.org>2016-02-25 18:46:43 +0100
commit7483dce1f1ea850bcb739d19a05cede84b9b2a33 (patch)
tree728846e4e5674500dda9069b8bf5d6563386d7ce /dev-libs/libgcrypt
parentapp-arch/p7zip: fixing bug 575622 (diff)
downloadgentoo-7483dce1f1ea850bcb739d19a05cede84b9b2a33.tar.gz
gentoo-7483dce1f1ea850bcb739d19a05cede84b9b2a33.tar.bz2
gentoo-7483dce1f1ea850bcb739d19a05cede84b9b2a33.zip
dev-libs/libgcrypt: Version bump of 0/11 to 1.5.5
This is a security fix release for * Mitigate chosen cipher text attacks on ECDH with Weierstrass curves. [CVE-2015-7511] (already backported to 1.5.4-r2) * Use ciphertext blinding for Elgamal decryption. [CVE-2014-3591] the libgcrypt 1.5 branch is EOL for security fixes YE2016 Gentoo-Bug: 541564 Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-libs/libgcrypt')
-rw-r--r--dev-libs/libgcrypt/Manifest1
-rw-r--r--dev-libs/libgcrypt/libgcrypt-1.5.5.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-libs/libgcrypt/Manifest b/dev-libs/libgcrypt/Manifest
index 9d4a50c4418b..e3b27b301174 100644
--- a/dev-libs/libgcrypt/Manifest
+++ b/dev-libs/libgcrypt/Manifest
@@ -1,4 +1,5 @@
DIST libgcrypt-1.5.4.tar.bz2 1512982 SHA256 d5f88d9f41a46953dc250cdb8575129b37ee2208401b7fa338c897f667c7fb33 SHA512 fe7e1d07eb10ee4ea8054bc955c35dc4b2109db645a08a6fa7757bf1e77a612e03c0838f9766086f04270b3621f34ccae0d6333f117cff204ccad9018c8a7908 WHIRLPOOL 221082d028a90235a3ddcc774b1772a8b8daec989a24b341491849e653e2ecb5cb0e3c8989a3f426524e39b28ebbe1b48532d5d9de7c54f4bdc19b450e22e4dc
+DIST libgcrypt-1.5.5.tar.bz2 1552652 SHA256 d8958203e786bca479cd7c903906925e8a7e033ccb959bf53317b57cf11a0655 SHA512 867ee8050c46387a02b3c21a215c3799becfe366c408cab285e7574e52d9bcc916f73874a459885bdb54655281f466ec57a4f7ff07301aa0e4bc174c852815a0 WHIRLPOOL db3f31753ca620a831e6df5bc021421ae817fef4ddf2a3d5b5e3733f8c642591351b71855c35813f8052f8a83420d5a806c72ac1f63cb4ac9f54f5a1075df2c5
DIST libgcrypt-1.6.3.tar.bz2 2494052 SHA256 41b4917b93ae34c6a0e2127378d7a4d66d805a2a86a09911d4f9bd871db7025f SHA512 09a84fcc4d3d755df21f46302a549af4ba788d829ff7fa0cf65eeec033bc3744503f8fe3f4be55a51cc17b1b1b487736c328d7d7bc909f13139600236298c549 WHIRLPOOL dd331afed5c8116df8a55742a7b559791c554a97c32983d64ab196a6d47c2d6bd7e15f8a63dda43947961bb269963185b98927ff0695c3f6d3b939face41e450
DIST libgcrypt-1.6.4.tar.bz2 2549820 SHA256 c9bc2c7fe2e5f4ea13b0c74f9d24bcbb1ad889bb39297d8082aebf23f4336026 SHA512 d2abc81fc3e3acf58f3bf18db449bfb4bdbc28fe62f695276ddd35f34434996b0d686bb48a4724e5134c80ea6cab08ce04f4a0989cb9a72f2497ec833bb24df1 WHIRLPOOL 708de5d55845177aa38dc227920dd64eeef8105427d5c88b8196ca47978f577d57f3cd85cd4627af6574e6ab780b815c1cbc8c8ad02aaba72ef176810f7a8865
DIST libgcrypt-1.6.5.tar.bz2 2549601 SHA256 f49ebc5842d455ae7019def33eb5a014a0f07a2a8353dc3aa50a76fd1dafa924 SHA512 1b76640a68514369da3b6be51d66e7040b64d03eba68d6b0d1b1ba88336c9da3ef41b21170a9eb641dae5a36a7c53cb167e15c8da964a5a6793aec947afe91f4 WHIRLPOOL e8272ca7d30a77f848a2e9663400c97ad39b0af4bdda44766d20436e8356be7a6e0b10c7a976764ca31ee667f2289d76cec61cac6f8055433393221f39c2ee89
diff --git a/dev-libs/libgcrypt/libgcrypt-1.5.5.ebuild b/dev-libs/libgcrypt/libgcrypt-1.5.5.ebuild
new file mode 100644
index 000000000000..1c0a9518da1a
--- /dev/null
+++ b/dev-libs/libgcrypt/libgcrypt-1.5.5.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+AUTOTOOLS_AUTORECONF=1
+
+inherit autotools-multilib
+
+DESCRIPTION="General purpose crypto library based on the code used in GnuPG"
+HOMEPAGE="http://www.gnupg.org/"
+SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1 MIT"
+SLOT="0/11" # subslot = soname major version
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="static-libs"
+
+RDEPEND=">=dev-libs/libgpg-error-1.12[${MULTILIB_USEDEP}]
+ !dev-libs/libgcrypt:11
+ abi_x86_32? (
+ !<=app-emulation/emul-linux-x86-baselibs-20131008-r19
+ !app-emulation/emul-linux-x86-baselibs[-abi_x86_32]
+ )"
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.5.0-uscore.patch
+ "${FILESDIR}"/${PN}-multilib-syspath.patch
+ "${FILESDIR}"/${PN}-1.5.4-clang-arm.patch
+)
+
+MULTILIB_CHOST_TOOLS=(
+ /usr/bin/libgcrypt-config
+)
+
+src_configure() {
+ local myeconfargs=(
+ --disable-padlock-support # bug 201917
+ --disable-dependency-tracking
+ --enable-noexecstack
+ --disable-O-flag-munging
+ $(use_enable static-libs static)
+
+ # disabled due to various applications requiring privileges
+ # after libgcrypt drops them (bug #468616)
+ --without-capabilities
+
+ # http://trac.videolan.org/vlc/ticket/620
+ # causes bus-errors on sparc64-solaris
+ $([[ ${CHOST} == *86*-darwin* ]] && echo "--disable-asm")
+ $([[ ${CHOST} == sparcv9-*-solaris* ]] && echo "--disable-asm")
+ )
+ autotools-multilib_src_configure
+}