Work around PPDs cache handling issue (bug #742989).
This commit is contained in:
parent
cd792f4a72
commit
c4dc311c9d
11
cups-driverd-bug.patch
Normal file
11
cups-driverd-bug.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
diff -up cups-1.5.0/scheduler/cups-driverd.cxx.driverd-bug cups-1.5.0/scheduler/cups-driverd.cxx
|
||||||
|
--- cups-1.5.0/scheduler/cups-driverd.cxx.driverd-bug 2011-10-04 16:12:08.067606926 +0100
|
||||||
|
+++ cups-1.5.0/scheduler/cups-driverd.cxx 2011-10-04 16:15:55.788633393 +0100
|
||||||
|
@@ -2359,6 +2359,7 @@ load_ppds_dat(char *filename, /* I -
|
||||||
|
cups_cachedir = CUPS_CACHEDIR;
|
||||||
|
|
||||||
|
snprintf(filename, filesize, "%s/ppds.dat", cups_cachedir);
|
||||||
|
+ return; // NOT WORKING
|
||||||
|
if ((fp = cupsFileOpen(filename, "r")) != NULL)
|
||||||
|
{
|
||||||
|
/*
|
@ -13,7 +13,7 @@
|
|||||||
Summary: Common Unix Printing System
|
Summary: Common Unix Printing System
|
||||||
Name: cups
|
Name: cups
|
||||||
Version: 1.5.0
|
Version: 1.5.0
|
||||||
Release: 12%{?dist}
|
Release: 13%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Source: http://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.bz2
|
Source: http://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.bz2
|
||||||
@ -72,6 +72,7 @@ Patch34: cups-avahi-5-services.patch
|
|||||||
Patch35: cups-icc.patch
|
Patch35: cups-icc.patch
|
||||||
Patch36: cups-systemd-socket.patch
|
Patch36: cups-systemd-socket.patch
|
||||||
Patch37: cups-CVE-2011-2896.patch
|
Patch37: cups-CVE-2011-2896.patch
|
||||||
|
Patch38: cups-driverd-bug.patch
|
||||||
|
|
||||||
Patch100: cups-lspp.patch
|
Patch100: cups-lspp.patch
|
||||||
|
|
||||||
@ -296,6 +297,9 @@ Sends IPP requests to the specified URI and tests and/or displays the results.
|
|||||||
# Avoid GIF reader loop (CVE-2011-2896, STR #3914, bug #727800).
|
# Avoid GIF reader loop (CVE-2011-2896, STR #3914, bug #727800).
|
||||||
%patch37 -p1 -b .CVE-2011-2896
|
%patch37 -p1 -b .CVE-2011-2896
|
||||||
|
|
||||||
|
# Work around PPDs cache handling issue (bug #742989).
|
||||||
|
%patch38 -p1 -b .driverd-bug
|
||||||
|
|
||||||
%if %lspp
|
%if %lspp
|
||||||
# LSPP support.
|
# LSPP support.
|
||||||
%patch100 -p1 -b .lspp
|
%patch100 -p1 -b .lspp
|
||||||
@ -642,6 +646,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man1/ipptool.1.gz
|
%{_mandir}/man1/ipptool.1.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 4 2011 Tim Waugh <twaugh@redhat.com> 1:1.5.0-13
|
||||||
|
- Work around PPDs cache handling issue (bug #742989).
|
||||||
|
|
||||||
* Tue Oct 4 2011 Tim Waugh <twaugh@redhat.com> 1:1.5.0-12
|
* Tue Oct 4 2011 Tim Waugh <twaugh@redhat.com> 1:1.5.0-12
|
||||||
- More fixes for systemd socket activation:
|
- More fixes for systemd socket activation:
|
||||||
- relax permissions check for domain socket in libcups.
|
- relax permissions check for domain socket in libcups.
|
||||||
|
Loading…
Reference in New Issue
Block a user