diff options
author | adrianp <adrianp@pkgsrc.org> | 2005-11-27 17:04:18 +0000 |
---|---|---|
committer | adrianp <adrianp@pkgsrc.org> | 2005-11-27 17:04:18 +0000 |
commit | 2decd632465d98cb1c435c01f914c025ce160be0 (patch) | |
tree | acc5deec57d82edc8a75b73c3740aae9736d27fa /print/ghostscript-gnu | |
parent | d3144949b61f75242adeea259ba9fc4f789121cd (diff) | |
download | pkgsrc-2decd632465d98cb1c435c01f914c025ce160be0.tar.gz |
Update for http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0967
Diffstat (limited to 'print/ghostscript-gnu')
-rw-r--r-- | print/ghostscript-gnu/Makefile | 3 | ||||
-rw-r--r-- | print/ghostscript-gnu/distinfo | 4 | ||||
-rw-r--r-- | print/ghostscript-gnu/patches/patch-ac | 10 | ||||
-rw-r--r-- | print/ghostscript-gnu/patches/patch-ad | 18 |
4 files changed, 33 insertions, 2 deletions
diff --git a/print/ghostscript-gnu/Makefile b/print/ghostscript-gnu/Makefile index a8f62dfc37e..88bd302a43f 100644 --- a/print/ghostscript-gnu/Makefile +++ b/print/ghostscript-gnu/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.7 2005/06/01 18:03:09 jlam Exp $ +# $NetBSD: Makefile,v 1.8 2005/11/27 17:06:36 adrianp Exp $ PKGNAME= ghostscript-gnu-${GS_VERS} +PKGREVISION= 1 COMMENT= GNU Postscript interpreter with all drivers CONFIGURE_ARGS+= --with-x diff --git a/print/ghostscript-gnu/distinfo b/print/ghostscript-gnu/distinfo index e2c60bd5f2b..9abbdf9154c 100644 --- a/print/ghostscript-gnu/distinfo +++ b/print/ghostscript-gnu/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2005/05/30 15:39:11 dillo Exp $ +$NetBSD: distinfo,v 1.5 2005/11/27 17:06:36 adrianp Exp $ SHA1 (ghostscript/ghostscript-8.15.tar.bz2) = 9b72a87e0521545265ec207bf12b7c20003ae2ad RMD160 (ghostscript/ghostscript-8.15.tar.bz2) = fb8f997c164c98c8c73dee032bb4f2fef3e90901 @@ -8,3 +8,5 @@ RMD160 (ghostscript/jpegsrc.v6b.tar.gz) = 18892206014fbb8cae2a44e281f4ed53feaf78 Size (ghostscript/jpegsrc.v6b.tar.gz) = 613261 bytes SHA1 (patch-aa) = f9d706b19430c32f568316c0b02eee792e311236 SHA1 (patch-ab) = ee1cad8503700d088e2a4dcf4c3d14237cb84b0e +SHA1 (patch-ac) = 9758dcf3427ab1a7b018060b928d60f42dd9fd5e +SHA1 (patch-ad) = 964023e6d5e94f7cd471a9e7c5b29c4ce7db715e diff --git a/print/ghostscript-gnu/patches/patch-ac b/print/ghostscript-gnu/patches/patch-ac new file mode 100644 index 00000000000..c96f3e35996 --- /dev/null +++ b/print/ghostscript-gnu/patches/patch-ac @@ -0,0 +1,10 @@ +$NetBSD: patch-ac,v 1.1 2005/11/27 17:06:36 adrianp Exp $ + +--- lib/ps2epsi.orig 2005-11-27 15:45:05.000000000 +0000 ++++ lib/ps2epsi +@@ -3,3 +3,4 @@ + +-tmpfile=/tmp/ps2epsi$$ ++tmpfile=`mktemp -t ps2epsi.XXXXXX || exit 1` ++trap "rm -rf $tmpfile" 0 1 2 3 7 13 15 + diff --git a/print/ghostscript-gnu/patches/patch-ad b/print/ghostscript-gnu/patches/patch-ad new file mode 100644 index 00000000000..7e661668ef1 --- /dev/null +++ b/print/ghostscript-gnu/patches/patch-ad @@ -0,0 +1,18 @@ +$NetBSD: patch-ad,v 1.1 2005/11/27 17:06:36 adrianp Exp $ + +--- lib/pv.sh.orig 2005-11-27 14:39:25.000000000 +0000 ++++ lib/pv.sh +@@ -29,9 +29,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 $FILE.$$.pv ++dvips -p $PAGE -n 1 $FILE $* -o $TEMPFILE ++gs $TEMPFILE + exit 0 |