Merge branch 'f21'
This commit is contained in:
commit
f64b8b6106
16
cups-str4500.patch
Normal file
16
cups-str4500.patch
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
diff -up cups-2.0.0/cups/util.c.str4500 cups-2.0.0/cups/util.c
|
||||||
|
--- cups-2.0.0/cups/util.c.str4500 2014-10-15 12:59:27.105942488 +0100
|
||||||
|
+++ cups-2.0.0/cups/util.c 2014-10-15 13:03:38.618187112 +0100
|
||||||
|
@@ -846,10 +846,10 @@ cupsGetPPD3(http_t *http, /* I - H
|
||||||
|
|
||||||
|
snprintf(ppdname, sizeof(ppdname), "%s/ppd/%s.ppd", cg->cups_serverroot,
|
||||||
|
name);
|
||||||
|
- if (!stat(ppdname, &ppdinfo))
|
||||||
|
+ if (!stat(ppdname, &ppdinfo) && !access(ppdname, R_OK))
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
- * OK, the file exists, use it!
|
||||||
|
+ * OK, the file exists and is readable, use it!
|
||||||
|
*/
|
||||||
|
|
||||||
|
if (buffer[0])
|
10
cups.spec
10
cups.spec
@ -11,7 +11,7 @@ Summary: CUPS printing system
|
|||||||
Name: cups
|
Name: cups
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 2.0.0
|
Version: 2.0.0
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Url: http://www.cups.org/
|
Url: http://www.cups.org/
|
||||||
Source: http://www.cups.org/software/%{version}/cups-%{version}-source.tar.bz2
|
Source: http://www.cups.org/software/%{version}/cups-%{version}-source.tar.bz2
|
||||||
@ -65,6 +65,7 @@ Patch35: cups-ipp-multifile.patch
|
|||||||
Patch36: cups-web-devices-timeout.patch
|
Patch36: cups-web-devices-timeout.patch
|
||||||
Patch37: cups-journal.patch
|
Patch37: cups-journal.patch
|
||||||
Patch38: cups-synconclose.patch
|
Patch38: cups-synconclose.patch
|
||||||
|
Patch39: cups-str4500.patch
|
||||||
|
|
||||||
Patch100: cups-lspp.patch
|
Patch100: cups-lspp.patch
|
||||||
|
|
||||||
@ -261,6 +262,9 @@ Sends IPP requests to the specified URI and tests and/or displays the results.
|
|||||||
%patch37 -p1 -b .journal
|
%patch37 -p1 -b .journal
|
||||||
# Set the default for SyncOnClose to Yes.
|
# Set the default for SyncOnClose to Yes.
|
||||||
%patch38 -p1 -b .synconclose
|
%patch38 -p1 -b .synconclose
|
||||||
|
# Fix cupsGetPPD3() so it doesn't give the caller an unreadable file
|
||||||
|
# (bug #1150917, STR #4500).
|
||||||
|
%patch39 -p1 -b .str4500
|
||||||
|
|
||||||
%if %lspp
|
%if %lspp
|
||||||
# LSPP support.
|
# LSPP support.
|
||||||
@ -606,6 +610,10 @@ rm -f %{cups_serverbin}/backend/smb
|
|||||||
%{_mandir}/man5/ipptoolfile.5.gz
|
%{_mandir}/man5/ipptoolfile.5.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 15 2014 Tim Waugh <twaugh@redhat.com> - 1:2.0.0-5
|
||||||
|
- Fix cupsGetPPD3() so it doesn't give the caller an unreadable file
|
||||||
|
(bug #1150917, STR #4500).
|
||||||
|
|
||||||
* Wed Oct 15 2014 Tim Waugh <twaugh@redhat.com> - 1:2.0.0-4
|
* Wed Oct 15 2014 Tim Waugh <twaugh@redhat.com> - 1:2.0.0-4
|
||||||
- Can no longer reproduce bug #1010580 so removing final-content-type
|
- Can no longer reproduce bug #1010580 so removing final-content-type
|
||||||
patch as it causes issues for some backends (bug #1149244).
|
patch as it causes issues for some backends (bug #1149244).
|
||||||
|
Loading…
Reference in New Issue
Block a user