rpms/ghostscript/F-11 .cvsignore, 1.28, 1.29 ghostscript-gs-executable.patch, 1.1, 1.2 ghostscript-jbig2dec-nullderef.patch, 1.1, 1.2 ghostscript.spec, 1.192, 1.193 sources, 1.32, 1.33 ghostscript-CVE-2009-0196.patch, 1.1, NONE ghostscript-CVE-2009-0583, 0584.patch, 1.2, NONE ghostscript-CVE-2009-0792.patch, 1.1, NONE ghostscript-bitcmyk.patch, 1.1, NONE

Tim Waugh twaugh at fedoraproject.org
Mon Aug 3 17:39:56 UTC 2009


Author: twaugh

Update of /cvs/pkgs/rpms/ghostscript/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9860

Modified Files:
	.cvsignore ghostscript-gs-executable.patch 
	ghostscript-jbig2dec-nullderef.patch ghostscript.spec sources 
Removed Files:
	ghostscript-CVE-2009-0196.patch 
	ghostscript-CVE-2009-0583,0584.patch 
	ghostscript-CVE-2009-0792.patch ghostscript-bitcmyk.patch 
Log Message:
* Mon Aug  3 2009 Tim Waugh <twaugh at redhat.com> 8.70-1
- 8.70.
- License has changed to GPLv3+.  Packages containing programs that
  link to libgs/libijs are:
  - foomatic (GPLv2+)
  - libspectre (GPLv2+)
  - ImageMagick (ImageMagick, listed on Licensing wiki page under
    "Good Licenses" and marked as GPLv3 compat)
  - gutenprint (GPLv2+)



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/ghostscript/F-11/.cvsignore,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -p -r1.28 -r1.29
--- .cvsignore	4 Feb 2009 13:32:50 -0000	1.28
+++ .cvsignore	3 Aug 2009 17:39:55 -0000	1.29
@@ -24,3 +24,4 @@ ghostscript-8.61.tar.bz2
 ghostscript-8.62.tar.bz2
 ghostscript-8.63.tar.bz2
 ghostscript-8.64.tar.bz2
+ghostscript-8.70.tar.xz

ghostscript-gs-executable.patch:
 bdftops  |    5 ++---
 dumphint |    5 ++---
 eps2eps  |    5 ++---
 font2c   |    5 ++---
 gsbj     |    5 ++---
 gsdj     |    5 ++---
 gsdj500  |    5 ++---
 gslj     |    5 ++---
 gslp     |    5 ++---
 gsnd     |    5 ++---
 pdf2dsc  |    5 ++---
 pdf2ps   |    5 ++---
 pdfopt   |    5 ++---
 pf2afm   |    5 ++---
 pfbtopfa |    5 ++---
 pphs     |    5 ++---
 printafm |    5 ++---
 ps2epsi  |    7 +++----
 ps2pdfwr |    5 ++---
 ps2ps    |    5 ++---
 wftopfa  |    5 ++---
 21 files changed, 43 insertions(+), 64 deletions(-)

Index: ghostscript-gs-executable.patch
===================================================================
RCS file: /cvs/pkgs/rpms/ghostscript/F-11/ghostscript-gs-executable.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- ghostscript-gs-executable.patch	10 Jun 2009 17:02:28 -0000	1.1
+++ ghostscript-gs-executable.patch	3 Aug 2009 17:39:55 -0000	1.2
@@ -1,6 +1,6 @@
-diff -up ghostscript-8.64/lib/bdftops.gs-executable ghostscript-8.64/lib/bdftops
---- ghostscript-8.64/lib/bdftops.gs-executable	2009-06-10 17:55:39.762484085 +0100
-+++ ghostscript-8.64/lib/bdftops	2009-06-10 17:55:39.765483778 +0100
+diff -up ghostscript-8.70/lib/bdftops.gs-executable ghostscript-8.70/lib/bdftops
+--- ghostscript-8.70/lib/bdftops.gs-executable	2007-07-05 20:04:29.000000000 +0100
++++ ghostscript-8.70/lib/bdftops	2009-08-03 17:53:20.569875831 +0100
 @@ -6,8 +6,7 @@
  GS_EXECUTABLE=gs
  gs="`dirname $0`/$GS_EXECUTABLE"
@@ -12,9 +12,9 @@ diff -up ghostscript-8.64/lib/bdftops.gs
  
 -exec "$GS_EXECUTABLE" -q -dBATCH -dNODISPLAY -- bdftops.ps "$@"
 +exec "$gs" -q -dBATCH -dNODISPLAY -- bdftops.ps "$@"
-diff -up ghostscript-8.64/lib/dumphint.gs-executable ghostscript-8.64/lib/dumphint
---- ghostscript-8.64/lib/dumphint.gs-executable	2009-06-10 17:55:39.767484373 +0100
-+++ ghostscript-8.64/lib/dumphint	2009-06-10 17:55:39.823360403 +0100
+diff -up ghostscript-8.70/lib/dumphint.gs-executable ghostscript-8.70/lib/dumphint
+--- ghostscript-8.70/lib/dumphint.gs-executable	2009-01-04 20:11:57.000000000 +0000
++++ ghostscript-8.70/lib/dumphint	2009-08-03 17:53:20.570875283 +0100
 @@ -7,9 +7,8 @@
  GS_EXECUTABLE=gs
  gs="`dirname $0`/$GS_EXECUTABLE"
@@ -32,9 +32,9 @@ diff -up ghostscript-8.64/lib/dumphint.g
  
 -exec "$GS_EXECUTABLE" -q -dNODISPLAY $OPTIONS -- "`dirname $0`/dumphint.ps" "$1"
 +exec "$gs" -q -dNODISPLAY $OPTIONS -- "`dirname $0`/dumphint.ps" "$1"
-diff -up ghostscript-8.64/lib/eps2eps.gs-executable ghostscript-8.64/lib/eps2eps
---- ghostscript-8.64/lib/eps2eps.gs-executable	2009-06-10 17:55:39.846358935 +0100
-+++ ghostscript-8.64/lib/eps2eps	2009-06-10 17:55:39.848359175 +0100
+diff -up ghostscript-8.70/lib/eps2eps.gs-executable ghostscript-8.70/lib/eps2eps
+--- ghostscript-8.70/lib/eps2eps.gs-executable	2009-01-10 22:11:18.000000000 +0000
++++ ghostscript-8.70/lib/eps2eps	2009-08-03 17:53:20.573877995 +0100
 @@ -7,9 +7,8 @@
  GS_EXECUTABLE=gs
  gs="`dirname $0`/$GS_EXECUTABLE"
@@ -52,9 +52,9 @@ diff -up ghostscript-8.64/lib/eps2eps.gs
  
 -exec "$GS_EXECUTABLE" -q -sDEVICE=epswrite -sstdout=%stderr "-sOutputFile=$2" -dNOPAUSE -dBATCH -dSAFER $OPTIONS "$1"
 +exec "$gs" -q -sDEVICE=epswrite -sstdout=%stderr "-sOutputFile=$2" -dNOPAUSE -dBATCH -dSAFER $OPTIONS "$1"
-diff -up ghostscript-8.64/lib/font2c.gs-executable ghostscript-8.64/lib/font2c
---- ghostscript-8.64/lib/font2c.gs-executable	2009-06-10 17:55:39.850358868 +0100
-+++ ghostscript-8.64/lib/font2c	2009-06-10 17:55:39.852359769 +0100
+diff -up ghostscript-8.70/lib/font2c.gs-executable ghostscript-8.70/lib/font2c
+--- ghostscript-8.70/lib/font2c.gs-executable	2007-07-05 20:04:29.000000000 +0100
++++ ghostscript-8.70/lib/font2c	2009-08-03 17:53:20.576874823 +0100
 @@ -6,8 +6,7 @@
  GS_EXECUTABLE=gs
  gs="`dirname $0`/$GS_EXECUTABLE"
@@ -66,9 +66,9 @@ diff -up ghostscript-8.64/lib/font2c.gs-
  
 -exec "$GS_EXECUTABLE" -q -dNODISPLAY -dWRITESYSTEMDICT -- font2c.ps "$@"
 +exec "$gs" -q -dNODISPLAY -dWRITESYSTEMDICT -- font2c.ps "$@"
-diff -up ghostscript-8.64/lib/gsbj.gs-executable ghostscript-8.64/lib/gsbj
---- ghostscript-8.64/lib/gsbj.gs-executable	2009-06-10 17:55:39.854358559 +0100
-+++ ghostscript-8.64/lib/gsbj	2009-06-10 17:55:39.856358929 +0100
+diff -up ghostscript-8.70/lib/gsbj.gs-executable ghostscript-8.70/lib/gsbj
+--- ghostscript-8.70/lib/gsbj.gs-executable	2007-07-05 20:04:29.000000000 +0100
++++ ghostscript-8.70/lib/gsbj	2009-08-03 17:53:20.579874829 +0100
 @@ -6,8 +6,7 @@
  GS_EXECUTABLE=gs
  gs="`dirname $0`/$GS_EXECUTABLE"
@@ -80,9 +80,9 @@ diff -up ghostscript-8.64/lib/gsbj.gs-ex
  
 -exec "$GS_EXECUTABLE" -q -sDEVICE=bj10e -r180 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
 +exec "$gs" -q -sDEVICE=bj10e -r180 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
-diff -up ghostscript-8.64/lib/gsdj500.gs-executable ghostscript-8.64/lib/gsdj500
---- ghostscript-8.64/lib/gsdj500.gs-executable	2009-06-10 17:55:39.863358659 +0100
-+++ ghostscript-8.64/lib/gsdj500	2009-06-10 17:55:39.865358381 +0100
+diff -up ghostscript-8.70/lib/gsdj500.gs-executable ghostscript-8.70/lib/gsdj500
+--- ghostscript-8.70/lib/gsdj500.gs-executable	2007-07-05 20:04:29.000000000 +0100
++++ ghostscript-8.70/lib/gsdj500	2009-08-03 17:53:20.582874574 +0100
 @@ -6,8 +6,7 @@
  GS_EXECUTABLE=gs
  gs="`dirname $0`/$GS_EXECUTABLE"
@@ -94,9 +94,9 @@ diff -up ghostscript-8.64/lib/gsdj500.gs
  
 -exec "$GS_EXECUTABLE" -q -sDEVICE=djet500 -r300 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
 +exec "$gs" -q -sDEVICE=djet500 -r300 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
-diff -up ghostscript-8.64/lib/gsdj.gs-executable ghostscript-8.64/lib/gsdj
---- ghostscript-8.64/lib/gsdj.gs-executable	2009-06-10 17:55:39.858358853 +0100
-+++ ghostscript-8.64/lib/gsdj	2009-06-10 17:55:39.860359097 +0100
+diff -up ghostscript-8.70/lib/gsdj.gs-executable ghostscript-8.70/lib/gsdj
+--- ghostscript-8.70/lib/gsdj.gs-executable	2007-07-05 20:04:29.000000000 +0100
++++ ghostscript-8.70/lib/gsdj	2009-08-03 17:53:20.585875161 +0100
 @@ -6,8 +6,7 @@
  GS_EXECUTABLE=gs
  gs="`dirname $0`/$GS_EXECUTABLE"
@@ -108,9 +108,9 @@ diff -up ghostscript-8.64/lib/gsdj.gs-ex
  
 -exec "$GS_EXECUTABLE" -q -sDEVICE=deskjet -r300 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
 +exec "$gs" -q -sDEVICE=deskjet -r300 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
-diff -up ghostscript-8.64/lib/gslj.gs-executable ghostscript-8.64/lib/gslj
---- ghostscript-8.64/lib/gslj.gs-executable	2009-06-10 17:55:39.867359335 +0100
-+++ ghostscript-8.64/lib/gslj	2009-06-10 17:55:39.868359409 +0100
+diff -up ghostscript-8.70/lib/gslj.gs-executable ghostscript-8.70/lib/gslj
+--- ghostscript-8.70/lib/gslj.gs-executable	2007-07-05 20:04:29.000000000 +0100
++++ ghostscript-8.70/lib/gslj	2009-08-03 17:53:20.588874966 +0100
 @@ -6,8 +6,7 @@
  GS_EXECUTABLE=gs
  gs="`dirname $0`/$GS_EXECUTABLE"
@@ -122,9 +122,9 @@ diff -up ghostscript-8.64/lib/gslj.gs-ex
  
 -exec "$GS_EXECUTABLE" -q -sDEVICE=laserjet -r300 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
 +exec "$gs" -q -sDEVICE=laserjet -r300 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
-diff -up ghostscript-8.64/lib/gslp.gs-executable ghostscript-8.64/lib/gslp
---- ghostscript-8.64/lib/gslp.gs-executable	2009-06-10 17:55:39.870359296 +0100
-+++ ghostscript-8.64/lib/gslp	2009-06-10 17:55:39.872359052 +0100
+diff -up ghostscript-8.70/lib/gslp.gs-executable ghostscript-8.70/lib/gslp
+--- ghostscript-8.70/lib/gslp.gs-executable	2007-07-05 20:04:29.000000000 +0100
++++ ghostscript-8.70/lib/gslp	2009-08-03 17:53:20.591874666 +0100
 @@ -6,8 +6,7 @@
  GS_EXECUTABLE=gs
  gs="`dirname $0`/$GS_EXECUTABLE"
@@ -136,9 +136,9 @@ diff -up ghostscript-8.64/lib/gslp.gs-ex
  
 -exec "$GS_EXECUTABLE" -q -sDEVICE=epson -r180 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
 +exec "$gs" -q -sDEVICE=epson -r180 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
-diff -up ghostscript-8.64/lib/gsnd.gs-executable ghostscript-8.64/lib/gsnd
---- ghostscript-8.64/lib/gsnd.gs-executable	2009-06-10 17:55:39.874358723 +0100
-+++ ghostscript-8.64/lib/gsnd	2009-06-10 17:55:39.876358801 +0100
+diff -up ghostscript-8.70/lib/gsnd.gs-executable ghostscript-8.70/lib/gsnd
+--- ghostscript-8.70/lib/gsnd.gs-executable	2007-07-05 20:04:29.000000000 +0100
++++ ghostscript-8.70/lib/gsnd	2009-08-03 17:53:20.594874682 +0100
 @@ -6,8 +6,7 @@
  GS_EXECUTABLE=gs
  gs="`dirname $0`/$GS_EXECUTABLE"
@@ -150,9 +150,9 @@ diff -up ghostscript-8.64/lib/gsnd.gs-ex
  
 -exec "$GS_EXECUTABLE" -dNODISPLAY "$@"
 +exec "$gs" -dNODISPLAY "$@"
-diff -up ghostscript-8.64/lib/pdf2dsc.gs-executable ghostscript-8.64/lib/pdf2dsc
---- ghostscript-8.64/lib/pdf2dsc.gs-executable	2009-06-10 17:55:39.878358517 +0100
-+++ ghostscript-8.64/lib/pdf2dsc	2009-06-10 17:55:39.880358835 +0100
+diff -up ghostscript-8.70/lib/pdf2dsc.gs-executable ghostscript-8.70/lib/pdf2dsc
+--- ghostscript-8.70/lib/pdf2dsc.gs-executable	2007-07-05 20:04:29.000000000 +0100
++++ ghostscript-8.70/lib/pdf2dsc	2009-08-03 17:53:20.597874954 +0100
 @@ -11,9 +11,8 @@
  GS_EXECUTABLE=gs
  gs="`dirname $0`/$GS_EXECUTABLE"
@@ -171,9 +171,9 @@ diff -up ghostscript-8.64/lib/pdf2dsc.gs
 -exec "$GS_EXECUTABLE" -q -dNODISPLAY -dSAFER -dDELAYSAFER\
 +exec "$gs" -q -dNODISPLAY -dSAFER -dDELAYSAFER\
      -sPDFname="$pdffile" -sDSCname="$dscfile" pdf2dsc.ps -c quit
-diff -up ghostscript-8.64/lib/pdf2ps.gs-executable ghostscript-8.64/lib/pdf2ps
---- ghostscript-8.64/lib/pdf2ps.gs-executable	2009-06-10 17:55:39.882358707 +0100
-+++ ghostscript-8.64/lib/pdf2ps	2009-06-10 17:55:39.884359406 +0100
+diff -up ghostscript-8.70/lib/pdf2ps.gs-executable ghostscript-8.70/lib/pdf2ps
+--- ghostscript-8.70/lib/pdf2ps.gs-executable	2007-07-05 20:04:29.000000000 +0100
++++ ghostscript-8.70/lib/pdf2ps	2009-08-03 17:53:20.601874677 +0100
 @@ -7,9 +7,8 @@
  GS_EXECUTABLE=gs
  gs="`dirname $0`/$GS_EXECUTABLE"
@@ -191,9 +191,9 @@ diff -up ghostscript-8.64/lib/pdf2ps.gs-
  # appears before other options.
 -exec "$GS_EXECUTABLE" $OPTIONS -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pswrite "-sOutputFile=$outfile" $OPTIONS -c save pop -f "$1"
 +exec "$gs" $OPTIONS -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pswrite "-sOutputFile=$outfile" $OPTIONS -c save pop -f "$1"
-diff -up ghostscript-8.64/lib/pdfopt.gs-executable ghostscript-8.64/lib/pdfopt
---- ghostscript-8.64/lib/pdfopt.gs-executable	2009-06-10 17:55:39.886358586 +0100
-+++ ghostscript-8.64/lib/pdfopt	2009-06-10 17:55:39.888358849 +0100
+diff -up ghostscript-8.70/lib/pdfopt.gs-executable ghostscript-8.70/lib/pdfopt
+--- ghostscript-8.70/lib/pdfopt.gs-executable	2008-05-25 03:17:14.000000000 +0100
++++ ghostscript-8.70/lib/pdfopt	2009-08-03 17:53:20.604874898 +0100
 @@ -7,9 +7,8 @@
  GS_EXECUTABLE=gs
  gs="`dirname $0`/$GS_EXECUTABLE"
@@ -211,9 +211,9 @@ diff -up ghostscript-8.64/lib/pdfopt.gs-
  
 -exec "$GS_EXECUTABLE" -q -dNODISPLAY $OPTIONS -- pdfopt.ps "$1" "$2"
 +exec "$gs" -q -dNODISPLAY $OPTIONS -- pdfopt.ps "$1" "$2"
-diff -up ghostscript-8.64/lib/pf2afm.gs-executable ghostscript-8.64/lib/pf2afm
---- ghostscript-8.64/lib/pf2afm.gs-executable	2009-06-10 17:55:39.890358746 +0100
-+++ ghostscript-8.64/lib/pf2afm	2009-06-10 17:55:39.892358698 +0100
+diff -up ghostscript-8.70/lib/pf2afm.gs-executable ghostscript-8.70/lib/pf2afm
+--- ghostscript-8.70/lib/pf2afm.gs-executable	2007-07-05 20:04:29.000000000 +0100
++++ ghostscript-8.70/lib/pf2afm	2009-08-03 17:53:20.608874740 +0100
 @@ -10,8 +10,7 @@
  GS_EXECUTABLE=gs
  gs="`dirname $0`/$GS_EXECUTABLE"
@@ -225,9 +225,9 @@ diff -up ghostscript-8.64/lib/pf2afm.gs-
  
 -exec "$GS_EXECUTABLE" -q -dNODISPLAY -dSAFER -dDELAYSAFER  -- pf2afm.ps "$@"
 +exec "$gs" -q -dNODISPLAY -dSAFER -dDELAYSAFER  -- pf2afm.ps "$@"
-diff -up ghostscript-8.64/lib/pfbtopfa.gs-executable ghostscript-8.64/lib/pfbtopfa
---- ghostscript-8.64/lib/pfbtopfa.gs-executable	2009-06-10 17:55:39.894358695 +0100
-+++ ghostscript-8.64/lib/pfbtopfa	2009-06-10 17:55:39.896359133 +0100
+diff -up ghostscript-8.70/lib/pfbtopfa.gs-executable ghostscript-8.70/lib/pfbtopfa
+--- ghostscript-8.70/lib/pfbtopfa.gs-executable	2007-07-05 20:04:29.000000000 +0100
++++ ghostscript-8.70/lib/pfbtopfa	2009-08-03 17:53:20.612874691 +0100
 @@ -7,9 +7,8 @@
  GS_EXECUTABLE=gs
  gs="`dirname $0`/$GS_EXECUTABLE"
@@ -245,9 +245,9 @@ diff -up ghostscript-8.64/lib/pfbtopfa.g
  
 -exec "$GS_EXECUTABLE" -q -dNODISPLAY -- pfbtopfa.ps "$1" "$outfile"
 +exec "$gs" -q -dNODISPLAY -- pfbtopfa.ps "$1" "$outfile"
-diff -up ghostscript-8.64/lib/pphs.gs-executable ghostscript-8.64/lib/pphs
---- ghostscript-8.64/lib/pphs.gs-executable	2009-06-10 17:55:39.898358975 +0100
-+++ ghostscript-8.64/lib/pphs	2009-06-10 17:55:39.900359087 +0100
+diff -up ghostscript-8.70/lib/pphs.gs-executable ghostscript-8.70/lib/pphs
+--- ghostscript-8.70/lib/pphs.gs-executable	2007-07-05 20:04:29.000000000 +0100
++++ ghostscript-8.70/lib/pphs	2009-08-03 17:53:20.616874647 +0100
 @@ -9,8 +9,7 @@
  GS_EXECUTABLE=gs
  gs="`dirname $0`/$GS_EXECUTABLE"
@@ -259,9 +259,9 @@ diff -up ghostscript-8.64/lib/pphs.gs-ex
  
 -exec "$GS_EXECUTABLE" -q -dNODISPLAY -- pphs.ps "$@"
 +exec "$gs" -q -dNODISPLAY -- pphs.ps "$@"
-diff -up ghostscript-8.64/lib/printafm.gs-executable ghostscript-8.64/lib/printafm
---- ghostscript-8.64/lib/printafm.gs-executable	2009-06-10 17:55:39.902358678 +0100
-+++ ghostscript-8.64/lib/printafm	2009-06-10 17:55:39.904358851 +0100
+diff -up ghostscript-8.70/lib/printafm.gs-executable ghostscript-8.70/lib/printafm
+--- ghostscript-8.70/lib/printafm.gs-executable	2007-07-05 20:04:29.000000000 +0100
++++ ghostscript-8.70/lib/printafm	2009-08-03 17:53:20.619874766 +0100
 @@ -9,8 +9,7 @@
  GS_EXECUTABLE=gs
  gs="`dirname $0`/$GS_EXECUTABLE"
@@ -273,9 +273,9 @@ diff -up ghostscript-8.64/lib/printafm.g
  
 -exec "$GS_EXECUTABLE" -q -dNODISPLAY -- printafm.ps "$@"
 +exec "$gs" -q -dNODISPLAY -- printafm.ps "$@"
-diff -up ghostscript-8.64/lib/ps2epsi.gs-executable ghostscript-8.64/lib/ps2epsi
---- ghostscript-8.64/lib/ps2epsi.gs-executable	2009-06-10 17:55:39.906359755 +0100
-+++ ghostscript-8.64/lib/ps2epsi	2009-06-10 17:55:39.908359051 +0100
+diff -up ghostscript-8.70/lib/ps2epsi.gs-executable ghostscript-8.70/lib/ps2epsi
+--- ghostscript-8.70/lib/ps2epsi.gs-executable	2009-04-07 11:20:02.000000000 +0100
++++ ghostscript-8.70/lib/ps2epsi	2009-08-03 17:54:48.355750266 +0100
 @@ -6,9 +6,8 @@
  GS_EXECUTABLE=gs
  gs="`dirname $0`/$GS_EXECUTABLE"
@@ -287,18 +287,27 @@ diff -up ghostscript-8.64/lib/ps2epsi.gs
  
  # try to create a temporary file securely
  if test -z "$TMPDIR"; then
-@@ -75,7 +74,7 @@ awk 'F==1	{
+@@ -50,7 +49,7 @@ else
+ 	outfile=$2
+ fi
+ 
+-"$GS_EXECUTABLE" -q -dBATCH -dNOPAUSE -dSAFER -dDELAYSAFER -sDEVICE=bbox -sOutputFile=/dev/null "${infile}" 2>${outfile}
++"$gs" -q -dBATCH -dNOPAUSE -dSAFER -dDELAYSAFER -sDEVICE=bbox -sOutputFile=/dev/null "${infile}" 2>${outfile}
+ 
+ ls -l "${infile}" |
+ awk 'F==1	{
+@@ -92,7 +91,7 @@ awk 'F==1	{
  		}
- 	' U="$USERNAME$LOGNAME"  F=1 - F=2 "${infile}" >"$tmpfile"
+ 	' F=1 - F=2 "${outfile}" >>"$tmpfile"
  
--"$GS_EXECUTABLE" -q -sPAPERSIZE=a0 -dNOPAUSE -dSAFER -dDELAYSAFER -r72 -sDEVICE=bit -sOutputFile=/dev/null "$tmpfile" ps2epsi.ps "$tmpfile" <"${infile}" 1>&2
-+"$gs" -q -sPAPERSIZE=a0 -dNOPAUSE -dSAFER -dDELAYSAFER -r72 -sDEVICE=bit -sOutputFile=/dev/null "$tmpfile" ps2epsi.ps "$tmpfile" <"${infile}" 1>&2
+-"$GS_EXECUTABLE" -q -dNOPAUSE -dSAFER -dDELAYSAFER -r72 -sDEVICE=bit -sOutputFile=/dev/null "$tmpfile" ps2epsi.ps "$tmpfile" <"${infile}" 1>&2
++"$gs" -q -dNOPAUSE -dSAFER -dDELAYSAFER -r72 -sDEVICE=bit -sOutputFile=/dev/null "$tmpfile" ps2epsi.ps "$tmpfile" <"${infile}" 1>&2
  rm -f "$tmpfile"
  rm -rf "$tmpdir"
  
-diff -up ghostscript-8.64/lib/ps2pdfwr.gs-executable ghostscript-8.64/lib/ps2pdfwr
---- ghostscript-8.64/lib/ps2pdfwr.gs-executable	2009-06-10 17:55:39.910358261 +0100
-+++ ghostscript-8.64/lib/ps2pdfwr	2009-06-10 17:55:39.912359265 +0100
+diff -up ghostscript-8.70/lib/ps2pdfwr.gs-executable ghostscript-8.70/lib/ps2pdfwr
+--- ghostscript-8.70/lib/ps2pdfwr.gs-executable	2009-01-10 22:11:18.000000000 +0000
++++ ghostscript-8.70/lib/ps2pdfwr	2009-08-03 17:53:20.626874926 +0100
 @@ -7,9 +7,8 @@
  GS_EXECUTABLE=gs
  gs="`dirname $0`/$GS_EXECUTABLE"
@@ -316,9 +325,9 @@ diff -up ghostscript-8.64/lib/ps2pdfwr.g
  # appears before other options.
 -exec "$GS_EXECUTABLE" $OPTIONS -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr "-sOutputFile=$outfile" $OPTIONS -c .setpdfwrite -f "$infile"
 +exec "$gs" $OPTIONS -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr "-sOutputFile=$outfile" $OPTIONS -c .setpdfwrite -f "$infile"
-diff -up ghostscript-8.64/lib/ps2ps.gs-executable ghostscript-8.64/lib/ps2ps
---- ghostscript-8.64/lib/ps2ps.gs-executable	2009-06-10 17:55:39.914358120 +0100
-+++ ghostscript-8.64/lib/ps2ps	2009-06-10 17:55:39.915358850 +0100
+diff -up ghostscript-8.70/lib/ps2ps.gs-executable ghostscript-8.70/lib/ps2ps
+--- ghostscript-8.70/lib/ps2ps.gs-executable	2009-01-10 22:11:18.000000000 +0000
++++ ghostscript-8.70/lib/ps2ps	2009-08-03 17:53:20.630875037 +0100
 @@ -7,9 +7,8 @@
  GS_EXECUTABLE=gs
  gs="`dirname $0`/$GS_EXECUTABLE"
@@ -336,9 +345,9 @@ diff -up ghostscript-8.64/lib/ps2ps.gs-e
  
 -exec "$GS_EXECUTABLE" -q -sDEVICE=pswrite -sstdout=%stderr "-sOutputFile=$2" -dNOPAUSE -dBATCH $OPTIONS "$1"
 +exec "$gs" -q -sDEVICE=pswrite -sstdout=%stderr "-sOutputFile=$2" -dNOPAUSE -dBATCH $OPTIONS "$1"
-diff -up ghostscript-8.64/lib/wftopfa.gs-executable ghostscript-8.64/lib/wftopfa
---- ghostscript-8.64/lib/wftopfa.gs-executable	2009-06-10 17:55:39.917358998 +0100
-+++ ghostscript-8.64/lib/wftopfa	2009-06-10 17:55:39.919358413 +0100
+diff -up ghostscript-8.70/lib/wftopfa.gs-executable ghostscript-8.70/lib/wftopfa
+--- ghostscript-8.70/lib/wftopfa.gs-executable	2007-07-05 20:04:29.000000000 +0100
++++ ghostscript-8.70/lib/wftopfa	2009-08-03 17:53:20.633874780 +0100
 @@ -6,8 +6,7 @@
  GS_EXECUTABLE=gs
  gs="`dirname $0`/$GS_EXECUTABLE"

ghostscript-jbig2dec-nullderef.patch:
 jbig2_generic.c     |    4 ++++
 jbig2_symbol_dict.c |   20 ++++++++++++++++++++
 jbig2_text.c        |    6 ++++++
 3 files changed, 30 insertions(+)

Index: ghostscript-jbig2dec-nullderef.patch
===================================================================
RCS file: /cvs/pkgs/rpms/ghostscript/F-11/ghostscript-jbig2dec-nullderef.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- ghostscript-jbig2dec-nullderef.patch	4 Jun 2009 12:50:10 -0000	1.1
+++ ghostscript-jbig2dec-nullderef.patch	3 Aug 2009 17:39:55 -0000	1.2
@@ -1,7 +1,7 @@
-diff -up ghostscript-8.64/jbig2dec/jbig2_generic.c.jbig2dec-nullderef ghostscript-8.64/jbig2dec/jbig2_generic.c
---- ghostscript-8.64/jbig2dec/jbig2_generic.c.jbig2dec-nullderef	2007-10-25 23:14:22.000000000 +0100
-+++ ghostscript-8.64/jbig2dec/jbig2_generic.c	2009-06-02 10:45:01.814127074 +0100
-@@ -599,6 +599,10 @@ jbig2_immediate_generic_region(Jbig2Ctx 
+diff -up ghostscript-8.70/jbig2dec/jbig2_generic.c.jbig2dec-nullderef ghostscript-8.70/jbig2dec/jbig2_generic.c
+--- ghostscript-8.70/jbig2dec/jbig2_generic.c.jbig2dec-nullderef	2009-05-29 07:48:44.000000000 +0100
++++ ghostscript-8.70/jbig2dec/jbig2_generic.c	2009-08-03 17:51:13.864875636 +0100
+@@ -596,6 +596,10 @@ jbig2_immediate_generic_region(Jbig2Ctx 
    memcpy (params.gbat, gbat, gbat_bytes);
  
    image = jbig2_image_new(ctx, rsi.width, rsi.height);
@@ -12,10 +12,10 @@ diff -up ghostscript-8.64/jbig2dec/jbig2
    jbig2_error(ctx, JBIG2_SEVERITY_DEBUG, segment->number,
      "allocated %d x %d image buffer for region decode results",
          rsi.width, rsi.height);
-diff -up ghostscript-8.64/jbig2dec/jbig2_symbol_dict.c.jbig2dec-nullderef ghostscript-8.64/jbig2dec/jbig2_symbol_dict.c
---- ghostscript-8.64/jbig2dec/jbig2_symbol_dict.c.jbig2dec-nullderef	2009-06-02 10:45:01.809127374 +0100
-+++ ghostscript-8.64/jbig2dec/jbig2_symbol_dict.c	2009-06-02 10:45:01.814127074 +0100
-@@ -370,6 +370,11 @@ jbig2_decode_symbol_dict(Jbig2Ctx *ctx,
+diff -up ghostscript-8.70/jbig2dec/jbig2_symbol_dict.c.jbig2dec-nullderef ghostscript-8.70/jbig2dec/jbig2_symbol_dict.c
+--- ghostscript-8.70/jbig2dec/jbig2_symbol_dict.c.jbig2dec-nullderef	2009-05-29 07:48:44.000000000 +0100
++++ ghostscript-8.70/jbig2dec/jbig2_symbol_dict.c	2009-08-03 17:52:35.318750131 +0100
+@@ -367,6 +367,11 @@ jbig2_decode_symbol_dict(Jbig2Ctx *ctx,
  		  memcpy(region_params.gbat, params->sdat, sdat_bytes);
  
  		  image = jbig2_image_new(ctx, SYMWIDTH, HCHEIGHT);
@@ -27,7 +27,7 @@ diff -up ghostscript-8.64/jbig2dec/jbig2
  
  		  code = jbig2_decode_generic_region(ctx, segment, &region_params,
  						     as, image, GB_stats);
-@@ -520,6 +525,11 @@ jbig2_decode_symbol_dict(Jbig2Ctx *ctx,
+@@ -517,6 +522,11 @@ jbig2_decode_symbol_dict(Jbig2Ctx *ctx,
  			ID, RDX, RDY);
  
  		      image = jbig2_image_new(ctx, SYMWIDTH, HCHEIGHT);
@@ -39,7 +39,7 @@ diff -up ghostscript-8.64/jbig2dec/jbig2
  
  		      /* Table 18 */
  		      rparams.GRTEMPLATE = params->SDRTEMPLATE;
-@@ -638,6 +648,16 @@ jbig2_decode_symbol_dict(Jbig2Ctx *ctx,
+@@ -635,6 +645,16 @@ jbig2_decode_symbol_dict(Jbig2Ctx *ctx,
  	for (j = HCFIRSTSYM; j < NSYMSDECODED; j++) {
  	  Jbig2Image *glyph;
  	  glyph = jbig2_image_new(ctx, SDNEWSYMWIDTHS[j], HCHEIGHT);
@@ -53,16 +53,16 @@ diff -up ghostscript-8.64/jbig2dec/jbig2
 +	      jbig2_image_release(ctx, image);
 +	      return NULL;
 +	  }
- 	  jbig2_image_compose(ctx, glyph, image, 
+ 	  jbig2_image_compose(ctx, glyph, image,
  		-x, 0, JBIG2_COMPOSE_REPLACE);
  	  x += SDNEWSYMWIDTHS[j];
-diff -up ghostscript-8.64/jbig2dec/jbig2_text.c.jbig2dec-nullderef ghostscript-8.64/jbig2dec/jbig2_text.c
---- ghostscript-8.64/jbig2dec/jbig2_text.c.jbig2dec-nullderef	2008-05-09 15:00:44.000000000 +0100
-+++ ghostscript-8.64/jbig2dec/jbig2_text.c	2009-06-02 10:45:01.816126454 +0100
-@@ -315,6 +315,9 @@ jbig2_decode_text_region(Jbig2Ctx *ctx, 
+diff -up ghostscript-8.70/jbig2dec/jbig2_text.c.jbig2dec-nullderef ghostscript-8.70/jbig2dec/jbig2_text.c
+--- ghostscript-8.70/jbig2dec/jbig2_text.c.jbig2dec-nullderef	2009-05-29 07:48:44.000000000 +0100
++++ ghostscript-8.70/jbig2dec/jbig2_text.c	2009-08-03 17:53:05.166750610 +0100
+@@ -312,6 +312,9 @@ jbig2_decode_text_region(Jbig2Ctx *ctx, 
  		IBO = IB;
- 		image = jbig2_image_new(ctx, IBO->width + RDW,
- 					     IBO->height + RDH);
+ 		refimage = jbig2_image_new(ctx, IBO->width + RDW,
+ 						IBO->height + RDH);
 +		if (image == NULL)
 +		    return jbig2_error(ctx, JBIG2_SEVERITY_FATAL, segment->number,
 +				       "could not allocate image storage");


Index: ghostscript.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ghostscript/F-11/ghostscript.spec,v
retrieving revision 1.192
retrieving revision 1.193
diff -u -p -r1.192 -r1.193
--- ghostscript.spec	3 Aug 2009 10:34:17 -0000	1.192
+++ ghostscript.spec	3 Aug 2009 17:39:55 -0000	1.193
@@ -1,18 +1,18 @@
-%define gs_ver 8.64
-%define gs_dot_ver 8.64
+%define gs_ver 8.70
+%define gs_dot_ver 8.70
 %{expand: %%define build_with_freetype %{?_with_freetype:1}%{!?_with_freetype:0}}
 Summary: A PostScript interpreter and renderer.
 Name: ghostscript
 Version: %{gs_ver}
 
-Release: 12%{?dist}
+Release: 1%{?dist}
 
 # Included CMap data is Redistributable, no modification permitted,
 # see http://bugzilla.redhat.com/487510
-License: GPLv2 and Redistributable, no modification permitted
+License: GPLv3+ and Redistributable, no modification permitted
 URL: http://www.ghostscript.com/
 Group: Applications/Publishing
-Source0: ghostscript-%{gs_ver}.tar.bz2
+Source0: ghostscript-%{gs_ver}.tar.xz
 Source2: CIDFnmap
 Source4: cidfmap
 
@@ -23,14 +23,11 @@ Patch4: ghostscript-fPIC.patch
 Patch5: ghostscript-runlibfileifexists.patch
 Patch6: ghostscript-system-jasper.patch
 Patch7: ghostscript-pksmraw.patch
-Patch8: ghostscript-bitcmyk.patch
-Patch9: ghostscript-CVE-2009-0583,0584.patch
-Patch10: ghostscript-CVE-2009-0792.patch
-Patch11: ghostscript-CVE-2009-0196.patch
-Patch12: ghostscript-jbig2dec-nullderef.patch
-Patch13: ghostscript-gs-executable.patch
+Patch8: ghostscript-jbig2dec-nullderef.patch
+Patch9: ghostscript-gs-executable.patch
 
 Requires: urw-fonts >= 1.1, ghostscript-fonts
+BuildRequires: xz
 BuildRequires: libjpeg-devel, libXt-devel
 BuildRequires: zlib-devel, libpng-devel, unzip, gtk2-devel
 BuildRequires: glib2-devel, gnutls-devel
@@ -112,24 +109,11 @@ rm -rf libpng zlib jpeg jasper
 # Fix pksmraw output (bug #308211).  Still needed in 8.63.
 %patch7 -p1 -b .pksmraw
 
-# Fix bitcmyk driver (bug #486644).
-%patch8 -p1 -b .bitcmyk
-
-# Applied patch to fix CVE-2009-0583 (bug #487742) and CVE-2009-0584
-# (bug #487744).
-%patch9 -p1 -b .CVE-2009-0583,0584
-
-# Applied patch to fix CVE-2009-0792 (bug #491853).
-%patch10 -p1 -b .CVE-2009-0792
-
-# Applied patch to fix CVE-2009-0196 (bug #493379).
-%patch11 -p1 -b .CVE-2009-0196
-
 # Applied patch to fix NULL dereference in JBIG2 decoder (bug #501710).
-%patch12 -p1 -b .jbig2dec-nullderef
+%patch8 -p1 -b .jbig2dec-nullderef
 
 # Fix scripts so they don't get broken on install (bug #502550).
-%patch13 -p1 -b .gs-executable
+%patch9 -p1 -b .gs-executable
 
 # Convert manual pages to UTF-8
 from8859_1() {
@@ -312,6 +296,16 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libgs.so
 
 %changelog
+* Mon Aug  3 2009 Tim Waugh <twaugh at redhat.com> 8.70-1
+- 8.70.
+- License has changed to GPLv3+.  Packages containing programs that
+  link to libgs/libijs are:
+  - foomatic (GPLv2+)
+  - libspectre (GPLv2+)
+  - ImageMagick (ImageMagick, listed on Licensing wiki page under
+    "Good Licenses" and marked as GPLv3 compat)
+  - gutenprint (GPLv2+)
+
 * Mon Aug  3 2009 Tim Waugh <twaugh at redhat.com> 8.64-12
 - Moved examples to doc subpackage (bug #515167).
 - Converted spec file to UTF-8.


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ghostscript/F-11/sources,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -p -r1.32 -r1.33
--- sources	4 Feb 2009 13:32:50 -0000	1.32
+++ sources	3 Aug 2009 17:39:55 -0000	1.33
@@ -1,3 +1,3 @@
 2fbae60417d42779f6488ab897dcaaf6  acro5-cmaps-2001.tar.gz
 dfc93dd2aaaf2b86d2fd55f654c13261  adobe-cmaps-200406.tar.gz
-b13289cb2115f38f40c5e064f87e228a  ghostscript-8.64.tar.bz2
+fec96a1fb44b73a01ba1adda55744784  ghostscript-8.70.tar.xz


--- ghostscript-CVE-2009-0196.patch DELETED ---

***** Not enough context to create diffstat for file: ghostscript-CVE-2009-0583,0584.patch,1.2,NONE
***** Not enough context to create diff for file: ghostscript-CVE-2009-0583,0584.patch,1.2,NONE

--- ghostscript-CVE-2009-0792.patch DELETED ---


--- ghostscript-bitcmyk.patch DELETED ---




More information about the fedora-extras-commits mailing list