From b9cdd79528c5c68652f9e77d194fedaac9debf11 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Fri, 21 Sep 2007 12:48:18 +0000 Subject: [PATCH] - Write printcap when remote printers have timed out (bug #290831). --- cups-str2512.patch | 11 +++++++++++ cups.spec | 7 ++++++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 cups-str2512.patch diff --git a/cups-str2512.patch b/cups-str2512.patch new file mode 100644 index 0000000..4d61432 --- /dev/null +++ b/cups-str2512.patch @@ -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(); + } + } + } diff --git a/cups.spec b/cups.spec index e4b68e6..ce6d120 100644 --- a/cups.spec +++ b/cups.spec @@ -6,7 +6,7 @@ Summary: Common Unix Printing System Name: cups Version: 1.3.2 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2 Group: System Environment/Daemons 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 Patch13: cups-direct-usb.patch Patch14: cups-lpr-help.patch +Patch15: cups-str2512.patch Patch16: cups-pid.patch Patch19: cups-eggcups.patch Patch20: cups-getpass.patch @@ -147,6 +148,7 @@ lpd emulation. %patch12 -p1 -b .wbuffer %patch13 -p1 -b .direct-usb %patch14 -p1 -b .lpr-help +%patch15 -p1 -b .str2512 %patch16 -p1 -b .pid %patch19 -p1 -b .eggcups %patch20 -p1 -b .getpass @@ -443,6 +445,9 @@ rm -rf $RPM_BUILD_ROOT %{cups_serverbin}/daemon/cups-lpd %changelog +* Fri Sep 21 2007 Tim Waugh 1:1.3.2-2 +- Write printcap when remote printers have timed out (bug #290831). + * Wed Sep 19 2007 Tim Waugh 1:1.3.2-1 - Include Till Kamppeter's dnssd backend. - 1.3.2.