OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 28-Nov-2008 08:21:25
Branch: HEAD Handle: 2008112807212400
Modified files:
openpkg-src/bind bind.patch bind.spec
Log:
apply one more DLZ patch
Summary:
Revision Changes Path
1.11 +23 -0 openpkg-src/bind/bind.patch
1.144 +1 -1 openpkg-src/bind/bind.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/bind/bind.patch
============================================================================
$ cvs diff -u -r1.10 -r1.11 bind.patch
--- openpkg-src/bind/bind.patch 26 Nov 2008 19:49:09 -0000 1.10
+++ openpkg-src/bind/bind.patch 28 Nov 2008 07:21:24 -0000 1.11
@@ -22,6 +22,10 @@
the '%' symbol is used to escape characters in LDAP URL's. This patch
replaces '%' with '$'. Without this patch BIND+dlz_ldap doesn't work.
+As mentionned in
http://groups.google.com/group/comp.protocols.dns.bind/browse_thread/thread/5a6cb9a54b56b199
+"Assertion debug information" without this patch BIND+dlz crashes when
+doing zone transfer request ("host -la domain server")
+
Index: contrib/dlz/drivers/sdlz_helper.c
--- contrib/dlz/drivers/sdlz_helper.c.orig 2005-09-05 02:10:57 +0200
+++ contrib/dlz/drivers/sdlz_helper.c 2008-11-26 20:46:52 +0100
@@ -40,3 +44,22 @@
if (tseg->sql == NULL) {
/* no memory, clean everything up. */
result = ISC_R_NOMEMORY;
+Index: bin/named/xfrout.c
+--- bin/named/xfrout.c.orig 2008-04-03 08:20:33.000000000 +0200
++++ bin/named/xfrout.c 2008-11-27 08:58:20.000000000 +0100
+@@ -1333,6 +1333,7 @@ xfrout_ctx_create(isc_mem_t *mctx, ns_cl
+ xfr->zone = NULL;
+ xfr->db = NULL;
+ xfr->ver = NULL;
++ if (zone != NULL) /* zone will be NULL if it's DLZ */
+ dns_zone_attach(zone, &xfr->zone);
+ dns_db_attach(db, &xfr->db);
+ dns_db_attachversion(db, ver, &xfr->ver);
+@@ -1744,6 +1745,7 @@ xfrout_senddone(isc_task_t *task, isc_ev
+ sendstream(xfr);
+ } else {
+ /* End of zone transfer stream. */
++ if (xfr->zone != NULL)
+ inc_stats(xfr->zone, dns_nsstatscounter_xfrdone);
+ xfrout_log(xfr, ISC_LOG_INFO, "%s ended", xfr->mnemonic);
+ ns_client_next(xfr->client, ISC_R_SUCCESS);
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/bind/bind.spec
============================================================================
$ cvs diff -u -r1.143 -r1.144 bind.spec
--- openpkg-src/bind/bind.spec 26 Nov 2008 19:49:09 -0000 1.143
+++ openpkg-src/bind/bind.spec 28 Nov 2008 07:21:24 -0000 1.144
@@ -36,7 +36,7 @@
Group: DNS
License: ISC
Version: %{V_opkg}
-Release: 20081126
+Release: 20081128
# package options
%option with_dnssec yes
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]