- Write printcap when remote printers have timed out (bug #290831).

This commit is contained in:
Tim Waugh 2007-09-21 12:48:18 +00:00
parent 0957b327a6
commit b9cdd79528
2 changed files with 17 additions and 1 deletions

11
cups-str2512.patch Normal file
View File

@ -0,0 +1,11 @@
diff -up cups-1.3.2/scheduler/dirsvc.c.str2512 cups-1.3.2/scheduler/dirsvc.c
--- cups-1.3.2/scheduler/dirsvc.c.str2512 2007-09-21 13:46:23.000000000 +0100
+++ cups-1.3.2/scheduler/dirsvc.c 2007-09-21 13:46:54.000000000 +0100
@@ -912,6 +912,7 @@ cupsdSendBrowseList(void)
cupsArraySave(Printers);
cupsdDeletePrinter(p, 1);
cupsArrayRestore(Printers);
+ cupsdWritePrintcap();
}
}
}

View File

@ -6,7 +6,7 @@
Summary: Common Unix Printing System Summary: Common Unix Printing System
Name: cups Name: cups
Version: 1.3.2 Version: 1.3.2
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv2 License: GPLv2
Group: System Environment/Daemons Group: System Environment/Daemons
Source: ftp://ftp.easysw.com/pub/cups/test//cups-%{version}-source.tar.bz2 Source: ftp://ftp.easysw.com/pub/cups/test//cups-%{version}-source.tar.bz2
@ -38,6 +38,7 @@ Patch11: cups-paps.patch
Patch12: cups-wbuffer.patch Patch12: cups-wbuffer.patch
Patch13: cups-direct-usb.patch Patch13: cups-direct-usb.patch
Patch14: cups-lpr-help.patch Patch14: cups-lpr-help.patch
Patch15: cups-str2512.patch
Patch16: cups-pid.patch Patch16: cups-pid.patch
Patch19: cups-eggcups.patch Patch19: cups-eggcups.patch
Patch20: cups-getpass.patch Patch20: cups-getpass.patch
@ -147,6 +148,7 @@ lpd emulation.
%patch12 -p1 -b .wbuffer %patch12 -p1 -b .wbuffer
%patch13 -p1 -b .direct-usb %patch13 -p1 -b .direct-usb
%patch14 -p1 -b .lpr-help %patch14 -p1 -b .lpr-help
%patch15 -p1 -b .str2512
%patch16 -p1 -b .pid %patch16 -p1 -b .pid
%patch19 -p1 -b .eggcups %patch19 -p1 -b .eggcups
%patch20 -p1 -b .getpass %patch20 -p1 -b .getpass
@ -443,6 +445,9 @@ rm -rf $RPM_BUILD_ROOT
%{cups_serverbin}/daemon/cups-lpd %{cups_serverbin}/daemon/cups-lpd
%changelog %changelog
* Fri Sep 21 2007 Tim Waugh <twaugh@redhat.com> 1:1.3.2-2
- Write printcap when remote printers have timed out (bug #290831).
* Wed Sep 19 2007 Tim Waugh <twaugh@redhat.com> 1:1.3.2-1 * Wed Sep 19 2007 Tim Waugh <twaugh@redhat.com> 1:1.3.2-1
- Include Till Kamppeter's dnssd backend. - Include Till Kamppeter's dnssd backend.
- 1.3.2. - 1.3.2.