rpms/cups/F-10 cups-localhost-ipv6.patch, NONE, 1.1 cups.spec, 1.459, 1.460
Tim Waugh
twaugh at fedoraproject.org
Sun Apr 26 12:20:01 UTC 2009
Author: twaugh
Update of /cvs/pkgs/rpms/cups/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27801
Modified Files:
cups.spec
Added Files:
cups-localhost-ipv6.patch
Log Message:
* Sun Apr 26 2009 Tim Waugh <twaugh at redhat.com> 1:1.3.10-2
- Accept "Host: ::1" (bug #497393).
cups-localhost-ipv6.patch:
--- NEW FILE cups-localhost-ipv6.patch ---
diff -up cups-1.3.10/scheduler/client.c.localhost-ipv6 cups-1.3.10/scheduler/client.c
--- cups-1.3.10/scheduler/client.c.localhost-ipv6 2009-04-24 18:13:29.000000000 +0100
+++ cups-1.3.10/scheduler/client.c 2009-04-26 12:40:49.000000000 +0100
@@ -5050,7 +5050,8 @@ valid_host(cupsd_client_t *con) /* I -
!strcmp(host, "127.0.0.1") ||
!strncmp(host, "127.0.0.1:", 10) ||
!strcmp(host, "[::1]") ||
- !strncmp(host, "[::1]:", 6));
+ !strncmp(host, "[::1]:", 6) ||
+ !strcmp(host, "::1"));
}
#ifdef HAVE_DNSSD
Index: cups.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cups/F-10/cups.spec,v
retrieving revision 1.459
retrieving revision 1.460
diff -u -r1.459 -r1.460
--- cups.spec 24 Apr 2009 17:14:25 -0000 1.459
+++ cups.spec 26 Apr 2009 12:19:29 -0000 1.460
@@ -48,6 +48,7 @@
Patch22: cups-getnameddest.patch
Patch23: cups-str2101.patch
Patch24: cups-str2536.patch
+Patch25: cups-localhost-ipv6.patch
Patch26: cups-str3023.patch
Patch29: cups-str2831.patch
Patch100: cups-lspp.patch
@@ -184,6 +185,7 @@
%patch22 -p1 -b .getnameddest
%patch23 -p1 -b .str2101
%patch24 -p1 -b .str2536
+%patch25 -p1 -b .localhost-ipv6
%patch26 -p1 -b .str3023
%patch29 -p1 -b .str2831
@@ -478,7 +480,8 @@
%{_libdir}/php/modules/*.so
%changelog
-* Fri Apr 24 2009 Tim Waugh <twaugh at redhat.com> 1:1.3.10-2
+* Sun Apr 26 2009 Tim Waugh <twaugh at redhat.com> 1:1.3.10-2
+- Accept "Host: ::1" (bug #497393).
- Accept Host: fields set to the ServerName value (bug #497301).
- Temporarily relax requirement to have printer-uri attribute in
IPP-Get-Jobs request (bug #497519).
More information about the fedora-extras-commits
mailing list