summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-08-26 19:54:15 +0000
committerUlrich Müller <ulm@gentoo.org>2008-08-26 19:54:15 +0000
commitda1ee6cbb92bbb408445ee7fa0ef2a3ac1a47af9 (patch)
tree6b7f43f4d2d93826e0c81dbdcd74c0f65c044d1d /sci-visualization/gnuplot
parentNew upstream version. (diff)
downloadgentoo-2-da1ee6cbb92bbb408445ee7fa0ef2a3ac1a47af9.tar.gz
gentoo-2-da1ee6cbb92bbb408445ee7fa0ef2a3ac1a47af9.tar.bz2
gentoo-2-da1ee6cbb92bbb408445ee7fa0ef2a3ac1a47af9.zip
Disable texhash to prevent sandbox violation, bug 201871.
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 i686)
Diffstat (limited to 'sci-visualization/gnuplot')
-rw-r--r--sci-visualization/gnuplot/ChangeLog6
-rw-r--r--sci-visualization/gnuplot/files/gnuplot-4.2.3-disable-texhash.patch12
-rw-r--r--sci-visualization/gnuplot/gnuplot-4.2.3-r2.ebuild4
3 files changed, 20 insertions, 2 deletions
diff --git a/sci-visualization/gnuplot/ChangeLog b/sci-visualization/gnuplot/ChangeLog
index 448fa5352e53..abe88b3ff0a3 100644
--- a/sci-visualization/gnuplot/ChangeLog
+++ b/sci-visualization/gnuplot/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-visualization/gnuplot
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/ChangeLog,v 1.79 2008/08/25 08:28:32 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/ChangeLog,v 1.80 2008/08/26 19:54:14 ulm Exp $
+
+ 26 Aug 2008; Ulrich Mueller <ulm@gentoo.org>
+ +files/gnuplot-4.2.3-disable-texhash.patch, gnuplot-4.2.3-r2.ebuild:
+ Disable texhash to prevent sandbox violation, bug 201871 comment 5.
25 Aug 2008; Ulrich Mueller <ulm@gentoo.org> gnuplot-4.2.3-r2.ebuild:
Install TeX files in a fixed location, bug 235395.
diff --git a/sci-visualization/gnuplot/files/gnuplot-4.2.3-disable-texhash.patch b/sci-visualization/gnuplot/files/gnuplot-4.2.3-disable-texhash.patch
new file mode 100644
index 000000000000..0d9b05636d00
--- /dev/null
+++ b/sci-visualization/gnuplot/files/gnuplot-4.2.3-disable-texhash.patch
@@ -0,0 +1,12 @@
+--- gnuplot-4.2.3-orig/share/LaTeX/Makefile.am 2006-10-02 23:05:30.000000000 +0200
++++ gnuplot-4.2.3/share/LaTeX/Makefile.am 2008-08-26 20:09:43.000000000 +0200
+@@ -11,8 +11,7 @@
+ installdir=`kpsexpand '$$TEXMFLOCAL'/tex/latex/gnuplot |sed "s%^.*share/%$(prefix)/share/%"` ; \
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$$installdir ; \
+ if [ ! -f $(DESTDIR)$$installdir/gnuplot.cfg ]; then \
+- $(INSTALL_DATA) $(srcdir)/gnuplot.cfg $(DESTDIR)$$installdir/gnuplot.cfg && \
+- texhash; \
++ $(INSTALL_DATA) $(srcdir)/gnuplot.cfg $(DESTDIR)$$installdir/gnuplot.cfg; \
+ fi ; \
+ fi
+
diff --git a/sci-visualization/gnuplot/gnuplot-4.2.3-r2.ebuild b/sci-visualization/gnuplot/gnuplot-4.2.3-r2.ebuild
index da572932264b..f00397315ada 100644
--- a/sci-visualization/gnuplot/gnuplot-4.2.3-r2.ebuild
+++ b/sci-visualization/gnuplot/gnuplot-4.2.3-r2.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-visualization/gnuplot/gnuplot-4.2.3-r2.ebuild,v 1.8 2008/08/25 08:28:32 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/gnuplot-4.2.3-r2.ebuild,v 1.9 2008/08/26 19:54:14 ulm Exp $
inherit autotools elisp-common eutils multilib wxwidgets
@@ -67,6 +67,8 @@ src_unpack() {
# Don't store resource files in deprecated location, reported upstream:
# http://sourceforge.net/tracker/index.php?func=detail&aid=1953742&group_id=2055&atid=102055
epatch "${FILESDIR}"/${P}-app-defaults.patch
+ # Disable texhash to prevent sandbox violation, bug 201871
+ epatch "${FILESDIR}"/${P}-disable-texhash.patch
eautoreconf
}