Merge branch 'f13' into f14

This commit is contained in:
Tim Waugh 2010-08-03 15:35:40 +01:00
commit aed4fb1dba
3 changed files with 35 additions and 0 deletions

2
.gitignore vendored
View File

@ -39,5 +39,7 @@ cups-1.4b2-source.tar.bz2
cups-1.4b2-svn8404-source.tar.bz2 cups-1.4b2-svn8404-source.tar.bz2
cups-1.4rc1-source.tar.bz2 cups-1.4rc1-source.tar.bz2
cups-1.4.0-source.tar.bz2 cups-1.4.0-source.tar.bz2
cups-1.4b2-source.tar.bz2
cups-1.4b2-svn8404-source.tar.bz2
cups-1.4.3-source.tar.bz2 cups-1.4.3-source.tar.bz2
cups-1.4.4-source.tar.bz2 cups-1.4.4-source.tar.bz2

View File

@ -0,0 +1,24 @@
diff -up cups-1.4.4/scheduler/network.c.hostnamelookups cups-1.4.4/scheduler/network.c
--- cups-1.4.4/scheduler/network.c.hostnamelookups 2010-04-09 23:42:09.000000000 +0100
+++ cups-1.4.4/scheduler/network.c 2010-06-18 11:13:02.331979867 +0100
@@ -154,11 +154,7 @@ cupsdNetIFUpdate(void)
* Try looking up the hostname for the address as needed...
*/
-#ifdef __APPLE__
if (HostNameLookups)
-#else
- if (HostNameLookups || RemotePort)
-#endif /* __APPLE__ */
httpAddrLookup((http_addr_t *)(addr->ifa_addr), hostname,
sizeof(hostname));
else
@@ -166,7 +162,7 @@ cupsdNetIFUpdate(void)
/*
* Map the default server address and localhost to the server name
* and localhost, respectively; for all other addresses, use the
- * dotted notation...
+ * numeric address...
*/
if (httpAddrLocalhost((http_addr_t *)(addr->ifa_addr)))

View File

@ -58,6 +58,7 @@ Patch24: cups-avahi.patch
Patch25: cups-str3382.patch Patch25: cups-str3382.patch
Patch29: cups-0755.patch Patch29: cups-0755.patch
Patch30: cups-EAI_AGAIN.patch Patch30: cups-EAI_AGAIN.patch
Patch31: cups-hostnamelookups.patch
Patch33: cups-snmp-quirks.patch Patch33: cups-snmp-quirks.patch
Patch34: cups-hp-deviceid-oid.patch Patch34: cups-hp-deviceid-oid.patch
Patch35: cups-dnssd-deviceid.patch Patch35: cups-dnssd-deviceid.patch
@ -253,6 +254,9 @@ module.
%patch29 -p1 -b .0755 %patch29 -p1 -b .0755
# Re-initialise the resolver on failure in httpAddrLookup(). # Re-initialise the resolver on failure in httpAddrLookup().
%patch30 -p1 -b .EAI_AGAIN %patch30 -p1 -b .EAI_AGAIN
# Use numeric addresses for interfaces unless HostNameLookups are
# turned on (bug #583054).
%patch31 -p1 -b .hostnamelookups
# Handle SNMP supply level quirks (bug #581825). # Handle SNMP supply level quirks (bug #581825).
%patch33 -p1 -b .snmp-quirks %patch33 -p1 -b .snmp-quirks
# Add an SNMP query for HP's device ID OID (STR #3552). # Add an SNMP query for HP's device ID OID (STR #3552).
@ -567,6 +571,11 @@ rm -rf $RPM_BUILD_ROOT
%{php_extdir}/phpcups.so %{php_extdir}/phpcups.so
%changelog %changelog
* Tue Aug 3 2010 Tim Waugh <twaugh@redhat.com>
- Merged F-12 change:
- Use numeric addresses for interfaces unless HostNameLookups are
turned on (bug #583054).
* Tue Jul 13 2010 Jiri Popelka <jpopelka@redhat.com> 1:1.4.4-7 * Tue Jul 13 2010 Jiri Popelka <jpopelka@redhat.com> 1:1.4.4-7
- Added restartlog to initscript usage output (bug #612996). - Added restartlog to initscript usage output (bug #612996).