summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2011-02-21 17:12:57 +0100
committerAdam Tkac <atkac@redhat.com>2011-02-21 17:34:54 +0100
commit5bc2b4b996a3f6f1b388aa41aa07139481bacb2e (patch)
tree9f4987ce774194af09ff663124128fa15d02d68f
parent9dbbf53ecc15d043d050befa6c5c143481511c1b (diff)
downloadbind-5bc2b4b996a3f6f1b388aa41aa07139481bacb2e.tar.gz
bind-5bc2b4b996a3f6f1b388aa41aa07139481bacb2e.tar.xz
bind-5bc2b4b996a3f6f1b388aa41aa07139481bacb2e.zip
Update to 9.8.0rc1.
Signed-off-by: Adam Tkac <atkac@redhat.com>
-rw-r--r--.gitignore1
-rw-r--r--bind-9.5-sdb.patch66
-rw-r--r--bind-96-dyndb.patch106
-rw-r--r--bind.spec13
-rw-r--r--bind97-cleanup.patch166
-rw-r--r--sources2
6 files changed, 180 insertions, 174 deletions
diff --git a/.gitignore b/.gitignore
index fe44837..10afa9c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@ bind-9.7.2b1.tar.gz
/bind-9.7.3b1.tar.gz
/bind-9.7.3rc1.tar.gz
/bind-9.7.3.tar.gz
+/bind-9.8.0rc1.tar.gz
diff --git a/bind-9.5-sdb.patch b/bind-9.5-sdb.patch
index 3371710..88dda90 100644
--- a/bind-9.5-sdb.patch
+++ b/bind-9.5-sdb.patch
@@ -1,6 +1,6 @@
-diff -up bind-9.7.2b1/bin/Makefile.in.sdb bind-9.7.2b1/bin/Makefile.in
---- bind-9.7.2b1/bin/Makefile.in.sdb 2009-10-05 14:07:08.000000000 +0200
-+++ bind-9.7.2b1/bin/Makefile.in 2010-08-03 14:19:16.513711718 +0200
+diff -up bind-9.8.0rc1/bin/Makefile.in.sdb bind-9.8.0rc1/bin/Makefile.in
+--- bind-9.8.0rc1/bin/Makefile.in.sdb 2009-10-05 14:07:08.000000000 +0200
++++ bind-9.8.0rc1/bin/Makefile.in 2011-02-21 16:28:51.678648382 +0100
@@ -19,8 +19,8 @@ srcdir = @srcdir@
VPATH = @srcdir@
top_srcdir = @top_srcdir@
@@ -12,15 +12,15 @@ diff -up bind-9.7.2b1/bin/Makefile.in.sdb bind-9.7.2b1/bin/Makefile.in
TARGETS =
@BIND9_MAKE_RULES@
-diff -up bind-9.7.2b1/bin/named/Makefile.in.sdb bind-9.7.2b1/bin/named/Makefile.in
---- bind-9.7.2b1/bin/named/Makefile.in.sdb 2010-08-03 14:19:16.363679615 +0200
-+++ bind-9.7.2b1/bin/named/Makefile.in 2010-08-03 14:19:16.523713862 +0200
+diff -up bind-9.8.0rc1/bin/named/Makefile.in.sdb bind-9.8.0rc1/bin/named/Makefile.in
+--- bind-9.8.0rc1/bin/named/Makefile.in.sdb 2011-02-21 16:28:51.618648508 +0100
++++ bind-9.8.0rc1/bin/named/Makefile.in 2011-02-21 16:29:11.808606048 +0100
@@ -45,7 +45,7 @@ CINCLUDES = -I${srcdir}/include -I${srcd
${ISCCFG_INCLUDES} ${ISCCC_INCLUDES} ${ISC_INCLUDES} \
- ${DLZDRIVER_INCLUDES} ${DBDRIVER_INCLUDES}
+ ${DLZDRIVER_INCLUDES} ${DBDRIVER_INCLUDES} @DST_OPENSSL_INC@
--CDEFINES = @USE_DLZ@ @USE_PKCS11@
-+CDEFINES = @USE_PKCS11@
+-CDEFINES = @USE_DLZ@ @USE_PKCS11@ @USE_OPENSSL@
++CDEFINES = @USE_PKCS11@ @USE_OPENSSL@
CWARNINGS =
@@ -58,16 +58,16 @@ diff -up bind-9.7.2b1/bin/named/Makefile.in.sdb bind-9.7.2b1/bin/named/Makefile.
MANPAGES = named.8 lwresd.8 named.conf.5
-@@ -166,5 +164,3 @@ install:: named@EXEEXT@ lwresd@EXEEXT@ i
+@@ -169,5 +167,3 @@ install:: named@EXEEXT@ lwresd@EXEEXT@ i
${INSTALL_DATA} ${srcdir}/named.8 ${DESTDIR}${mandir}/man8
${INSTALL_DATA} ${srcdir}/lwresd.8 ${DESTDIR}${mandir}/man8
${INSTALL_DATA} ${srcdir}/named.conf.5 ${DESTDIR}${mandir}/man5
-
-@DLZ_DRIVER_RULES@
-diff -up bind-9.7.2b1/bin/named-sdb/main.c.sdb bind-9.7.2b1/bin/named-sdb/main.c
---- bind-9.7.2b1/bin/named-sdb/main.c.sdb 2010-08-03 14:19:16.423692459 +0200
-+++ bind-9.7.2b1/bin/named-sdb/main.c 2010-08-03 14:19:16.523713862 +0200
-@@ -75,6 +75,9 @@
+diff -up bind-9.8.0rc1/bin/named-sdb/main.c.sdb bind-9.8.0rc1/bin/named-sdb/main.c
+--- bind-9.8.0rc1/bin/named-sdb/main.c.sdb 2011-02-21 16:28:51.638648466 +0100
++++ bind-9.8.0rc1/bin/named-sdb/main.c 2011-02-21 16:28:51.678648382 +0100
+@@ -81,6 +81,9 @@
* Include header files for database drivers here.
*/
/* #include "xxdb.h" */
@@ -77,7 +77,7 @@ diff -up bind-9.7.2b1/bin/named-sdb/main.c.sdb bind-9.7.2b1/bin/named-sdb/main.c
/*
* Include DLZ drivers if appropriate.
-@@ -768,6 +771,10 @@ setup(void) {
+@@ -784,6 +787,10 @@ setup(void) {
ns_main_earlyfatal("isc_app_start() failed: %s",
isc_result_totext(result));
@@ -88,7 +88,7 @@ diff -up bind-9.7.2b1/bin/named-sdb/main.c.sdb bind-9.7.2b1/bin/named-sdb/main.c
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
ISC_LOG_NOTICE, "starting BIND %s%s", ns_g_version,
saved_command_line);
-@@ -851,6 +858,57 @@ setup(void) {
+@@ -867,6 +874,57 @@ setup(void) {
isc_result_totext(result));
#endif
@@ -146,7 +146,7 @@ diff -up bind-9.7.2b1/bin/named-sdb/main.c.sdb bind-9.7.2b1/bin/named-sdb/main.c
ns_server_create(ns_g_mctx, &ns_g_server);
}
-@@ -878,6 +936,10 @@ cleanup(void) {
+@@ -894,6 +952,10 @@ cleanup(void) {
dns_name_destroy();
@@ -157,9 +157,9 @@ diff -up bind-9.7.2b1/bin/named-sdb/main.c.sdb bind-9.7.2b1/bin/named-sdb/main.c
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
ISC_LOG_NOTICE, "exiting");
ns_log_shutdown();
-diff -up bind-9.7.2b1/bin/named-sdb/Makefile.in.sdb bind-9.7.2b1/bin/named-sdb/Makefile.in
---- bind-9.7.2b1/bin/named-sdb/Makefile.in.sdb 2010-08-03 14:19:16.413690320 +0200
-+++ bind-9.7.2b1/bin/named-sdb/Makefile.in 2010-08-03 14:19:16.523713862 +0200
+diff -up bind-9.8.0rc1/bin/named-sdb/Makefile.in.sdb bind-9.8.0rc1/bin/named-sdb/Makefile.in
+--- bind-9.8.0rc1/bin/named-sdb/Makefile.in.sdb 2011-02-21 16:28:51.628648487 +0100
++++ bind-9.8.0rc1/bin/named-sdb/Makefile.in 2011-02-21 16:28:51.678648382 +0100
@@ -28,10 +28,10 @@ top_srcdir = @top_srcdir@
#
# Add database drivers here.
@@ -192,7 +192,7 @@ diff -up bind-9.7.2b1/bin/named-sdb/Makefile.in.sdb bind-9.7.2b1/bin/named-sdb/M
export MAKE_SYMTABLE="yes"; \
export BASEOBJS="${OBJS} ${UOBJS}"; \
${FINALBUILDCMD}
-@@ -157,14 +157,8 @@ statschannel.@O@: bind9.xsl.h
+@@ -160,14 +160,8 @@ statschannel.@O@: bind9.xsl.h
installdirs:
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${sbindir}
@@ -209,23 +209,19 @@ diff -up bind-9.7.2b1/bin/named-sdb/Makefile.in.sdb bind-9.7.2b1/bin/named-sdb/M
+ ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named-sdb@EXEEXT@ ${DESTDIR}${sbindir}
@DLZ_DRIVER_RULES@
-diff -up bind-9.7.2b1/configure.in.sdb bind-9.7.2b1/configure.in
---- bind-9.7.2b1/configure.in.sdb 2010-06-22 06:02:39.000000000 +0200
-+++ bind-9.7.2b1/configure.in 2010-08-03 14:20:20.707451485 +0200
-@@ -3266,6 +3266,8 @@ AC_CONFIG_FILES([
- bin/confgen/unix/Makefile
+diff -up bind-9.8.0rc1/configure.in.sdb bind-9.8.0rc1/configure.in
+--- bind-9.8.0rc1/configure.in.sdb 2011-02-03 06:50:05.000000000 +0100
++++ bind-9.8.0rc1/configure.in 2011-02-21 16:30:15.788470563 +0100
+@@ -3285,9 +3285,12 @@ AC_CONFIG_FILES([
+ bin/dnssec/Makefile
bin/named/Makefile
bin/named/unix/Makefile
+ bin/named-sdb/Makefile
+ bin/named-sdb/unix/Makefile
- bin/rndc/Makefile
- bin/dig/Makefile
bin/nsupdate/Makefile
-@@ -3290,6 +3292,7 @@ AC_CONFIG_FILES([
- bin/tests/virtual-time/conf.sh
- bin/tools/Makefile
- bin/dnssec/Makefile
-+ bin/sdb_tools/Makefile
bin/pkcs11/Makefile
- doc/Makefile
- doc/arm/Makefile
+ bin/rndc/Makefile
++ bin/sdb_tools/Makefile
+ bin/tests/Makefile
+ bin/tests/atomic/Makefile
+ bin/tests/db/Makefile
diff --git a/bind-96-dyndb.patch b/bind-96-dyndb.patch
index 81d4899..b8b86b1 100644
--- a/bind-96-dyndb.patch
+++ b/bind-96-dyndb.patch
@@ -1,6 +1,6 @@
-diff -up bind-9.7.0rc2/bin/named/main.c.dyndb bind-9.7.0rc2/bin/named/main.c
---- bind-9.7.0rc2/bin/named/main.c.dyndb 2009-10-05 19:30:49.000000000 +0200
-+++ bind-9.7.0rc2/bin/named/main.c 2010-01-28 12:14:14.579196829 +0100
+diff -up bind-9.8.0rc1/bin/named/main.c.dyndb bind-9.8.0rc1/bin/named/main.c
+--- bind-9.8.0rc1/bin/named/main.c.dyndb 2010-12-22 04:59:02.000000000 +0100
++++ bind-9.8.0rc1/bin/named/main.c 2011-02-21 16:27:08.408863231 +0100
@@ -45,6 +45,7 @@
#include <isccc/result.h>
@@ -9,7 +9,7 @@ diff -up bind-9.7.0rc2/bin/named/main.c.dyndb bind-9.7.0rc2/bin/named/main.c
#include <dns/name.h>
#include <dns/result.h>
#include <dns/view.h>
-@@ -853,6 +854,8 @@ setup(void) {
+@@ -871,6 +872,8 @@ setup(void) {
static void
cleanup(void) {
@@ -18,18 +18,18 @@ diff -up bind-9.7.0rc2/bin/named/main.c.dyndb bind-9.7.0rc2/bin/named/main.c
destroy_managers();
ns_server_destroy(&ns_g_server);
-diff -up bind-9.7.0rc2/bin/named/server.c.dyndb bind-9.7.0rc2/bin/named/server.c
---- bind-9.7.0rc2/bin/named/server.c.dyndb 2010-01-14 00:48:19.000000000 +0100
-+++ bind-9.7.0rc2/bin/named/server.c 2010-01-28 12:14:14.579196829 +0100
-@@ -58,6 +58,7 @@
+diff -up bind-9.8.0rc1/bin/named/server.c.dyndb bind-9.8.0rc1/bin/named/server.c
+--- bind-9.8.0rc1/bin/named/server.c.dyndb 2011-02-03 13:17:49.000000000 +0100
++++ bind-9.8.0rc1/bin/named/server.c 2011-02-21 16:27:44.208789205 +0100
+@@ -63,6 +63,7 @@
#ifdef DLZ
#include <dns/dlz.h>
#endif
+#include <dns/dynamic_db.h>
+ #include <dns/dns64.h>
#include <dns/forward.h>
#include <dns/journal.h>
- #include <dns/keytable.h>
-@@ -1071,6 +1072,72 @@ configure_peer(const cfg_obj_t *cpeer, i
+@@ -1158,6 +1159,72 @@ configure_peer(const cfg_obj_t *cpeer, i
}
static isc_result_t
@@ -102,7 +102,7 @@ diff -up bind-9.7.0rc2/bin/named/server.c.dyndb bind-9.7.0rc2/bin/named/server.c
disable_algorithms(const cfg_obj_t *disabled, dns_resolver_t *resolver) {
isc_result_t result;
const cfg_obj_t *algorithms;
-@@ -1280,6 +1347,7 @@ configure_view(dns_view_t *view, const c
+@@ -1574,6 +1641,7 @@ configure_view(dns_view_t *view, cfg_par
unsigned int dlzargc;
char **dlzargv;
#endif
@@ -110,7 +110,7 @@ diff -up bind-9.7.0rc2/bin/named/server.c.dyndb bind-9.7.0rc2/bin/named/server.c
const cfg_obj_t *disabled;
const cfg_obj_t *obj;
const cfg_listelt_t *element;
-@@ -1464,6 +1532,37 @@ configure_view(dns_view_t *view, const c
+@@ -1834,6 +1902,37 @@ configure_view(dns_view_t *view, cfg_par
#endif
/*
@@ -148,7 +148,7 @@ diff -up bind-9.7.0rc2/bin/named/server.c.dyndb bind-9.7.0rc2/bin/named/server.c
* Obtain configuration parameters that affect the decision of whether
* we can reuse/share an existing cache.
*/
-@@ -3633,6 +3732,7 @@ load_configuration(const char *filename,
+@@ -4186,6 +4285,7 @@ load_configuration(const char *filename,
result = isc_task_beginexclusive(server->task);
RUNTIME_CHECK(result == ISC_R_SUCCESS);
@@ -156,7 +156,7 @@ diff -up bind-9.7.0rc2/bin/named/server.c.dyndb bind-9.7.0rc2/bin/named/server.c
/*
* Parse the global default pseudo-config file.
*/
-@@ -4979,6 +5079,8 @@ loadconfig(ns_server_t *server) {
+@@ -5541,6 +5641,8 @@ loadconfig(ns_server_t *server) {
static isc_result_t
reload(ns_server_t *server) {
isc_result_t result;
@@ -165,9 +165,9 @@ diff -up bind-9.7.0rc2/bin/named/server.c.dyndb bind-9.7.0rc2/bin/named/server.c
CHECK(loadconfig(server));
result = load_zones(server, ISC_FALSE);
-diff -up bind-9.7.0rc2/lib/dns/dynamic_db.c.dyndb bind-9.7.0rc2/lib/dns/dynamic_db.c
---- bind-9.7.0rc2/lib/dns/dynamic_db.c.dyndb 2010-01-28 12:14:14.579196829 +0100
-+++ bind-9.7.0rc2/lib/dns/dynamic_db.c 2010-01-28 12:14:14.579196829 +0100
+diff -up bind-9.8.0rc1/lib/dns/dynamic_db.c.dyndb bind-9.8.0rc1/lib/dns/dynamic_db.c
+--- bind-9.8.0rc1/lib/dns/dynamic_db.c.dyndb 2011-02-21 16:27:08.408863231 +0100
++++ bind-9.8.0rc1/lib/dns/dynamic_db.c 2011-02-21 16:27:08.408863231 +0100
@@ -0,0 +1,364 @@
+/*
+ * Copyright (C) 2008-2009 Red Hat, Inc.
@@ -533,9 +533,9 @@ diff -up bind-9.7.0rc2/lib/dns/dynamic_db.c.dyndb bind-9.7.0rc2/lib/dns/dynamic_
+
+ return args->timermgr;
+}
-diff -up bind-9.7.0rc2/lib/dns/include/dns/dynamic_db.h.dyndb bind-9.7.0rc2/lib/dns/include/dns/dynamic_db.h
---- bind-9.7.0rc2/lib/dns/include/dns/dynamic_db.h.dyndb 2010-01-28 12:14:14.579196829 +0100
-+++ bind-9.7.0rc2/lib/dns/include/dns/dynamic_db.h 2010-01-28 12:14:14.579196829 +0100
+diff -up bind-9.8.0rc1/lib/dns/include/dns/dynamic_db.h.dyndb bind-9.8.0rc1/lib/dns/include/dns/dynamic_db.h
+--- bind-9.8.0rc1/lib/dns/include/dns/dynamic_db.h.dyndb 2011-02-21 16:27:08.408863231 +0100
++++ bind-9.8.0rc1/lib/dns/include/dns/dynamic_db.h 2011-02-21 16:27:08.408863231 +0100
@@ -0,0 +1,50 @@
+/*
+ * Copyright (C) 2008-2009 Red Hat, Inc.
@@ -587,9 +587,9 @@ diff -up bind-9.7.0rc2/lib/dns/include/dns/dynamic_db.h.dyndb bind-9.7.0rc2/lib/
+isc_timermgr_t *dns_dyndb_get_timermgr(dns_dyndb_arguments_t *args);
+
+#endif
-diff -up bind-9.7.0rc2/lib/dns/include/dns/log.h.dyndb bind-9.7.0rc2/lib/dns/include/dns/log.h
---- bind-9.7.0rc2/lib/dns/include/dns/log.h.dyndb 2009-12-18 23:13:54.000000000 +0100
-+++ bind-9.7.0rc2/lib/dns/include/dns/log.h 2010-01-28 12:14:51.009197177 +0100
+diff -up bind-9.8.0rc1/lib/dns/include/dns/log.h.dyndb bind-9.8.0rc1/lib/dns/include/dns/log.h
+--- bind-9.8.0rc1/lib/dns/include/dns/log.h.dyndb 2009-12-18 23:16:49.000000000 +0100
++++ bind-9.8.0rc1/lib/dns/include/dns/log.h 2011-02-21 16:27:08.408863231 +0100
@@ -74,6 +74,7 @@ LIBDNS_EXTERNAL_DATA extern isc_logmodul
#define DNS_LOGMODULE_ACACHE (&dns_modules[25])
#define DNS_LOGMODULE_DLZ (&dns_modules[26])
@@ -598,9 +598,9 @@ diff -up bind-9.7.0rc2/lib/dns/include/dns/log.h.dyndb bind-9.7.0rc2/lib/dns/inc
ISC_LANG_BEGINDECLS
-diff -up bind-9.7.0rc2/lib/dns/include/dns/Makefile.in.dyndb bind-9.7.0rc2/lib/dns/include/dns/Makefile.in
---- bind-9.7.0rc2/lib/dns/include/dns/Makefile.in.dyndb 2009-10-09 01:48:10.000000000 +0200
-+++ bind-9.7.0rc2/lib/dns/include/dns/Makefile.in 2010-01-28 12:14:14.579196829 +0100
+diff -up bind-9.8.0rc1/lib/dns/include/dns/Makefile.in.dyndb bind-9.8.0rc1/lib/dns/include/dns/Makefile.in
+--- bind-9.8.0rc1/lib/dns/include/dns/Makefile.in.dyndb 2009-10-09 01:48:10.000000000 +0200
++++ bind-9.8.0rc1/lib/dns/include/dns/Makefile.in 2011-02-21 16:27:08.408863231 +0100
@@ -22,7 +22,7 @@ top_srcdir = @top_srcdir@
@BIND9_VERSION@
@@ -610,9 +610,9 @@ diff -up bind-9.7.0rc2/lib/dns/include/dns/Makefile.in.dyndb bind-9.7.0rc2/lib/d
dnssec.h ds.h events.h fixedname.h iptable.h journal.h \
keyflags.h keytable.h keyvalues.h lib.h log.h \
master.h masterdump.h message.h name.h ncache.h nsec.h \
-diff -up bind-9.7.0rc2/lib/dns/include/dns/types.h.dyndb bind-9.7.0rc2/lib/dns/include/dns/types.h
---- bind-9.7.0rc2/lib/dns/include/dns/types.h.dyndb 2009-12-30 09:33:41.000000000 +0100
-+++ bind-9.7.0rc2/lib/dns/include/dns/types.h 2010-01-28 12:14:14.579196829 +0100
+diff -up bind-9.8.0rc1/lib/dns/include/dns/types.h.dyndb bind-9.8.0rc1/lib/dns/include/dns/types.h
+--- bind-9.8.0rc1/lib/dns/include/dns/types.h.dyndb 2010-12-08 03:46:16.000000000 +0100
++++ bind-9.8.0rc1/lib/dns/include/dns/types.h 2011-02-21 16:27:08.408863231 +0100
@@ -60,6 +60,7 @@ typedef struct dns_dbtable dns_dbtable
typedef void dns_dbversion_t;
typedef struct dns_dlzimplementation dns_dlzimplementation_t;
@@ -621,9 +621,9 @@ diff -up bind-9.7.0rc2/lib/dns/include/dns/types.h.dyndb bind-9.7.0rc2/lib/dns/i
typedef struct dns_sdlzimplementation dns_sdlzimplementation_t;
typedef struct dns_decompress dns_decompress_t;
typedef struct dns_dispatch dns_dispatch_t;
-diff -up bind-9.7.0rc2/lib/dns/log.c.dyndb bind-9.7.0rc2/lib/dns/log.c
---- bind-9.7.0rc2/lib/dns/log.c.dyndb 2009-12-19 00:48:18.000000000 +0100
-+++ bind-9.7.0rc2/lib/dns/log.c 2010-01-28 12:15:13.106698708 +0100
+diff -up bind-9.8.0rc1/lib/dns/log.c.dyndb bind-9.8.0rc1/lib/dns/log.c
+--- bind-9.8.0rc1/lib/dns/log.c.dyndb 2009-12-19 00:49:03.000000000 +0100
++++ bind-9.8.0rc1/lib/dns/log.c 2011-02-21 16:27:08.408863231 +0100
@@ -80,6 +80,7 @@ LIBDNS_EXTERNAL_DATA isc_logmodule_t dns
{ "dns/acache", 0 },
{ "dns/dlz", 0 },
@@ -632,30 +632,28 @@ diff -up bind-9.7.0rc2/lib/dns/log.c.dyndb bind-9.7.0rc2/lib/dns/log.c
{ NULL, 0 }
};
-diff -up bind-9.7.0rc2/lib/dns/Makefile.in.dyndb bind-9.7.0rc2/lib/dns/Makefile.in
---- bind-9.7.0rc2/lib/dns/Makefile.in.dyndb 2010-01-28 12:14:14.559198055 +0100
-+++ bind-9.7.0rc2/lib/dns/Makefile.in 2010-01-28 12:14:14.579196829 +0100
-@@ -56,8 +56,8 @@ DSTOBJS = @DST_EXTRA_OBJS@ \
- DNSOBJS = acache.@O@ acl.@O@ adb.@O@ byaddr.@O@ \
+diff -up bind-9.8.0rc1/lib/dns/Makefile.in.dyndb bind-9.8.0rc1/lib/dns/Makefile.in
+--- bind-9.8.0rc1/lib/dns/Makefile.in.dyndb 2011-02-21 16:27:08.398863252 +0100
++++ bind-9.8.0rc1/lib/dns/Makefile.in 2011-02-21 16:28:31.708690237 +0100
+@@ -58,7 +58,7 @@ DNSOBJS = acache.@O@ acl.@O@ adb.@O@ bya
cache.@O@ callbacks.@O@ compress.@O@ \
db.@O@ dbiterator.@O@ dbtable.@O@ diff.@O@ dispatch.@O@ \
-- dlz.@O@ dnssec.@O@ ds.@O@ forward.@O@ iptable.@O@ journal.@O@ \
-- keydata.@O@ keytable.@O@ lib.@O@ log.@O@ lookup.@O@ \
-+ dlz.@O@ dnssec.@O@ ds.@O@ dynamic_db.@O@ forward.@O@ iptable.@O@ \
-+ journal.@O@ keydata.@O@ keytable.@O@ lib.@O@ log.@O@ lookup.@O@ \
+ dlz.@O@ dns64.@O@ dnssec.@O@ ds.@O@ forward.@O@ iptable.@O@ \
+- journal.@O@ keydata.@O@ keytable.@O@ \
++ dynamic_db.@O@ journal.@O@ keydata.@O@ keytable.@O@ \
+ lib.@O@ log.@O@ lookup.@O@ \
master.@O@ masterdump.@O@ message.@O@ \
name.@O@ ncache.@O@ nsec.@O@ nsec3.@O@ order.@O@ peer.@O@ \
- portlist.@O@ private.@O@ \
-@@ -83,7 +83,7 @@ DSTSRCS = @DST_EXTRA_SRCS@ \
- DNSSRCS = acache.c acl.c adb.c byaddr.c \
+@@ -87,7 +87,7 @@ DNSSRCS = acache.c acl.c adb.c byaddr.c
cache.c callbacks.c compress.c \
db.c dbiterator.c dbtable.c diff.c dispatch.c \
-- dlz.c dnssec.c ds.c forward.c iptable.c journal.c \
-+ dlz.c dnssec.c ds.c dynamic_db.c forward.c iptable.c journal.c \
- keydata.c keytable.c lib.c log.c lookup.c \
+ dlz.c dns64.c dnssec.c ds.c forward.c iptable.c journal.c \
+- keydata.c keytable.c lib.c log.c lookup.c \
++ dynamic_db.c keydata.c keytable.c lib.c log.c lookup.c \
master.c masterdump.c message.c \
name.c ncache.c nsec.c nsec3.c order.c peer.c portlist.c \
-@@ -114,6 +114,11 @@ version.@O@: version.c
+ rbt.c rbtdb.c rbtdb64.c rcode.c rdata.c rdatalist.c \
+@@ -116,6 +116,11 @@ version.@O@: version.c
-DLIBAGE=${LIBAGE} \
-c ${srcdir}/version.c
@@ -667,10 +665,10 @@ diff -up bind-9.7.0rc2/lib/dns/Makefile.in.dyndb bind-9.7.0rc2/lib/dns/Makefile.
libdns.@SA@: ${OBJS}
${AR} ${ARFLAGS} $@ ${OBJS}
${RANLIB} $@
-diff -up bind-9.7.0rc2/lib/isccfg/namedconf.c.dyndb bind-9.7.0rc2/lib/isccfg/namedconf.c
---- bind-9.7.0rc2/lib/isccfg/namedconf.c.dyndb 2009-12-04 22:09:34.000000000 +0100
-+++ bind-9.7.0rc2/lib/isccfg/namedconf.c 2010-01-28 12:14:14.579196829 +0100
-@@ -87,6 +87,7 @@ static cfg_type_t cfg_type_controls;
+diff -up bind-9.8.0rc1/lib/isccfg/namedconf.c.dyndb bind-9.8.0rc1/lib/isccfg/namedconf.c
+--- bind-9.8.0rc1/lib/isccfg/namedconf.c.dyndb 2011-02-03 06:50:08.000000000 +0100
++++ bind-9.8.0rc1/lib/isccfg/namedconf.c 2011-02-21 16:27:08.418863210 +0100
+@@ -89,6 +89,7 @@ static cfg_type_t cfg_type_controls;
static cfg_type_t cfg_type_controls_sockaddr;
static cfg_type_t cfg_type_destinationlist;
static cfg_type_t cfg_type_dialuptype;
@@ -678,7 +676,7 @@ diff -up bind-9.7.0rc2/lib/isccfg/namedconf.c.dyndb bind-9.7.0rc2/lib/isccfg/nam
static cfg_type_t cfg_type_ixfrdifftype;
static cfg_type_t cfg_type_key;
static cfg_type_t cfg_type_logfile;
-@@ -802,6 +803,7 @@ namedconf_or_view_clauses[] = {
+@@ -861,6 +862,7 @@ namedconf_or_view_clauses[] = {
{ "zone", &cfg_type_zone, CFG_CLAUSEFLAG_MULTI },
/* only 1 DLZ per view allowed */
{ "dlz", &cfg_type_dynamically_loadable_zones, 0 },
@@ -686,7 +684,7 @@ diff -up bind-9.7.0rc2/lib/isccfg/namedconf.c.dyndb bind-9.7.0rc2/lib/isccfg/nam
{ "server", &cfg_type_server, CFG_CLAUSEFLAG_MULTI },
{ "trusted-keys", &cfg_type_dnsseckeys, CFG_CLAUSEFLAG_MULTI },
{ "managed-keys", &cfg_type_managedkeys, CFG_CLAUSEFLAG_MULTI },
-@@ -1579,6 +1581,40 @@ static cfg_type_t cfg_type_dialuptype =
+@@ -1843,6 +1845,40 @@ static cfg_type_t cfg_type_dialuptype =
&cfg_rep_string, dialup_enums
};
diff --git a/bind.spec b/bind.spec
index aae116d..ea9fd04 100644
--- a/bind.spec
+++ b/bind.spec
@@ -3,10 +3,10 @@
#
#%define PATCHVER P3
-#%define PREVER rc1
+%define PREVER rc1
#%define VERSION %{version}-%{PATCHVER}
-#%define VERSION %{version}%{PREVER}
-%define VERSION %{version}
+#%define VERSION %{version}
+%define VERSION %{version}%{PREVER}
%{?!SDB: %define SDB 1}
%{?!test: %define test 0}
@@ -21,8 +21,8 @@
Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) server
Name: bind
License: ISC
-Version: 9.7.3
-Release: 1%{?dist}
+Version: 9.8.0
+Release: 0.1.%{PREVER}%{?dist}
Epoch: 32
Url: http://www.isc.org/products/BIND/
Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -770,6 +770,9 @@ rm -rf ${RPM_BUILD_ROOT}
%endif
%changelog
+* Mon Feb 21 2011 Adam Tkac <atkac redhat com> 32:9.8.0-0.1.rc1
+- update to 9.8.0rc1
+
* Fri Feb 18 2011 Adam Tkac <atkac redhat com> 32:9.7.3-1
- update to 9.7.3
- fix dig +trace on dualstack systems (#674334)
diff --git a/bind97-cleanup.patch b/bind97-cleanup.patch
index 6103237..90dcf19 100644
--- a/bind97-cleanup.patch
+++ b/bind97-cleanup.patch
@@ -1,6 +1,6 @@
-diff -up bind-9.7.3/bin/dig/dighost.c.cleanup bind-9.7.3/bin/dig/dighost.c
---- bind-9.7.3/bin/dig/dighost.c.cleanup 2011-02-18 15:28:59.505352049 +0100
-+++ bind-9.7.3/bin/dig/dighost.c 2011-02-18 15:29:22.065302188 +0100
+diff -up bind-9.8.0rc1/bin/dig/dighost.c.cleanup bind-9.8.0rc1/bin/dig/dighost.c
+--- bind-9.8.0rc1/bin/dig/dighost.c.cleanup 2011-02-21 16:30:33.188433480 +0100
++++ bind-9.8.0rc1/bin/dig/dighost.c 2011-02-21 16:30:33.198433459 +0100
@@ -4300,7 +4300,6 @@ opentmpkey(isc_mem_t *mctx, const char *
char *tempnamekey = NULL;
int tempnamelen;
@@ -23,9 +23,9 @@ diff -up bind-9.7.3/bin/dig/dighost.c.cleanup bind-9.7.3/bin/dig/dighost.c
}
tempnamekeylen = tempnamelen+5;
-diff -up bind-9.7.3/bin/dnssec/dnssec-signzone.c.cleanup bind-9.7.3/bin/dnssec/dnssec-signzone.c
---- bind-9.7.3/bin/dnssec/dnssec-signzone.c.cleanup 2011-02-18 15:29:34.615274529 +0100
-+++ bind-9.7.3/bin/dnssec/dnssec-signzone.c 2011-02-18 15:29:51.075239402 +0100
+diff -up bind-9.8.0rc1/bin/dnssec/dnssec-signzone.c.cleanup bind-9.8.0rc1/bin/dnssec/dnssec-signzone.c
+--- bind-9.8.0rc1/bin/dnssec/dnssec-signzone.c.cleanup 2010-06-04 01:51:04.000000000 +0200
++++ bind-9.8.0rc1/bin/dnssec/dnssec-signzone.c 2011-02-21 16:30:33.198433459 +0100
@@ -1467,7 +1467,6 @@ verifyzone(void) {
isc_boolean_t done = ISC_FALSE;
isc_boolean_t first = ISC_TRUE;
@@ -42,10 +42,10 @@ diff -up bind-9.7.3/bin/dnssec/dnssec-signzone.c.cleanup bind-9.7.3/bin/dnssec/d
} else {
if (standby_zsk[dnskey.algorithm] != 255)
standby_zsk[dnskey.algorithm]++;
-diff -up bind-9.7.3/bin/named/server.c.cleanup bind-9.7.3/bin/named/server.c
---- bind-9.7.3/bin/named/server.c.cleanup 2011-02-18 15:27:38.565530746 +0100
-+++ bind-9.7.3/bin/named/server.c 2011-02-18 15:27:55.065494317 +0100
-@@ -1413,7 +1413,6 @@ configure_view(dns_view_t *view, cfg_par
+diff -up bind-9.8.0rc1/bin/named/server.c.cleanup bind-9.8.0rc1/bin/named/server.c
+--- bind-9.8.0rc1/bin/named/server.c.cleanup 2011-02-21 16:30:33.058433757 +0100
++++ bind-9.8.0rc1/bin/named/server.c 2011-02-21 16:30:33.198433459 +0100
+@@ -1670,7 +1670,6 @@ configure_view(dns_view_t *view, cfg_par
isc_uint32_t max_clients_per_query;
const char *sep = ": view ";
const char *viewname = view->name;
@@ -53,7 +53,7 @@ diff -up bind-9.7.3/bin/named/server.c.cleanup bind-9.7.3/bin/named/server.c
isc_boolean_t rfc1918;
isc_boolean_t empty_zones_enable;
const cfg_obj_t *disablelist = NULL;
-@@ -1458,7 +1457,6 @@ configure_view(dns_view_t *view, cfg_par
+@@ -1718,7 +1717,6 @@ configure_view(dns_view_t *view, cfg_par
if (!strcmp(viewname, "_default")) {
sep = "";
viewname = "";
@@ -61,9 +61,9 @@ diff -up bind-9.7.3/bin/named/server.c.cleanup bind-9.7.3/bin/named/server.c
}
/*
-diff -up bind-9.7.3/contrib/dlz/drivers/dlz_postgres_driver.c.cleanup bind-9.7.3/contrib/dlz/drivers/dlz_postgres_driver.c
---- bind-9.7.3/contrib/dlz/drivers/dlz_postgres_driver.c.cleanup 2011-02-18 15:28:16.135447795 +0100
-+++ bind-9.7.3/contrib/dlz/drivers/dlz_postgres_driver.c 2011-02-18 15:28:43.815387080 +0100
+diff -up bind-9.8.0rc1/contrib/dlz/drivers/dlz_postgres_driver.c.cleanup bind-9.8.0rc1/contrib/dlz/drivers/dlz_postgres_driver.c
+--- bind-9.8.0rc1/contrib/dlz/drivers/dlz_postgres_driver.c.cleanup 2010-12-18 02:56:21.000000000 +0100
++++ bind-9.8.0rc1/contrib/dlz/drivers/dlz_postgres_driver.c 2011-02-21 16:30:33.198433459 +0100
@@ -292,8 +292,10 @@ postgres_get_resultset(const char *zone,
unsigned int i = 0;
unsigned int j = 0;
@@ -75,10 +75,10 @@ diff -up bind-9.7.3/contrib/dlz/drivers/dlz_postgres_driver.c.cleanup bind-9.7.3
REQUIRE(*rs == NULL);
-diff -up bind-9.7.3/lib/bind9/check.c.cleanup bind-9.7.3/lib/bind9/check.c
---- bind-9.7.3/lib/bind9/check.c.cleanup 2011-02-18 15:26:31.305679252 +0100
-+++ bind-9.7.3/lib/bind9/check.c 2011-02-18 15:27:21.205572047 +0100
-@@ -1818,8 +1818,6 @@ check_trusted_key(const cfg_obj_t *key,
+diff -up bind-9.8.0rc1/lib/bind9/check.c.cleanup bind-9.8.0rc1/lib/bind9/check.c
+--- bind-9.8.0rc1/lib/bind9/check.c.cleanup 2011-01-08 00:47:07.000000000 +0100
++++ bind-9.8.0rc1/lib/bind9/check.c 2011-02-21 16:30:33.198433459 +0100
+@@ -1997,8 +1997,6 @@ check_trusted_key(const cfg_obj_t *key,
isc_log_t *logctx)
{
const char *keystr, *keynamestr;
@@ -87,7 +87,7 @@ diff -up bind-9.7.3/lib/bind9/check.c.cleanup bind-9.7.3/lib/bind9/check.c
isc_buffer_t keydatabuf;
isc_region_t r;
isc_result_t result = ISC_R_SUCCESS;
-@@ -1830,7 +1828,6 @@ check_trusted_key(const cfg_obj_t *key,
+@@ -2009,7 +2007,6 @@ check_trusted_key(const cfg_obj_t *key,
flags = cfg_obj_asuint32(cfg_tuple_get(key, "flags"));
proto = cfg_obj_asuint32(cfg_tuple_get(key, "protocol"));
alg = cfg_obj_asuint32(cfg_tuple_get(key, "algorithm"));
@@ -95,10 +95,10 @@ diff -up bind-9.7.3/lib/bind9/check.c.cleanup bind-9.7.3/lib/bind9/check.c
keynamestr = cfg_obj_asstring(cfg_tuple_get(key, "name"));
if (flags > 0xffff) {
-diff -up bind-9.7.3/lib/dns/adb.c.cleanup bind-9.7.3/lib/dns/adb.c
---- bind-9.7.3/lib/dns/adb.c.cleanup 2011-02-18 15:18:50.436696481 +0100
-+++ bind-9.7.3/lib/dns/adb.c 2011-02-18 15:19:16.686638556 +0100
-@@ -1853,7 +1853,6 @@ check_expire_name(dns_adbname_t **namep,
+diff -up bind-9.8.0rc1/lib/dns/adb.c.cleanup bind-9.8.0rc1/lib/dns/adb.c
+--- bind-9.8.0rc1/lib/dns/adb.c.cleanup 2010-12-22 00:47:08.000000000 +0100
++++ bind-9.8.0rc1/lib/dns/adb.c 2011-02-21 16:30:33.198433459 +0100
+@@ -2195,7 +2195,6 @@ check_expire_name(dns_adbname_t **namep,
static void
check_stale_name(dns_adb_t *adb, int bucket, isc_stdtime_t now) {
int victims, max_victims;
@@ -106,7 +106,7 @@ diff -up bind-9.7.3/lib/dns/adb.c.cleanup bind-9.7.3/lib/dns/adb.c
dns_adbname_t *victim, *next_victim;
isc_boolean_t overmem = isc_mem_isovermem(adb->mctx);
int scans = 0;
-@@ -1875,7 +1874,7 @@ check_stale_name(dns_adb_t *adb, int buc
+@@ -2217,7 +2216,7 @@ check_stale_name(dns_adb_t *adb, int buc
INSIST(!NAME_DEAD(victim));
scans++;
next_victim = ISC_LIST_PREV(victim, plink);
@@ -115,9 +115,9 @@ diff -up bind-9.7.3/lib/dns/adb.c.cleanup bind-9.7.3/lib/dns/adb.c
if (victim == NULL) {
victims++;
goto next;
-diff -up bind-9.7.3/lib/dns/diff.c.cleanup bind-9.7.3/lib/dns/diff.c
---- bind-9.7.3/lib/dns/diff.c.cleanup 2011-02-18 15:20:02.006538543 +0100
-+++ bind-9.7.3/lib/dns/diff.c 2011-02-18 15:20:28.426480612 +0100
+diff -up bind-9.8.0rc1/lib/dns/diff.c.cleanup bind-9.8.0rc1/lib/dns/diff.c
+--- bind-9.8.0rc1/lib/dns/diff.c.cleanup 2009-12-01 01:47:09.000000000 +0100
++++ bind-9.8.0rc1/lib/dns/diff.c 2011-02-21 16:30:33.198433459 +0100
@@ -264,7 +264,6 @@ diff_apply(dns_diff_t *diff, dns_db_t *d
dns_rdataset_t rds;
dns_rdataset_t ardataset;
@@ -143,9 +143,9 @@ diff -up bind-9.7.3/lib/dns/diff.c.cleanup bind-9.7.3/lib/dns/diff.c
ISC_LIST_APPEND(rdl.rdata, &t->rdata, link);
t = ISC_LIST_NEXT(t, link);
}
-diff -up bind-9.7.3/lib/dns/dnssec.c.cleanup bind-9.7.3/lib/dns/dnssec.c
---- bind-9.7.3/lib/dns/dnssec.c.cleanup 2011-02-18 15:20:39.306456222 +0100
-+++ bind-9.7.3/lib/dns/dnssec.c 2011-02-18 15:21:31.896340160 +0100
+diff -up bind-9.8.0rc1/lib/dns/dnssec.c.cleanup bind-9.8.0rc1/lib/dns/dnssec.c
+--- bind-9.8.0rc1/lib/dns/dnssec.c.cleanup 2010-01-14 00:48:59.000000000 +0100
++++ bind-9.8.0rc1/lib/dns/dnssec.c 2011-02-21 16:30:33.208433438 +0100
@@ -1068,7 +1068,6 @@ isc_result_t
dns_dnsseckey_create(isc_mem_t *mctx, dst_key_t **dstkey,
dns_dnsseckey_t **dkp)
@@ -173,10 +173,10 @@ diff -up bind-9.7.3/lib/dns/dnssec.c.cleanup bind-9.7.3/lib/dns/dnssec.c
ISC_LIST_UNLINK(*newkeys, key1, link);
ISC_LIST_APPEND(*keys, key1, link);
-diff -up bind-9.7.3/lib/dns/gssapictx.c.cleanup bind-9.7.3/lib/dns/gssapictx.c
---- bind-9.7.3/lib/dns/gssapictx.c.cleanup 2011-02-18 15:25:53.975761658 +0100
-+++ bind-9.7.3/lib/dns/gssapictx.c 2011-02-18 15:26:05.945735228 +0100
-@@ -119,7 +119,6 @@ name_to_gbuffer(dns_name_t *name, isc_bu
+diff -up bind-9.8.0rc1/lib/dns/gssapictx.c.cleanup bind-9.8.0rc1/lib/dns/gssapictx.c
+--- bind-9.8.0rc1/lib/dns/gssapictx.c.cleanup 2011-01-10 04:49:49.000000000 +0100
++++ bind-9.8.0rc1/lib/dns/gssapictx.c 2011-02-21 16:30:33.208433438 +0100
+@@ -121,7 +121,6 @@ name_to_gbuffer(dns_name_t *name, isc_bu
{
dns_name_t tname, *namep;
isc_region_t r;
@@ -184,7 +184,7 @@ diff -up bind-9.7.3/lib/dns/gssapictx.c.cleanup bind-9.7.3/lib/dns/gssapictx.c
if (!dns_name_isabsolute(name))
namep = name;
-@@ -132,7 +131,7 @@ name_to_gbuffer(dns_name_t *name, isc_bu
+@@ -134,7 +133,7 @@ name_to_gbuffer(dns_name_t *name, isc_bu
namep = &tname;
}
@@ -193,9 +193,9 @@ diff -up bind-9.7.3/lib/dns/gssapictx.c.cleanup bind-9.7.3/lib/dns/gssapictx.c
isc_buffer_putuint8(buffer, 0);
isc_buffer_usedregion(buffer, &r);
REGION_TO_GBUFFER(r, *gbuffer);
-diff -up bind-9.7.3/lib/dns/rdata/generic/dlv_32769.c.cleanup bind-9.7.3/lib/dns/rdata/generic/dlv_32769.c
---- bind-9.7.3/lib/dns/rdata/generic/dlv_32769.c.cleanup 2011-02-18 15:22:02.456272719 +0100
-+++ bind-9.7.3/lib/dns/rdata/generic/dlv_32769.c 2011-02-18 15:22:27.126218257 +0100
+diff -up bind-9.8.0rc1/lib/dns/rdata/generic/dlv_32769.c.cleanup bind-9.8.0rc1/lib/dns/rdata/generic/dlv_32769.c
+--- bind-9.8.0rc1/lib/dns/rdata/generic/dlv_32769.c.cleanup 2010-12-24 00:47:08.000000000 +0100
++++ bind-9.8.0rc1/lib/dns/rdata/generic/dlv_32769.c 2011-02-21 16:32:03.818238782 +0100
@@ -33,7 +33,6 @@ static inline isc_result_t
fromtext_dlv(ARGS_FROMTEXT) {
isc_token_t token;
@@ -204,25 +204,33 @@ diff -up bind-9.7.3/lib/dns/rdata/generic/dlv_32769.c.cleanup bind-9.7.3/lib/dns
REQUIRE(type == 32769);
-@@ -71,15 +70,6 @@ fromtext_dlv(ARGS_FROMTEXT) {
+@@ -71,23 +70,6 @@ fromtext_dlv(ARGS_FROMTEXT) {
RETERR(uint8_tobuffer(token.value.as_ulong, target));
c = (unsigned char) token.value.as_ulong;
- /*
- * Digest.
- */
-- if (c == DNS_DSDIGEST_SHA1)
+- switch (c) {
+- case DNS_DSDIGEST_SHA1:
- length = ISC_SHA1_DIGESTLENGTH;
-- else if (c == DNS_DSDIGEST_SHA256)
+- break;
+- case DNS_DSDIGEST_SHA256:
- length = ISC_SHA256_DIGESTLENGTH;
-- else
+- break;
+- case DNS_DSDIGEST_GOST:
+- length = ISC_GOST_DIGESTLENGTH;
+- break;
+- default:
- length = -1;
+- break;
+- }
return (isc_hex_tobuffer(lexer, target, -1));
}
-diff -up bind-9.7.3/lib/dns/request.c.cleanup bind-9.7.3/lib/dns/request.c
---- bind-9.7.3/lib/dns/request.c.cleanup 2011-02-18 15:22:40.566188593 +0100
-+++ bind-9.7.3/lib/dns/request.c 2011-02-18 15:23:25.766088820 +0100
+diff -up bind-9.8.0rc1/lib/dns/request.c.cleanup bind-9.8.0rc1/lib/dns/request.c
+--- bind-9.8.0rc1/lib/dns/request.c.cleanup 2010-03-05 00:50:34.000000000 +0100
++++ bind-9.8.0rc1/lib/dns/request.c 2011-02-21 16:30:33.208433438 +0100
@@ -428,12 +428,10 @@ req_send(dns_request_t *request, isc_tas
isc_region_t r;
isc_socket_t *socket;
@@ -236,9 +244,9 @@ diff -up bind-9.7.3/lib/dns/request.c.cleanup bind-9.7.3/lib/dns/request.c
socket = req_getsocket(request);
isc_buffer_usedregion(request->query, &r);
/*
-diff -up bind-9.7.3/lib/dns/tkey.c.cleanup bind-9.7.3/lib/dns/tkey.c
---- bind-9.7.3/lib/dns/tkey.c.cleanup 2011-02-18 15:23:35.386067584 +0100
-+++ bind-9.7.3/lib/dns/tkey.c 2011-02-18 15:23:52.796029159 +0100
+diff -up bind-9.8.0rc1/lib/dns/tkey.c.cleanup bind-9.8.0rc1/lib/dns/tkey.c
+--- bind-9.8.0rc1/lib/dns/tkey.c.cleanup 2011-01-09 00:47:01.000000000 +0100
++++ bind-9.8.0rc1/lib/dns/tkey.c 2011-02-21 16:30:33.208433438 +0100
@@ -70,10 +70,9 @@ static void
_dns_tkey_dumpmessage(dns_message_t *msg) {
isc_buffer_t outbuf;
@@ -251,10 +259,10 @@ diff -up bind-9.7.3/lib/dns/tkey.c.cleanup bind-9.7.3/lib/dns/tkey.c
&outbuf);
/* XXXMLG ignore result */
fprintf(stderr, "%.*s\n", (int)isc_buffer_usedlength(&outbuf),
-diff -up bind-9.7.3/lib/dns/validator.c.cleanup bind-9.7.3/lib/dns/validator.c
---- bind-9.7.3/lib/dns/validator.c.cleanup 2011-02-18 15:24:02.276008230 +0100
-+++ bind-9.7.3/lib/dns/validator.c 2011-02-18 15:24:20.245971006 +0100
-@@ -1223,7 +1223,6 @@ authvalidated(isc_task_t *task, isc_even
+diff -up bind-9.8.0rc1/lib/dns/validator.c.cleanup bind-9.8.0rc1/lib/dns/validator.c
+--- bind-9.8.0rc1/lib/dns/validator.c.cleanup 2010-12-23 05:07:58.000000000 +0100
++++ bind-9.8.0rc1/lib/dns/validator.c 2011-02-21 16:30:33.208433438 +0100
+@@ -1231,7 +1231,6 @@ authvalidated(isc_task_t *task, isc_even
dns_validatorevent_t *devent;
dns_validator_t *val;
dns_rdataset_t *rdataset;
@@ -262,7 +270,7 @@ diff -up bind-9.7.3/lib/dns/validator.c.cleanup bind-9.7.3/lib/dns/validator.c
isc_boolean_t want_destroy;
isc_result_t result;
isc_boolean_t exists, data;
-@@ -1233,7 +1232,6 @@ authvalidated(isc_task_t *task, isc_even
+@@ -1241,7 +1240,6 @@ authvalidated(isc_task_t *task, isc_even
devent = (dns_validatorevent_t *)event;
rdataset = devent->rdataset;
@@ -270,10 +278,10 @@ diff -up bind-9.7.3/lib/dns/validator.c.cleanup bind-9.7.3/lib/dns/validator.c
val = devent->ev_arg;
result = devent->result;
dns_validator_destroy(&val->subvalidator);
-diff -up bind-9.7.3/lib/dns/zone.c.cleanup bind-9.7.3/lib/dns/zone.c
---- bind-9.7.3/lib/dns/zone.c.cleanup 2011-02-18 15:24:33.825938590 +0100
-+++ bind-9.7.3/lib/dns/zone.c 2011-02-18 15:25:38.275796311 +0100
-@@ -5647,11 +5647,11 @@ zone_nsec3chain(dns_zone_t *zone) {
+diff -up bind-9.8.0rc1/lib/dns/zone.c.cleanup bind-9.8.0rc1/lib/dns/zone.c
+--- bind-9.8.0rc1/lib/dns/zone.c.cleanup 2011-02-07 01:14:30.000000000 +0100
++++ bind-9.8.0rc1/lib/dns/zone.c 2011-02-21 16:30:33.208433438 +0100
+@@ -5668,11 +5668,11 @@ zone_nsec3chain(dns_zone_t *zone) {
dns_nsec3chainlist_t cleanup;
dst_key_t *zone_keys[MAXZONEKEYS];
isc_int32_t signatures;
@@ -287,7 +295,7 @@ diff -up bind-9.7.3/lib/dns/zone.c.cleanup bind-9.7.3/lib/dns/zone.c
isc_uint32_t jitter;
unsigned int i;
unsigned int nkeys = 0;
-@@ -5716,7 +5716,6 @@ zone_nsec3chain(dns_zone_t *zone) {
+@@ -5737,7 +5737,6 @@ zone_nsec3chain(dns_zone_t *zone) {
*/
isc_random_get(&jitter);
expire = soaexpire - jitter % 3600;
@@ -295,7 +303,7 @@ diff -up bind-9.7.3/lib/dns/zone.c.cleanup bind-9.7.3/lib/dns/zone.c
check_ksk = DNS_ZONE_OPTION(zone, DNS_ZONEOPT_UPDATECHECKKSK);
keyset_kskonly = DNS_ZONE_OPTION(zone, DNS_ZONEOPT_DNSKEYKSKONLY);
-@@ -5762,7 +5761,6 @@ zone_nsec3chain(dns_zone_t *zone) {
+@@ -5783,7 +5782,6 @@ zone_nsec3chain(dns_zone_t *zone) {
if (NSEC3REMOVE(nsec3chain->nsec3param.flags))
goto next_addchain;
@@ -303,7 +311,7 @@ diff -up bind-9.7.3/lib/dns/zone.c.cleanup bind-9.7.3/lib/dns/zone.c
delegation = ISC_FALSE;
dns_dbiterator_current(nsec3chain->dbiterator, &node, name);
-@@ -6481,12 +6479,11 @@ zone_sign(dns_zone_t *zone) {
+@@ -6502,12 +6500,11 @@ zone_sign(dns_zone_t *zone) {
isc_boolean_t build_nsec3 = ISC_FALSE;
isc_boolean_t first;
isc_result_t result;
@@ -317,7 +325,7 @@ diff -up bind-9.7.3/lib/dns/zone.c.cleanup bind-9.7.3/lib/dns/zone.c
dns_rdataset_init(&rdataset);
dns_fixedname_init(&fixed);
-@@ -6538,7 +6535,6 @@ zone_sign(dns_zone_t *zone) {
+@@ -6559,7 +6556,6 @@ zone_sign(dns_zone_t *zone) {
*/
isc_random_get(&jitter);
expire = soaexpire - jitter % 3600;
@@ -325,7 +333,7 @@ diff -up bind-9.7.3/lib/dns/zone.c.cleanup bind-9.7.3/lib/dns/zone.c
/*
* We keep pulling nodes off each iterator in turn until
-@@ -6583,8 +6579,6 @@ zone_sign(dns_zone_t *zone) {
+@@ -6604,8 +6600,6 @@ zone_sign(dns_zone_t *zone) {
delegation = ISC_FALSE;
@@ -334,9 +342,9 @@ diff -up bind-9.7.3/lib/dns/zone.c.cleanup bind-9.7.3/lib/dns/zone.c
if (first && signing->delete) {
/*
* Remove the key we are deleting from consideration.
-diff -up bind-9.7.3/lib/isc/httpd.c.cleanup bind-9.7.3/lib/isc/httpd.c
---- bind-9.7.3/lib/isc/httpd.c.cleanup 2011-02-18 15:17:22.936889562 +0100
-+++ bind-9.7.3/lib/isc/httpd.c 2011-02-18 15:17:55.846816943 +0100
+diff -up bind-9.8.0rc1/lib/isc/httpd.c.cleanup bind-9.8.0rc1/lib/isc/httpd.c
+--- bind-9.8.0rc1/lib/isc/httpd.c.cleanup 2010-11-16 06:38:31.000000000 +0100
++++ bind-9.8.0rc1/lib/isc/httpd.c 2011-02-21 16:30:33.208433438 +0100
@@ -912,7 +912,6 @@ isc_httpd_senddone(isc_task_t *task, isc
{
isc_httpd_t *httpd = ev->ev_arg;
@@ -356,9 +364,9 @@ diff -up bind-9.7.3/lib/isc/httpd.c.cleanup bind-9.7.3/lib/isc/httpd.c
out:
isc_event_free(&ev);
-diff -up bind-9.7.3/lib/isc/string.c.cleanup bind-9.7.3/lib/isc/string.c
---- bind-9.7.3/lib/isc/string.c.cleanup 2011-02-18 15:18:09.786786183 +0100
-+++ bind-9.7.3/lib/isc/string.c 2011-02-18 15:18:31.016739337 +0100
+diff -up bind-9.8.0rc1/lib/isc/string.c.cleanup bind-9.8.0rc1/lib/isc/string.c
+--- bind-9.8.0rc1/lib/isc/string.c.cleanup 2007-06-20 01:47:17.000000000 +0200
++++ bind-9.8.0rc1/lib/isc/string.c 2011-02-21 16:30:33.208433438 +0100
@@ -167,12 +167,11 @@ isc_string_printf(char *target, size_t s
void
isc_string_printf_truncate(char *target, size_t size, const char *format, ...) {
@@ -373,9 +381,9 @@ diff -up bind-9.7.3/lib/isc/string.c.cleanup bind-9.7.3/lib/isc/string.c
va_end(args);
ENSURE(strlen(target) < size);
-diff -up bind-9.7.3/lib/isc/timer.c.cleanup bind-9.7.3/lib/isc/timer.c
---- bind-9.7.3/lib/isc/timer.c.cleanup 2011-02-18 15:30:32.385146946 +0100
-+++ bind-9.7.3/lib/isc/timer.c 2011-02-18 15:31:22.585036094 +0100
+diff -up bind-9.8.0rc1/lib/isc/timer.c.cleanup bind-9.8.0rc1/lib/isc/timer.c
+--- bind-9.8.0rc1/lib/isc/timer.c.cleanup 2011-02-03 06:50:07.000000000 +0100
++++ bind-9.8.0rc1/lib/isc/timer.c 2011-02-21 16:30:33.208433438 +0100
@@ -333,7 +333,9 @@ schedule(isc__timer_t *timer, isc_time_t
static inline void
@@ -397,10 +405,10 @@ diff -up bind-9.7.3/lib/isc/timer.c.cleanup bind-9.7.3/lib/isc/timer.c
isc_heap_delete(manager->heap, timer->index);
timer->index = 0;
INSIST(manager->nscheduled > 0);
-diff -up bind-9.7.3/lib/isc/unix/socket.c.cleanup bind-9.7.3/lib/isc/unix/socket.c
---- bind-9.7.3/lib/isc/unix/socket.c.cleanup 2011-02-18 15:15:10.247182323 +0100
-+++ bind-9.7.3/lib/isc/unix/socket.c 2011-02-18 15:16:48.806964868 +0100
-@@ -2751,7 +2751,6 @@ isc__socket_close(isc_socket_t *sock0) {
+diff -up bind-9.8.0rc1/lib/isc/unix/socket.c.cleanup bind-9.8.0rc1/lib/isc/unix/socket.c
+--- bind-9.8.0rc1/lib/isc/unix/socket.c.cleanup 2011-02-03 06:50:07.000000000 +0100
++++ bind-9.8.0rc1/lib/isc/unix/socket.c 2011-02-21 16:30:33.208433438 +0100
+@@ -2752,7 +2752,6 @@ isc__socket_close(isc_socket_t *sock0) {
isc__socket_t *sock = (isc__socket_t *)sock0;
int fd;
isc__socketmgr_t *manager;
@@ -408,7 +416,7 @@ diff -up bind-9.7.3/lib/isc/unix/socket.c.cleanup bind-9.7.3/lib/isc/unix/socket
REQUIRE(VALID_SOCKET(sock));
-@@ -2771,7 +2770,6 @@ isc__socket_close(isc_socket_t *sock0) {
+@@ -2772,7 +2771,6 @@ isc__socket_close(isc_socket_t *sock0) {
INSIST(sock->connect_ev == NULL);
manager = sock->manager;
@@ -416,7 +424,7 @@ diff -up bind-9.7.3/lib/isc/unix/socket.c.cleanup bind-9.7.3/lib/isc/unix/socket
fd = sock->fd;
sock->fd = -1;
memset(sock->name, 0, sizeof(sock->name));
-@@ -3689,7 +3687,6 @@ static isc_threadresult_t
+@@ -3690,7 +3688,6 @@ static isc_threadresult_t
watcher(void *uap) {
isc__socketmgr_t *manager = uap;
isc_boolean_t done;
@@ -424,7 +432,7 @@ diff -up bind-9.7.3/lib/isc/unix/socket.c.cleanup bind-9.7.3/lib/isc/unix/socket
int cc;
#ifdef USE_KQUEUE
const char *fnname = "kevent()";
-@@ -3701,6 +3698,7 @@ watcher(void *uap) {
+@@ -3702,6 +3699,7 @@ watcher(void *uap) {
#elif defined (USE_SELECT)
const char *fnname = "select()";
int maxfd;
@@ -432,7 +440,7 @@ diff -up bind-9.7.3/lib/isc/unix/socket.c.cleanup bind-9.7.3/lib/isc/unix/socket
#endif
char strbuf[ISC_STRERRORSIZE];
#ifdef ISC_SOCKET_USE_POLLWATCH
-@@ -3710,7 +3708,9 @@ watcher(void *uap) {
+@@ -3711,7 +3709,9 @@ watcher(void *uap) {
/*
* Get the control fd here. This will never change.
*/
diff --git a/sources b/sources
index 97a1c28..d614f28 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
76857526420dc8e153ad688aeb5a2c4b config-8.tar.bz2
-207477c4cf95f2db5be0ded8a22669e0 bind-9.7.3.tar.gz
+1d9fb97c5c8e89a9e16c81e5fbee102d bind-9.8.0rc1.tar.gz