summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Baergen <joshuabaergen@gentoo.org>2005-09-10 17:18:19 +0000
committerJoshua Baergen <joshuabaergen@gentoo.org>2005-09-10 17:18:19 +0000
commitc19a93609f96a2f73f143aa6e62162b75a0e261c (patch)
tree8a22b873342c2b422f14927464c80a467ca6801d /net-print
parentStable on alpha wrt to security bug #105115 (diff)
downloadgentoo-2-c19a93609f96a2f73f143aa6e62162b75a0e261c.tar.gz
gentoo-2-c19a93609f96a2f73f143aa6e62162b75a0e261c.tar.bz2
gentoo-2-c19a93609f96a2f73f143aa6e62162b75a0e261c.zip
Fixed sandbox violation (bug #105503).
(Portage version: 2.0.52-r1)
Diffstat (limited to 'net-print')
-rw-r--r--net-print/foomatic-db/ChangeLog6
-rw-r--r--net-print/foomatic-db/files/fix-sandbox-20050910.patch10
-rw-r--r--net-print/foomatic-db/foomatic-db-20050910.ebuild7
3 files changed, 21 insertions, 2 deletions
diff --git a/net-print/foomatic-db/ChangeLog b/net-print/foomatic-db/ChangeLog
index 931e9abf821a..077b7d5989b0 100644
--- a/net-print/foomatic-db/ChangeLog
+++ b/net-print/foomatic-db/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-print/foomatic-db
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-db/ChangeLog,v 1.35 2005/09/10 13:00:46 metalgod Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-db/ChangeLog,v 1.36 2005/09/10 17:18:19 joshuabaergen Exp $
+
+ 10 Sep 2005; Joshua Baergen <joshuabaergen@gentoo.org>
+ +files/fix-sandbox-20050910.patch, foomatic-db-20050910.ebuild:
+ Fixed sandbox violation (bug #105503).
*foomatic-db-20050910 (10 Sep 2005)
diff --git a/net-print/foomatic-db/files/fix-sandbox-20050910.patch b/net-print/foomatic-db/files/fix-sandbox-20050910.patch
new file mode 100644
index 000000000000..58a38b7336ba
--- /dev/null
+++ b/net-print/foomatic-db/files/fix-sandbox-20050910.patch
@@ -0,0 +1,10 @@
+--- foomatic-filters-ppds-20050910/install.orig 2005-09-10 10:33:59.575638920 -0600
++++ foomatic-filters-ppds-20050910/install 2005-09-10 10:34:16.842014032 -0600
+@@ -69,7 +69,6 @@
+ fi
+ mkdir -p $destdir$ppddir
+ rm -f $destdir$ppddir/foomatic-ppds
+- ln -s $prefix/share/ppd $destdir$ppddir/foomatic-ppds
+ cups=1
+ fi
+
diff --git a/net-print/foomatic-db/foomatic-db-20050910.ebuild b/net-print/foomatic-db/foomatic-db-20050910.ebuild
index 562d1ab7092e..40cc629b33d9 100644
--- a/net-print/foomatic-db/foomatic-db-20050910.ebuild
+++ b/net-print/foomatic-db/foomatic-db-20050910.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-db/foomatic-db-20050910.ebuild,v 1.1 2005/09/10 13:00:46 metalgod Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-db/foomatic-db-20050910.ebuild,v 1.2 2005/09/10 17:18:19 joshuabaergen Exp $
+
+inherit eutils
DESCRIPTION="Foomatic printer database"
HOMEPAGE="http://www.linuxprinting.org/foomatic.html"
@@ -20,6 +22,9 @@ DEPEND="dev-libs/libxml2
src_unpack() {
unpack ${A}
+ cd ${WORKDIR}
+ epatch ${FILESDIR}/fix-sandbox-${PV}.patch
+ cd ${S}
}
src_compile() {