diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2007-11-27 07:08:52 +0000 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2007-11-27 07:08:52 +0000 |
commit | 192aaede6772d9a1602286cfce9441fdfaae1f54 (patch) | |
tree | d68005a5aa3d1533f05410668a441d0059beec2d /dev-libs/libksba | |
parent | whitespace (diff) | |
download | gentoo-2-192aaede6772d9a1602286cfce9441fdfaae1f54.tar.gz gentoo-2-192aaede6772d9a1602286cfce9441fdfaae1f54.tar.bz2 gentoo-2-192aaede6772d9a1602286cfce9441fdfaae1f54.zip |
Fix segfault issue, bug#198648, thank to Robert Spillner
(Portage version: 2.1.4_rc3, RepoMan options: --force)
Diffstat (limited to 'dev-libs/libksba')
-rw-r--r-- | dev-libs/libksba/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/libksba/files/digest-libksba-1.0.2-r1 | 3 | ||||
-rw-r--r-- | dev-libs/libksba/files/libksba-1.0.2-segfault.patch | 12 | ||||
-rw-r--r-- | dev-libs/libksba/libksba-1.0.2-r1.ebuild | 29 |
4 files changed, 51 insertions, 1 deletions
diff --git a/dev-libs/libksba/ChangeLog b/dev-libs/libksba/ChangeLog index 577c2e7e87df..9571a74a0138 100644 --- a/dev-libs/libksba/ChangeLog +++ b/dev-libs/libksba/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/libksba # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libksba/ChangeLog,v 1.81 2007/11/12 05:36:09 alonbl Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libksba/ChangeLog,v 1.82 2007/11/27 07:08:51 alonbl Exp $ + +*libksba-1.0.2-r1 (27 Nov 2007) + + 27 Nov 2007; Alon Bar-Lev <alonbl@gentoo.org> + +files/libksba-1.0.2-segfault.patch, +libksba-1.0.2-r1.ebuild: + Fix segfault issue, bug#198648, thank to Robert Spillner 12 Nov 2007; Alon Bar-Lev <alonbl@gentoo.org> libksba-1.0.2.ebuild: Fixed amd64 optimization issue, bug#198648, thanks to Robert Spillner diff --git a/dev-libs/libksba/files/digest-libksba-1.0.2-r1 b/dev-libs/libksba/files/digest-libksba-1.0.2-r1 new file mode 100644 index 000000000000..9dd7356c3817 --- /dev/null +++ b/dev-libs/libksba/files/digest-libksba-1.0.2-r1 @@ -0,0 +1,3 @@ +MD5 3cccb3ef697e1e69eeceeea0715ff220 libksba-1.0.2.tar.bz2 525731 +RMD160 9b26e0551337613cf8e9d976af3b5223fa0929a8 libksba-1.0.2.tar.bz2 525731 +SHA256 9047a7adcbb445091fa838bdab777b0a71e05a437b130db0cb737aa55a8072ca libksba-1.0.2.tar.bz2 525731 diff --git a/dev-libs/libksba/files/libksba-1.0.2-segfault.patch b/dev-libs/libksba/files/libksba-1.0.2-segfault.patch new file mode 100644 index 000000000000..c45ac005cb7c --- /dev/null +++ b/dev-libs/libksba/files/libksba-1.0.2-segfault.patch @@ -0,0 +1,12 @@ +diff -urNp libksba-1.0.2.org/src/ber-decoder.c libksba-1.0.2/src/ber-decoder.c +--- libksba-1.0.2.org/src/ber-decoder.c 2007-07-04 14:27:14.000000000 +0300 ++++ libksba-1.0.2/src/ber-decoder.c 2007-11-27 09:00:58.000000000 +0200 +@@ -766,7 +766,7 @@ static gpg_error_t + decoder_next (BerDecoder d) + { + struct tag_info ti; +- AsnNode node; ++ AsnNode node = NULL; + gpg_error_t err; + DECODER_STATE ds = d->ds; + int debug = d->debug; diff --git a/dev-libs/libksba/libksba-1.0.2-r1.ebuild b/dev-libs/libksba/libksba-1.0.2-r1.ebuild new file mode 100644 index 000000000000..36dbe6619c69 --- /dev/null +++ b/dev-libs/libksba/libksba-1.0.2-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libksba/libksba-1.0.2-r1.ebuild,v 1.1 2007/11/27 07:08:51 alonbl Exp $ + +inherit eutils + +DESCRIPTION="makes X.509 certificates and CMS easily accessible to applications" +HOMEPAGE="http://www.gnupg.org/(en)/download/index.html#libksba" +SRC_URI="mirror://gnupg/libksba/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd" +IUSE="" + +DEPEND=">=dev-libs/libgpg-error-1.2 + dev-libs/libgcrypt" +RDEPEND="${DEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-segfault.patch" +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog NEWS README THANKS TODO VERSION +} |