Gentoo Archives: gentoo-commits

From: "Kristian Fiskerstrand (k_f)" <k_f@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libgcrypt: libgcrypt-1.6.1-r2.ebuild ChangeLog
Date: Tue, 29 Jul 2014 17:24:46
Message-Id: 20140729172433.E77D82004F@flycatcher.gentoo.org
1 k_f 14/07/29 17:24:32
2
3 Modified: ChangeLog
4 Added: libgcrypt-1.6.1-r2.ebuild
5 Log:
6 Revbump to add patch to fix segfaults for x32 ABIs. Fixes bug #512762
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 0xFC3B17DE05E136A0!)
9
10 Revision Changes Path
11 1.208 dev-libs/libgcrypt/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgcrypt/ChangeLog?rev=1.208&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgcrypt/ChangeLog?rev=1.208&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgcrypt/ChangeLog?r1=1.207&r2=1.208
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/ChangeLog,v
20 retrieving revision 1.207
21 retrieving revision 1.208
22 diff -u -r1.207 -r1.208
23 --- ChangeLog 18 Jun 2014 19:14:04 -0000 1.207
24 +++ ChangeLog 29 Jul 2014 17:24:32 -0000 1.208
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-libs/libgcrypt
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/ChangeLog,v 1.207 2014/06/18 19:14:04 mgorny Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/ChangeLog,v 1.208 2014/07/29 17:24:32 k_f Exp $
30 +
31 +*libgcrypt-1.6.1-r2 (29 Jul 2014)
32 +
33 + 29 Jul 2014; Kristian Fiskerstrand <k_f@g.o>
34 + +files/libgcrypt-1.6.1-x32-compat.patch, +libgcrypt-1.6.1-r2.ebuild:
35 + Revbump to add patch to fix segfaults for x32 ABIs. Fixes bug #512762
36
37 18 Jun 2014; Michał Górny <mgorny@g.o> libgcrypt-1.5.3-r100.ebuild,
38 libgcrypt-1.6.1-r1.ebuild:
39
40
41
42 1.1 dev-libs/libgcrypt/libgcrypt-1.6.1-r2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.6.1-r2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.6.1-r2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libgcrypt-1.6.1-r2.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.6.1-r2.ebuild,v 1.1 2014/07/29 17:24:32 k_f Exp $
52
53 EAPI=5
54 AUTOTOOLS_AUTORECONF=1
55
56 inherit autotools-multilib flag-o-matic
57
58 DESCRIPTION="General purpose crypto library based on the code used in GnuPG"
59 HOMEPAGE="http://www.gnupg.org/"
60 SRC_URI="mirror://gnupg/libgcrypt/${P}.tar.bz2
61 ftp://ftp.gnupg.org/gcrypt/${PN}/${P}.tar.bz2"
62
63 LICENSE="LGPL-2.1 MIT"
64 SLOT="0/20" # subslot = soname major version
65 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"
66 IUSE="static-libs"
67
68 RDEPEND=">=dev-libs/libgpg-error-1.12[${MULTILIB_USEDEP}]
69 abi_x86_32? (
70 !<=app-emulation/emul-linux-x86-baselibs-20131008-r19
71 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32]
72 )"
73 DEPEND="${RDEPEND}"
74
75 DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
76
77 PATCHES=(
78 "${FILESDIR}"/${P}-uscore.patch
79 "${FILESDIR}"/${PN}-multilib-syspath.patch
80 "${FILESDIR}"/${PN}-1.6.0-serial-tests.patch
81 "${FILESDIR}"/${PN}-1.6.1-x32-compat.patch
82 )
83
84 MULTILIB_CHOST_TOOLS=(
85 /usr/bin/libgcrypt-config
86 )
87
88 multilib_src_configure() {
89 if [[ ${CHOST} == *86*-solaris* ]] ; then
90 # ASM code uses GNU ELF syntax, divide in particular, we need to
91 # allow this via ASFLAGS, since we don't have a flag-o-matic
92 # function for that, we'll have to abuse cflags for this
93 append-cflags -Wa,--divide
94 fi
95 local myeconfargs=(
96 --disable-padlock-support # bug 201917
97 --disable-dependency-tracking
98 --enable-noexecstack
99 --disable-O-flag-munging
100 $(use_enable static-libs static)
101
102 # disabled due to various applications requiring privileges
103 # after libgcrypt drops them (bug #468616)
104 --without-capabilities
105
106 # http://trac.videolan.org/vlc/ticket/620
107 # causes bus-errors on sparc64-solaris
108 $([[ ${CHOST} == *86*-darwin* ]] && echo "--disable-asm")
109 $([[ ${CHOST} == sparcv9-*-solaris* ]] && echo "--disable-asm")
110 )
111 autotools-utils_src_configure
112 }