rpms/bind/devel bind95-rh461409.patch, NONE, 1.1 bind.spec, 1.278, 1.279

Adam Tkac atkac at fedoraproject.org
Wed Sep 17 08:03:33 UTC 2008


Author: atkac

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

Modified Files:
	bind.spec 
Added Files:
	bind95-rh461409.patch 
Log Message:
- IDN output strings didn't honour locale settings (#461409)


bind95-rh461409.patch:

--- NEW FILE bind95-rh461409.patch ---
diff -up bind-9.5.1b1/bin/dig/dighost.c.rh461409 bind-9.5.1b1/bin/dig/dighost.c
--- bind-9.5.1b1/bin/dig/dighost.c.rh461409	2008-09-16 14:04:03.000000000 +0200
+++ bind-9.5.1b1/bin/dig/dighost.c	2008-09-16 14:06:06.000000000 +0200
@@ -3665,6 +3665,15 @@ output_filter (isc_buffer_t *buffer, uns
 	(void) strcpy (tmp1, tmp2);
 	free (tmp2);
 
+	tmp2 = stringprep_utf8_to_locale (tmp1);
+	if (tmp2 == NULL) {
+		debug ("output_filter: stringprep_utf8_to_locale failed");
+		return ISC_R_SUCCESS;
+	}
+
+	(void) strcpy (tmp1, tmp2);
+	free (tmp2);
+
         tolen = strlen (tmp1);
         if (absolute && !end_with_dot && tmp1[tolen - 1] == '.')
                 tolen--;


Index: bind.spec
===================================================================
RCS file: /cvs/pkgs/rpms/bind/devel/bind.spec,v
retrieving revision 1.278
retrieving revision 1.279
diff -u -r1.278 -r1.279
--- bind.spec	5 Aug 2008 12:01:14 -0000	1.278
+++ bind.spec	17 Sep 2008 08:03:03 -0000	1.279
@@ -19,7 +19,7 @@
 Name:     bind
 License:  ISC
 Version:  9.5.1
-Release:  0.5.%{PREVER}%{?dist}
+Release:  0.6.%{PREVER}%{?dist}
 Epoch:    32
 Url:      http://www.isc.org/products/BIND/
 Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -81,6 +81,7 @@
 Patch73: bind-9.5-libidn.patch
 Patch83: bind-9.5-libidn2.patch
 Patch85: bind-9.5-libidn3.patch
+Patch94: bind95-rh461409.patch
 
 #
 Requires:       mktemp
@@ -245,6 +246,7 @@
 %patch90 -p1 -b .edns
 %patch91 -p1 -b .rh450995
 %patch92 -p1 -b .rh457175
+%patch94 -p1 -b .rh461409
 
 # Sparc and s390 arches need to use -fPIE
 %ifarch sparcv9 sparc64 s390 s390x
@@ -642,6 +644,9 @@
 %{_sbindir}/bind-chroot-admin
 
 %changelog
+* Wed Sep 17 2008 Adam Tkac <atkac redhat com> 32:9.5.1-0.6.b1
+- IDN output strings didn't honour locale settings (#461409)
+
 * Tue Aug 05 2008 Adam Tkac <atkac redhat com> 32:9.5.1-0.5.b1
 - disable transfer stats on DLZ zones (#454783)
 




More information about the fedora-extras-commits mailing list