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: 26-Nov-2008 20:49:09 Branch: HEAD Handle: 2008112619490900 Modified files: openpkg-src/bind bind.patch bind.spec Log: apply a fix for with_ldap=yes Summary: Revision Changes Path 1.10 +25 -0 openpkg-src/bind/bind.patch 1.143 +1 -1 openpkg-src/bind/bind.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/bind/bind.patch ============================================================================ $ cvs diff -u -r1.9 -r1.10 bind.patch --- openpkg-src/bind/bind.patch 25 Jul 2008 05:49:05 -0000 1.9 +++ openpkg-src/bind/bind.patch 26 Nov 2008 19:49:09 -0000 1.10 @@ -15,3 +15,28 @@ * Without this, we run into problems reading a configuration file * owned by a non-root user and non-world-readable on startup. */ + +----------------------------------------------------------------------------- + +As mentioned in http://article.gmane.org/gmane.network.dns.bind9.dlz/1900, +the '%' symbol is used to escape characters in LDAP URL's. This patch +replaces '%' with '$'. Without this patch BIND+dlz_ldap doesn't work. + +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 +@@ -166,12 +166,12 @@ + ISC_LIST_APPEND(*tql, tseg, link); + + /* +- * split string at the first "%". set query segment to ++ * split string at the first "$". set query segment to + * left portion + */ + tseg->sql = isc_mem_strdup(mctx, + isc_string_separate(&right_str, +- "%")); ++ "$")); + if (tseg->sql == NULL) { + /* no memory, clean everything up. */ + result = ISC_R_NOMEMORY; @@ . patch -p0 <<'@@ .' Index: openpkg-src/bind/bind.spec ============================================================================ $ cvs diff -u -r1.142 -r1.143 bind.spec --- openpkg-src/bind/bind.spec 2 Aug 2008 21:14:25 -0000 1.142 +++ openpkg-src/bind/bind.spec 26 Nov 2008 19:49:09 -0000 1.143 @@ -36,7 +36,7 @@ Group: DNS License: ISC Version: %{V_opkg} -Release: 20080802 +Release: 20081126 # package options %option with_dnssec yes @@ . ______________________________________________________________________ OpenPKG http://openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org