rpms/cups/devel cups-str3287.patch,NONE,1.1 cups.spec,1.500,1.501

Tim Waugh twaugh at fedoraproject.org
Tue Aug 11 08:12:19 UTC 2009


Author: twaugh

Update of /cvs/pkgs/rpms/cups/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv554

Modified Files:
	cups.spec 
Added Files:
	cups-str3287.patch 
Log Message:
* Tue Aug 11 2009 Tim Waugh <twaugh at redhat.com> 1:1.4-0.rc1.15
- Avoid empty BrowseLocalProtocols setting (bug #516460, STR #3287).


cups-str3287.patch:
 adminutil.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE cups-str3287.patch ---
diff -up cups-1.4rc1/cups/adminutil.c.str3287 cups-1.4rc1/cups/adminutil.c
--- cups-1.4rc1/cups/adminutil.c.str3287	2009-06-05 22:38:52.000000000 +0100
+++ cups-1.4rc1/cups/adminutil.c	2009-08-11 09:02:12.677703681 +0100
@@ -1594,7 +1594,7 @@ _cupsAdminSetServerSettings(
 	  {
 	    cupsFilePuts(temp, "BrowseAddress @LOCAL\n");
 
-	    if (!localp)
+	    if (!localp || localp[0] == '\0')
 	      localp = CUPS_DEFAULT_BROWSE_LOCAL_PROTOCOLS;
 
 	    cupsFilePrintf(temp, "BrowseLocalProtocols %s\n", localp);


Index: cups.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cups/devel/cups.spec,v
retrieving revision 1.500
retrieving revision 1.501
diff -u -p -r1.500 -r1.501
--- cups.spec	10 Aug 2009 14:51:15 -0000	1.500
+++ cups.spec	11 Aug 2009 08:12:19 -0000	1.501
@@ -10,7 +10,7 @@
 Summary: Common Unix Printing System
 Name: cups
 Version: 1.4
-Release: 0.%{pre}.14%{?dist}
+Release: 0.%{pre}.15%{?dist}
 License: GPLv2
 Group: System Environment/Daemons
 Source: ftp://ftp.easysw.com/pub/cups/test//cups-%{version}%{?pre}%{?svn}-source.tar.bz2
@@ -66,6 +66,7 @@ Patch38: cups-str3277.patch
 Patch39: cups-str3284.patch
 Patch40: cups-str3285.patch
 Patch41: cups-str3279.patch
+Patch42: cups-str3287.patch
 Patch100: cups-lspp.patch
 Epoch: 1
 Url: http://www.cups.org/
@@ -232,6 +233,7 @@ module. 
 %patch39 -p1 -b .str3284
 %patch40 -p1 -b .str3285
 %patch41 -p1 -b .str3279
+%patch42 -p1 -b .str3287
 
 %if %lspp
 %patch100 -p1 -b .lspp
@@ -526,6 +528,9 @@ rm -rf $RPM_BUILD_ROOT
 %{php_extdir}/phpcups.so
 
 %changelog
+* Tue Aug 11 2009 Tim Waugh <twaugh at redhat.com> 1:1.4-0.rc1.15
+- Avoid empty BrowseLocalProtocols setting (bug #516460, STR #3287).
+
 * Mon Aug 10 2009 Tim Waugh <twaugh at redhat.com> 1:1.4-0.rc1.14
 - Fixed ppds.dat handling of drv files (bug #515027, STR #3279).
 - Fixed udev rules file to avoid DEVTYPE warning messages.




More information about the fedora-extras-commits mailing list