summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Fiskerstrand <k_f@gentoo.org>2016-07-14 18:49:40 +0200
committerKristian Fiskerstrand <k_f@gentoo.org>2016-07-14 18:50:55 +0200
commit0febf080f095b08945c4535c24a49ca8697bd705 (patch)
tree6e6a6383dac1f37539b158536167ec139ffff2af /dev-libs/libgcrypt
parentwww-client/google-chrome-beta: convert to chromium-2 eclass (diff)
downloadgentoo-0febf080f095b08945c4535c24a49ca8697bd705.tar.gz
gentoo-0febf080f095b08945c4535c24a49ca8697bd705.tar.bz2
gentoo-0febf080f095b08945c4535c24a49ca8697bd705.zip
dev-libs/libgcrypt: New upstream version 1.7.2
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-libs/libgcrypt')
-rw-r--r--dev-libs/libgcrypt/Manifest1
-rw-r--r--dev-libs/libgcrypt/libgcrypt-1.7.2.ebuild72
2 files changed, 73 insertions, 0 deletions
diff --git a/dev-libs/libgcrypt/Manifest b/dev-libs/libgcrypt/Manifest
index b50623dd2818..4352d1535c36 100644
--- a/dev-libs/libgcrypt/Manifest
+++ b/dev-libs/libgcrypt/Manifest
@@ -5,3 +5,4 @@ DIST libgcrypt-1.6.4.tar.bz2 2549820 SHA256 c9bc2c7fe2e5f4ea13b0c74f9d24bcbb1ad8
DIST libgcrypt-1.6.5.tar.bz2 2549601 SHA256 f49ebc5842d455ae7019def33eb5a014a0f07a2a8353dc3aa50a76fd1dafa924 SHA512 1b76640a68514369da3b6be51d66e7040b64d03eba68d6b0d1b1ba88336c9da3ef41b21170a9eb641dae5a36a7c53cb167e15c8da964a5a6793aec947afe91f4 WHIRLPOOL e8272ca7d30a77f848a2e9663400c97ad39b0af4bdda44766d20436e8356be7a6e0b10c7a976764ca31ee667f2289d76cec61cac6f8055433393221f39c2ee89
DIST libgcrypt-1.7.0.tar.bz2 2840453 SHA256 b0e67ea74474939913c4d9d9ef4ef5ec378efbe2bebe36389dee319c79bffa92 SHA512 658eca9161d104b81c249dc47d9e4f2df58f26c63bd28ee9ad7a642fd84f09faddbde51e070bc923bfd54fb5785acf8ff2f0da244e6b497b57407f5f67c3574b WHIRLPOOL dbc816e8b6b195f0f5a0159937a3e767062aee4780e0548bf0e146bc880c26614ebe664e85bbb26f30410e7550638e2e87385c3b59ef1aa0089ce113cd5c1a27
DIST libgcrypt-1.7.1.tar.bz2 2843435 SHA256 450d9cfcbf1611c64dbe3bd04b627b83379ef89f11406d94c8bba305e36d7a95 SHA512 08ca7de8b6324d1119935b1f400b0ef55e761d42178a4daa8077d36072e5f0987ec6e7834a98c62f1a06261b1b99edc45b3041a873e284a002d8486ffc3347f5 WHIRLPOOL aa1ad0e53efb8215787520403758dfcfa8dc2eddcc6f8faedf4425d3449d712069d71af74f1a75b1d8c447b008ee7601e70c3850c85044d4eb97e44752df5f99
+DIST libgcrypt-1.7.2.tar.bz2 2845301 SHA256 3d35df906d6eab354504c05d749a9b021944cb29ff5f65c8ef9c3dd5f7b6689f SHA512 3e5917c0f9094f59626983a256b68c1569cbd94fb9ec68650bc9815cf665a7825b6a0060a6a4a3c24744107a2d13c9baa8e8ffe64b743414fd461493e54987cf WHIRLPOOL 5e4d425fca469f91ad3bde8a0909070042c140ae0b168d0b9908cfba1a247f7431ad72d0d714ab606187567ea79427531dcbdf385865be90d7ce36bcfad7c7c7
diff --git a/dev-libs/libgcrypt/libgcrypt-1.7.2.ebuild b/dev-libs/libgcrypt/libgcrypt-1.7.2.ebuild
new file mode 100644
index 000000000000..bdecc4445b2a
--- /dev/null
+++ b/dev-libs/libgcrypt/libgcrypt-1.7.2.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+AUTOTOOLS_AUTORECONF=1
+WANT_AUTOMAKE=1.14
+
+inherit autotools-multilib flag-o-matic
+
+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/20" # 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 ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="doc static-libs"
+
+RDEPEND=">=dev-libs/libgpg-error-1.12[${MULTILIB_USEDEP}]
+ abi_x86_32? (
+ !<=app-emulation/emul-linux-x86-baselibs-20131008-r19
+ !app-emulation/emul-linux-x86-baselibs[-abi_x86_32]
+ )"
+DEPEND="${RDEPEND}
+ doc? ( virtual/texi2dvi )"
+
+DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.6.1-uscore.patch
+ "${FILESDIR}"/${PN}-multilib-syspath.patch
+)
+
+MULTILIB_CHOST_TOOLS=(
+ /usr/bin/libgcrypt-config
+)
+
+multilib_src_configure() {
+ if [[ ${CHOST} == *86*-solaris* ]] ; then
+ # ASM code uses GNU ELF syntax, divide in particular, we need to
+ # allow this via ASFLAGS, since we don't have a flag-o-matic
+ # function for that, we'll have to abuse cflags for this
+ append-cflags -Wa,--divide
+ fi
+ local myeconfargs=(
+ --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-utils_src_configure
+}
+
+multilib_src_compile() {
+ emake
+ multilib_is_native_abi && use doc && VARTEXFONTS="${T}/fonts" emake -C doc gcrypt.pdf
+}
+
+multilib_src_install() {
+ emake DESTDIR="${D}" install
+ multilib_is_native_abi && use doc && dodoc doc/gcrypt.pdf
+}