From 2decd632465d98cb1c435c01f914c025ce160be0 Mon Sep 17 00:00:00 2001 From: adrianp Date: Sun, 27 Nov 2005 17:04:18 +0000 Subject: Update for http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0967 --- print/ghostscript-afpl/Makefile | 3 ++- print/ghostscript-afpl/distinfo | 4 +++- print/ghostscript-afpl/patches/patch-ac | 14 ++++++++++++++ print/ghostscript-afpl/patches/patch-ad | 18 ++++++++++++++++++ 4 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 print/ghostscript-afpl/patches/patch-ac create mode 100644 print/ghostscript-afpl/patches/patch-ad (limited to 'print/ghostscript-afpl') diff --git a/print/ghostscript-afpl/Makefile b/print/ghostscript-afpl/Makefile index 9758c5356d8..ccea111bf9f 100644 --- a/print/ghostscript-afpl/Makefile +++ b/print/ghostscript-afpl/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.4 2005/10/13 13:10:05 hira Exp $ +# $NetBSD: Makefile,v 1.5 2005/11/27 17:04:18 adrianp Exp $ # DISTNAME= ghostscript-8.51 PKGNAME= ghostscript-afpl-8.51 +PKGREVISION= 1 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ghostscript/} EXTRACT_SUFX= .tar.bz2 diff --git a/print/ghostscript-afpl/distinfo b/print/ghostscript-afpl/distinfo index 279eb1c4cd2..f726afd2ea8 100644 --- a/print/ghostscript-afpl/distinfo +++ b/print/ghostscript-afpl/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.1.1.1 2005/08/12 19:20:20 drochner Exp $ +$NetBSD: distinfo,v 1.2 2005/11/27 17:04:18 adrianp Exp $ SHA1 (ghostscript-8.51.tar.bz2) = 2230c8cc565ab2fbff669ae4118937b07727cad6 RMD160 (ghostscript-8.51.tar.bz2) = 2e4e4e72d00ce84914910136dafa702fa28d8174 @@ -8,3 +8,5 @@ RMD160 (jpegsrc.v6b.tar.gz) = 18892206014fbb8cae2a44e281f4ed53feaf7882 Size (jpegsrc.v6b.tar.gz) = 613261 bytes SHA1 (patch-aa) = f9d706b19430c32f568316c0b02eee792e311236 SHA1 (patch-ab) = ee1cad8503700d088e2a4dcf4c3d14237cb84b0e +SHA1 (patch-ac) = 2d320ff00f77c8a62c549e0e3288a55af63fd7aa +SHA1 (patch-ad) = ed75f35c19ae2b19bc8902522b5d4828dfa278fe diff --git a/print/ghostscript-afpl/patches/patch-ac b/print/ghostscript-afpl/patches/patch-ac new file mode 100644 index 00000000000..8ed2635412e --- /dev/null +++ b/print/ghostscript-afpl/patches/patch-ac @@ -0,0 +1,14 @@ +$NetBSD: patch-ac,v 1.1 2005/11/27 17:04:18 adrianp Exp $ + +--- lib/ps2epsi.orig 2005-11-27 15:39:22.000000000 +0000 ++++ lib/ps2epsi +@@ -5,7 +5,8 @@ + # executable name set in the makefile + GS_EXECUTABLE=gs + +-tmpfile=/tmp/ps2epsi$$ ++tmpfile=`mktemp -t ps2epsi.XXXXXX || exit 1` ++trap "rm -rf $tmpfile" 0 1 2 3 7 13 15 + + export outfile + diff --git a/print/ghostscript-afpl/patches/patch-ad b/print/ghostscript-afpl/patches/patch-ad new file mode 100644 index 00000000000..a0729a6e64c --- /dev/null +++ b/print/ghostscript-afpl/patches/patch-ad @@ -0,0 +1,18 @@ +$NetBSD: patch-ad,v 1.1 2005/11/27 17:04:18 adrianp Exp $ + +--- lib/pv.sh.orig 2004-08-04 01:55:46.000000000 +0100 ++++ lib/pv.sh +@@ -34,9 +34,10 @@ TEMPDIR=. + PAGE=$1 + shift + FILE=$1 ++TEMPFILE=`mktemp -t ${FILE}XXXXXX` || exit 1 + shift +-trap "rm -rf $TEMPDIR/$FILE.$$.pv" 0 1 2 15 ++trap "rm -rf $TEMPFILE" 0 1 2 15 + #dvips -D$RESOLUTION -p $PAGE -n 1 $FILE $* -o $FILE.$$.pv +-dvips -p $PAGE -n 1 $FILE $* -o $FILE.$$.pv +-$GS_EXECUTABLE $FILE.$$.pv ++dvips -p $PAGE -n 1 $FILE $* -o $TEMPFILE ++gs $TEMPFILE + exit 0 -- cgit v1.2.3