rpms/cups/F-8 cups-str2831.patch,NONE,1.1 cups.spec,1.402,1.403

Tim Waugh twaugh at fedoraproject.org
Fri Dec 5 11:33:55 UTC 2008


Author: twaugh

Update of /cvs/pkgs/rpms/cups/F-8
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20075

Modified Files:
	cups.spec 
Added Files:
	cups-str2831.patch 
Log Message:
* Fri Dec  5 2008 Tim Waugh <twaugh at redhat.com> 1:1.3.9-3
- Attempt to unbreak the fix for STR #2831 (bug #474742).


cups-str2831.patch:

--- NEW FILE cups-str2831.patch ---
diff -up cups-1.3.9/filter/pstops.c.str2831 cups-1.3.9/filter/pstops.c
--- cups-1.3.9/filter/pstops.c.str2831	2008-09-24 00:44:43.000000000 +0100
+++ cups-1.3.9/filter/pstops.c	2008-12-05 11:31:49.000000000 +0000
@@ -1547,9 +1547,6 @@ copy_page(cups_file_t  *fp,		/* I - File
       else if (!strncmp(line, "%%Include", 9))
 	continue;
 
-      if (line[0] != '%' && !feature)
-        break;
-
       if (!feature || (doc->number_up == 1 && !doc->fitplot))
 	doc_write(doc, line, linelen);
     }


Index: cups.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cups/F-8/cups.spec,v
retrieving revision 1.402
retrieving revision 1.403
diff -u -r1.402 -r1.403
--- cups.spec	3 Dec 2008 13:06:04 -0000	1.402
+++ cups.spec	5 Dec 2008 11:33:24 -0000	1.403
@@ -6,7 +6,7 @@
 Summary: Common Unix Printing System
 Name: cups
 Version: 1.3.9
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPLv2
 Group: System Environment/Daemons
 Source: ftp://ftp.easysw.com/pub/cups/test//cups-%{version}-source.tar.bz2
@@ -48,6 +48,7 @@
 Patch25: cups-usb-paperout.patch
 Patch26: cups-CVE-2008-5183.patch
 Patch27: cups-CVE-2008-5286.patch
+Patch28: cups-str2831.patch
 Patch100: cups-lspp.patch
 Epoch: 1
 Url: http://www.cups.org/
@@ -163,6 +164,7 @@
 %patch25 -p1 -b .usb-paperout
 %patch26 -p1 -b .CVE-2008-5183
 %patch27 -p1 -b .CVE-2008-5286
+%patch28 -p1 -b .str2831
 
 %if %lspp
 %patch100 -p1 -b .lspp
@@ -456,6 +458,9 @@
 %{cups_serverbin}/daemon/cups-lpd
 
 %changelog
+* Fri Dec  5 2008 Tim Waugh <twaugh at redhat.com> 1:1.3.9-3
+- Attempt to unbreak the fix for STR #2831 (bug #474742).
+
 * Wed Dec  3 2008 Tim Waugh <twaugh at redhat.com> 1:1.3.9-2
 - Applied patch to fix STR #2974 (bug #473905, CVE-2008-5286,
   CVE-2008-1722).




More information about the fedora-extras-commits mailing list