summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2008-11-30 21:05:46 +0000
committerDenis Dupeyron <calchan@gentoo.org>2008-11-30 21:05:46 +0000
commit6a74c4d65b4b96e923ca1d1e9ed0393d4f43d64a (patch)
tree16e8b711b5617ac87d649fce62965ee522a14508 /sci-electronics/geda
parentsparc stable wrt #245697 (diff)
downloadgentoo-2-6a74c4d65b4b96e923ca1d1e9ed0393d4f43d64a.tar.gz
gentoo-2-6a74c4d65b4b96e923ca1d1e9ed0393d4f43d64a.tar.bz2
gentoo-2-6a74c4d65b4b96e923ca1d1e9ed0393d4f43d64a.zip
Fixed security bug #247538 (CVE-2008-5148), thanks to Chitlesh Goorah.
(Portage version: 2.1.6_rc2/cvs/Linux 2.6.27-gentoo-r2 i686)
Diffstat (limited to 'sci-electronics/geda')
-rw-r--r--sci-electronics/geda/ChangeLog5
-rw-r--r--sci-electronics/geda/geda-1.4.0.ebuild12
2 files changed, 15 insertions, 2 deletions
diff --git a/sci-electronics/geda/ChangeLog b/sci-electronics/geda/ChangeLog
index 925eb6d8232e..657dfbbad753 100644
--- a/sci-electronics/geda/ChangeLog
+++ b/sci-electronics/geda/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-electronics/geda
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/geda/ChangeLog,v 1.45 2008/03/22 19:14:19 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/geda/ChangeLog,v 1.46 2008/11/30 21:05:46 calchan Exp $
+
+ 30 Nov 2008; Denis Dupeyron <calchan@gentoo.org> geda-1.4.0.ebuild:
+ Fixed security bug #247538 (CVE-2008-5148), thanks to Chitlesh Goorah.
22 Mar 2008; Denis Dupeyron <calchan@gentoo.org> -geda-1.1.1.ebuild,
-geda-1.2.0.ebuild, -geda-20060123.ebuild, -geda-20061020.ebuild,
diff --git a/sci-electronics/geda/geda-1.4.0.ebuild b/sci-electronics/geda/geda-1.4.0.ebuild
index 3ef0de8266d1..d7890725202a 100644
--- a/sci-electronics/geda/geda-1.4.0.ebuild
+++ b/sci-electronics/geda/geda-1.4.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/geda/geda-1.4.0.ebuild,v 1.6 2008/03/22 09:56:48 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/geda/geda-1.4.0.ebuild,v 1.7 2008/11/30 21:05:46 calchan Exp $
inherit eutils versionator
@@ -39,6 +39,16 @@ pkg_setup() {
fi
}
+src_unpack() {
+ unpack ${A}
+ # Fix security bug #247538 (CVE-2008-5148), thanks to Chitlesh Goorah
+ sed -i \
+ -e 's:TMP=/tmp/\$\$:TMP=$(mktemp):' \
+ -e 's:>/tmp/\$\$:>${TMP}:' \
+ "${S}"/geda-gnetlist-${PV}/scripts/sch2eaglepos.sh \
+ || die "sed failed"
+}
+
src_compile() {
local myconf="--disable-threads"
use threads || myconf="--enable-threads=posix"