diff options
author | seb <seb> | 2005-12-11 12:04:26 +0000 |
---|---|---|
committer | seb <seb> | 2005-12-11 12:04:26 +0000 |
commit | 924179fae5f8ceb5b84ec60e3aa4088ccf7da264 (patch) | |
tree | eb4c70be9711902374948a6cf049577c794f0ea8 /print/ghostscript-nox11/patches/patch-ba | |
parent | 0e0bc08865a6ebc2700e33134f8d43f27f09a9a9 (diff) | |
download | pkgsrc-924179fae5f8ceb5b84ec60e3aa4088ccf7da264.tar.gz |
Pullup ticket 946 - requested by Tracy Di Marco White
Update print/ghostscript*, including a security fix
Revisions pulled up:
- pkgsrc/print/ghostscript-afpl/Makefile 1.5
- pkgsrc/print/ghostscript-afpl/distinfo 1.2
- pkgsrc/print/ghostscript-afpl/patches/patch-ac 1.1
- pkgsrc/print/ghostscript-afpl/patches/patch-ad 1.1
- pkgsrc/print/ghostscript-esp/Makefile 1.10, 1.11
- pkgsrc/print/ghostscript-esp/Makefile.common 1.25, 1.26
- pkgsrc/print/ghostscript-esp/PLIST 1.6
- pkgsrc/print/ghostscript-esp/distinfo 1.8, 1.9
- pkgsrc/print/ghostscript-esp/patches/patch-aa 1.2
- pkgsrc/print/ghostscript-esp/patches/patch-ab 1.3
- pkgsrc/print/ghostscript-esp/patches/patch-ac 1.2
- pkgsrc/print/ghostscript-esp/patches/patch-ad 1.3
- pkgsrc/print/ghostscript-esp/patches/patch-ae 1.4
- pkgsrc/print/ghostscript-esp-nox11/Makefile 1.6, 1.7
- pkgsrc/print/ghostscript-gnu/Makefile 1.8
- pkgsrc/print/ghostscript-gnu/distinfo 1.5
- pkgsrc/print/ghostscript-gnu/patches/patch-ac 1.1
- pkgsrc/print/ghostscript-gnu/patches/patch-ad 1.1
- pkgsrc/print/ghostscript-gnu-nox11/Makefile 1.6
- pkgsrc/print/ghostscript/Makefile 1.16
- pkgsrc/print/ghostscript-nox11/Makefile 1.10
- pkgsrc/print/ghostscript-nox11/distinfo 1.12
- pkgsrc/print/ghostscript-nox11/patches/patch-ba 1.1
- pkgsrc/print/ghostscript-nox11/patches/patch-bb 1.1
- pkgsrc/print/ghostscript-nox11/patches/patch-bc 1.1
- pkgsrc/print/ghostscript-nox11/patches/patch-bd 1.1
Module Name: pkgsrc
Committed By: jlam
Date: Sun Nov 20 23:10:44 UTC 2005
Modified Files:
pkgsrc/print/ghostscript-esp: Makefile.common
Log Message:
Update the master distribution sites.
---
Module Name: pkgsrc
Committed By: jlam
Date: Mon Nov 21 06:17:58 UTC 2005
Modified Files:
pkgsrc/doc: CHANGES
pkgsrc/print/ghostscript-esp: Makefile Makefile.common PLIST distinfo
pkgsrc/print/ghostscript-esp-nox11: Makefile
pkgsrc/print/ghostscript-esp/patches: patch-aa patch-ab patch-ac
Log Message:
Update print/ghostscript-esp{,-nox11} to ESP Ghostscript 8.15.1. This
version is based on the GPL Ghostscript 8.15 release. Major changes from
Ghostscript 7.0x include:
* Many printer drivers were added and updated.
* Improved support for running as a job server (-dJOBSERVER)
* Support for DeviceN colorspaces at up to 8 colorants total at 8 bits
per colorant.
* The PDF writer has been considerably improved and implements PDF
1.4 encryption
* Add a new feature to scale PDFs to the current page size.
* Font rendering has been substantially reworked and improved.
* PDF 1.4 transparency rendering is much more likely to be correct
* Improved support for CID font substitution.
* Improved processing of incorrect and broken PDF files, including files
with corrupted xref tables and non-ASCII font names.
* Support for JBIG2-encoded images.
* The usual plethora of bug fixes.
---
Module Name: pkgsrc
Committed By: adrianp
Date: Sun Nov 27 17:04:18 UTC 2005
Modified Files:
pkgsrc/print/ghostscript-afpl: Makefile distinfo
Added Files:
pkgsrc/print/ghostscript-afpl/patches: patch-ac patch-ad
Log Message:
Update for http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0967
---
Module Name: pkgsrc
Committed By: adrianp
Date: Sun Nov 27 17:05:29 UTC 2005
Modified Files:
pkgsrc/print/ghostscript-esp: Makefile distinfo
Added Files:
pkgsrc/print/ghostscript-esp/patches: patch-ad patch-ae
Log Message:
Update for http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0967
---
Module Name: pkgsrc
Committed By: adrianp
Date: Sun Nov 27 17:05:56 UTC 2005
Modified Files:
pkgsrc/print/ghostscript-esp-nox11: Makefile
Log Message:
Update for http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0967
---
Module Name: pkgsrc
Committed By: adrianp
Date: Sun Nov 27 17:06:36 UTC 2005
Modified Files:
pkgsrc/print/ghostscript-gnu: Makefile distinfo
Added Files:
pkgsrc/print/ghostscript-gnu/patches: patch-ac patch-ad
Log Message:
Update for http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0967
---
Module Name: pkgsrc
Committed By: adrianp
Date: Sun Nov 27 17:06:59 UTC 2005
Modified Files:
pkgsrc/print/ghostscript-gnu-nox11: Makefile
Log Message:
Update for http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0967
---
Module Name: pkgsrc
Committed By: adrianp
Date: Sun Nov 27 17:07:30 UTC 2005
Modified Files:
pkgsrc/print/ghostscript: Makefile
Log Message:
Update for http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0967
---
Module Name: pkgsrc
Committed By: adrianp
Date: Sun Nov 27 17:08:31 UTC 2005
Modified Files:
pkgsrc/print/ghostscript-nox11: Makefile distinfo
Added Files:
pkgsrc/print/ghostscript-nox11/patches: patch-ba patch-bb patch-bc
patch-bd
Log Message:
Update for http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0967
Diffstat (limited to 'print/ghostscript-nox11/patches/patch-ba')
-rw-r--r-- | print/ghostscript-nox11/patches/patch-ba | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/print/ghostscript-nox11/patches/patch-ba b/print/ghostscript-nox11/patches/patch-ba new file mode 100644 index 00000000000..cf4526eab5d --- /dev/null +++ b/print/ghostscript-nox11/patches/patch-ba @@ -0,0 +1,42 @@ +$NetBSD: patch-ba,v 1.2.2.2 2005/12/11 12:04:26 seb Exp $ + +--- lib/pj-gs.sh.orig 2000-03-09 08:40:40.000000000 +0000 ++++ lib/pj-gs.sh +@@ -241,6 +241,7 @@ do + then + /usr/lib/lprcat $Nofilter $Nolabel $file PCL1 $user $dev + else ++ TEMPFILE=`mktemp -t pjXXXXXX` || exit 1 + type=`file $file | sed 's/^[^:]*..//'` + case "$type" in + postscript*) +@@ -251,22 +252,22 @@ do + # + # gs -q -sDEVICE=paintjet -r180 -sOutputFile=- -dDISKFONTS -dNOPAUSE - < $file 2>/tmp/sh$$ + +- gs -q -sDEVICE=paintjet -r180 -sOutputFile=/tmp/pj$$ -dDISKFONTS -dNOPAUSE - < $file 1>2 +- cat /tmp/pj$$ +- rm /tmp/pj$$ ++ gs -q -sDEVICE=paintjet -r180 -sOutputFile=$TEMPFILE -dDISKFONTS -dNOPAUSE - < $file 1>2 ++ cat $TEMPFILE ++ rm $TEMPFILE + needff= + ;; +- *) cat "$file" 2>/tmp/sh$$ ++ *) cat "$file" 2>$TEMPFILE + needff=1 + ;; + esac + +- if [ -s /tmp/sh$$ ] ++ if [ -s $TEMPFILE ] + then + # cat /tmp/sh$$ # output any errors +- cat /tmp/sh$$ 1>2 # output any errors ++ cat $TEMPFILE 1>2 # output any errors + fi +- rm -f /tmp/sh$$ ++ rm -f $TEMPFILE + if [ $needff ]; then echo "\014\r\c"; fi + fi + |