rpms/bind/devel bind-95-rh452060.patch, NONE, 1.1 .cvsignore, 1.46, 1.47 bind-9.3.2-redhat_doc.patch, 1.5, 1.6 bind.spec, 1.290, 1.291 sources, 1.55, 1.56 bind-9.2.0rc3-varrun.patch, 1.2, NONE bind-95-sdlz-include.patch, 1.1, NONE bind-96-libxml2.patch, 1.1, NONE

Adam Tkac atkac at fedoraproject.org
Wed Dec 3 12:38:53 UTC 2008


Author: atkac

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

Modified Files:
	.cvsignore bind-9.3.2-redhat_doc.patch bind.spec sources 
Added Files:
	bind-95-rh452060.patch 
Removed Files:
	bind-9.2.0rc3-varrun.patch bind-95-sdlz-include.patch 
	bind-96-libxml2.patch 
Log Message:
- 9.6.0rc1 release
- patches merged
  - bind-9.2.0rc3-varrun.patch
  - bind-95-sdlz-include.patch
  - bind-96-libxml2.patch
- fixed rare use-after-free problem in host utility (#452060)
- enabled chase of DNSSEC signature chains in dig


bind-95-rh452060.patch:

--- NEW FILE bind-95-rh452060.patch ---
diff -up bind-9.5.0-P2/bin/dig/dighost.c.rh452060 bind-9.5.0-P2/bin/dig/dighost.c
--- bind-9.5.0-P2/bin/dig/dighost.c.rh452060	2008-12-01 22:30:01.000000000 +0100
+++ bind-9.5.0-P2/bin/dig/dighost.c	2008-12-01 22:30:07.000000000 +0100
@@ -1280,6 +1280,12 @@ clear_query(dig_query_t *query) {
 
 	debug("clear_query(%p)", query);
 
+	if (query->waiting_senddone) {
+		debug("send_done not yet called");
+		query->pending_free = ISC_TRUE;
+		return;
+	}
+
 	lookup = query->lookup;
 
 	if (lookup->current_query == query)
@@ -1301,10 +1307,7 @@ clear_query(dig_query_t *query) {
 	isc_mempool_put(commctx, query->recvspace);
 	isc_buffer_invalidate(&query->recvbuf);
 	isc_buffer_invalidate(&query->lengthbuf);
-	if (query->waiting_senddone)
-		query->pending_free = ISC_TRUE;
-	else
-		isc_mem_free(mctx, query);
+	isc_mem_free(mctx, query);
 }
 
 /*%
@@ -2175,9 +2178,9 @@ send_done(isc_task_t *_task, isc_event_t
 	isc_event_free(&event);
 
 	if (query->pending_free)
-		isc_mem_free(mctx, query);
+		clear_query(query);
 
-	check_if_done();
+	check_next_lookup(l);
 	UNLOCK_LOOKUP;
 }
 


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/bind/devel/.cvsignore,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- .cvsignore	10 Nov 2008 16:36:46 -0000	1.46
+++ .cvsignore	3 Dec 2008 12:38:21 -0000	1.47
@@ -1,5 +1,5 @@
 config-4.tar.bz2
 libbind-man.tar.gz
 bind-chroot.tar.bz2
-bind-9.6.0b1.tar.gz
+bind-9.6.0rc1.tar.gz
 libbind-9.5.1b2.tar.bz2

bind-9.3.2-redhat_doc.patch:

Index: bind-9.3.2-redhat_doc.patch
===================================================================
RCS file: /cvs/pkgs/rpms/bind/devel/bind-9.3.2-redhat_doc.patch,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- bind-9.3.2-redhat_doc.patch	15 Nov 2007 10:49:41 -0000	1.5
+++ bind-9.3.2-redhat_doc.patch	3 Dec 2008 12:38:21 -0000	1.6
@@ -1,7 +1,7 @@
 --- bind-9.4.0/bin/named/named.8.redhat_doc	2007-01-30 01:23:44.000000000 +0100
 +++ bind-9.4.0/bin/named/named.8	2007-03-12 15:39:19.000000000 +0100
 @@ -205,6 +205,63 @@
- \fI/var/run/named.pid\fR
+ \fI/var/run/named/named.pid\fR
  .RS 4
  The default process\-id file.
 +.PP


Index: bind.spec
===================================================================
RCS file: /cvs/pkgs/rpms/bind/devel/bind.spec,v
retrieving revision 1.290
retrieving revision 1.291
diff -u -r1.290 -r1.291
--- bind.spec	1 Dec 2008 16:01:43 -0000	1.290
+++ bind.spec	3 Dec 2008 12:38:21 -0000	1.291
@@ -2,7 +2,7 @@
 # Red Hat BIND package .spec file
 #
 
-%define PREVER b1
+%define PREVER rc1
 %define VERSION %{version}%{PREVER}
 
 %{?!SDB:       %define SDB       1}
@@ -18,7 +18,7 @@
 Name:     bind
 License:  ISC
 Version:  9.6.0
-Release:  0.4.1.%{PREVER}%{?dist}
+Release:  0.5.%{PREVER}%{?dist}
 Epoch:    32
 Url:      http://www.isc.org/products/BIND/
 Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -47,7 +47,6 @@
 %endif
 
 # Common patches
-Patch0:  bind-9.2.0rc3-varrun.patch
 Patch1:  bind-9.3.3rc2-rndckey.patch
 Patch5:  bind-nonexec.patch
 Patch10: bind-9.5-PIE.patch
@@ -56,15 +55,14 @@
 Patch71: bind-9.5-overflow.patch
 Patch72: bind-9.5-dlz-64bit.patch
 Patch87: bind-9.5-parallel-build.patch
-Patch95: bind-95-sdlz-include.patch
 Patch96: bind-95-rh469440.patch
 %if %{LIBBIND}
 Patch97: bind-96-temporary-libbind.patch
 Patch100:bind-96-libtool2-libbind.patch
 %endif
-Patch98: bind-96-libxml2.patch
 Patch99: bind-96-libtool2.patch
 Patch101:bind-96-old-api.patch
+Patch102:bind-95-rh452060.patch
 
 # SDB patches
 Patch11: bind-9.3.2b2-sdbsrc.patch
@@ -182,7 +180,6 @@
 %endif
 
 # Common patches
-%patch0 -p1 -b .varrun
 %patch1 -p1 -b .key
 %patch5 -p1 -b .nonexec
 %patch10 -p1 -b .PIE
@@ -231,9 +228,7 @@
 %patch85 -p1 -b .libidn3
 %patch87 -p1 -b .parallel
 %patch94 -p1 -b .rh461409
-%patch95 -p1 -b .includes
 %patch96 -p1 -b .rh469440
-%patch98 -p1 -b .libxml2
 
 # XXX due new libtool. Not sure about proper upstream approach yet.
 mkdir m4
@@ -243,6 +238,8 @@
 %patch100 -p1 -b .libtool2-libbind
 %endif
 
+%patch102 -p1 -b .rh452060
+
 # Sparc and s390 arches need to use -fPIE
 %ifarch sparcv9 sparc64 s390 s390x
 for i in bin/named{,-sdb}/{,unix}/Makefile.in; do
@@ -254,8 +251,8 @@
 
 %build
 export CFLAGS="$CFLAGS $RPM_OPT_FLAGS"
-export CPPFLAGS="$CPPFLAGS"
-export STD_CFLAGS="$CPPFLAGS"
+export CPPFLAGS="$CPPFLAGS -DDIG_SIGCHASE"
+export STD_CDEFINES="$CPPFLAGS"
 
 sed -i -e \
 's/RELEASEVER=\(.*\)/RELEASEVER=\1-RedHat-%{version}-%{release}/' \
@@ -600,6 +597,15 @@
 %ghost %{chroot_prefix}/etc/localtime
 
 %changelog
+* Wed Dec 03 2008 Adam Tkac <atkac redhat com> 32:9.6.0-0.5.rc1
+- 9.6.0rc1 release
+- patches merged
+  - bind-9.2.0rc3-varrun.patch
+  - bind-95-sdlz-include.patch
+  - bind-96-libxml2.patch
+- fixed rare use-after-free problem in host utility (#452060)
+- enabled chase of DNSSEC signature chains in dig
+
 * Mon Dec 01 2008 Adam Tkac <atkac redhat com> 32:9.6.0-0.4.1.b1
 - improved sample config file (#473586)
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/bind/devel/sources,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- sources	10 Nov 2008 16:36:47 -0000	1.55
+++ sources	3 Dec 2008 12:38:21 -0000	1.56
@@ -1,5 +1,5 @@
 de68e10e91e05ab100be879b5bcaa6cb  config-4.tar.bz2
 13fef79f99fcefebb51d84b08805de51  libbind-man.tar.gz
 4faa4395b955e5f8a3d50f308b9fabc8  bind-chroot.tar.bz2
-29d868ead2c985f522e2edf6c5152310  bind-9.6.0b1.tar.gz
+f4afbc1a4695fd1f6a6fb5fefc389f08  bind-9.6.0rc1.tar.gz
 3d1dad3630ec3510c8ab0ac2217a3317  libbind-9.5.1b2.tar.bz2


--- bind-9.2.0rc3-varrun.patch DELETED ---


--- bind-95-sdlz-include.patch DELETED ---


--- bind-96-libxml2.patch DELETED ---




More information about the fedora-extras-commits mailing list