[Pkg-freeipa-devel] [Git][freeipa-team/bind-dyndb-ldap][master] 2 commits: Fix build with current bind9.

Timo Aaltonen (@tjaalton) gitlab at salsa.debian.org
Wed Oct 20 19:39:22 BST 2021



Timo Aaltonen pushed to branch master at FreeIPA packaging / bind-dyndb-ldap


Commits:
c70c4611 by Timo Aaltonen at 2021-10-20T21:37:51+03:00
Fix build with current bind9.

- - - - -
8115b206 by Timo Aaltonen at 2021-10-20T21:38:24+03:00
releasing package bind-dyndb-ldap version 11.9-3

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/0001-Skip-isc_bind9-check-on-BIND-9.16.17.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+bind-dyndb-ldap (11.9-3) unstable; urgency=medium
+
+  * Fix build with current bind9.
+
+ -- Timo Aaltonen <tjaalton at debian.org>  Wed, 20 Oct 2021 21:38:18 +0300
+
 bind-dyndb-ldap (11.9-2) unstable; urgency=medium
 
   * Rebuild against current bind9.


=====================================
debian/patches/0001-Skip-isc_bind9-check-on-BIND-9.16.17.patch
=====================================
@@ -0,0 +1,35 @@
+From d7d3032de7f5d3dd3cffea6064549b63a9ad7d59 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= <pemensik at redhat.com>
+Date: Thu, 17 Jun 2021 17:57:52 +0200
+Subject: [PATCH] Skip isc_bind9 check on BIND 9.16.17+
+
+Reference variable refvar from dns_dyndbctx_t were removed. Removed was
+also flag requesting different namespace. Skip that check on last stable
+version, it should eval to false on all versions anyway.
+---
+ src/ldap_driver.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/ldap_driver.c b/src/ldap_driver.c
+index e9f1005..5f9e00a 100644
+--- a/src/ldap_driver.c
++++ b/src/ldap_driver.c
+@@ -1156,6 +1156,7 @@ dyndb_init(isc_mem_t *mctx, const char *name, const char *parameters,
+ 	RUNTIME_CHECK(isc_once_do(&library_init_once, library_init)
+ 		      == ISC_R_SUCCESS);
+ 
++#if LIBDNS_VERSION_MAJOR < 1617
+ 	/*
+ 	 * Depending on how dlopen() was called, we may not have
+ 	 * access to named's global namespace, in which case we need
+@@ -1168,6 +1169,7 @@ dyndb_init(isc_mem_t *mctx, const char *name, const char *parameters,
+ 		isc_hash_set_initializer(dctx->hashinit);
+ 		log_debug(5, "registering library from dynamic ldap driver, %p != %p.", dctx->refvar, &isc_bind9);
+ 	}
++#endif
+ 
+ 	log_debug(2, "registering dynamic ldap driver for %s.", name);
+ 
+-- 
+2.32.0
+


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 fix-keytab-path.diff
 fix-werror-build.diff
+0001-Skip-isc_bind9-check-on-BIND-9.16.17.patch



View it on GitLab: https://salsa.debian.org/freeipa-team/bind-dyndb-ldap/-/compare/008acba7f35d8db35f7900ecb20d354b946cd2c5...8115b2060094cc4444de5fc4379a059d4262baa1

-- 
View it on GitLab: https://salsa.debian.org/freeipa-team/bind-dyndb-ldap/-/compare/008acba7f35d8db35f7900ecb20d354b946cd2c5...8115b2060094cc4444de5fc4379a059d4262baa1
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-freeipa-devel/attachments/20211020/86e0682e/attachment-0001.htm>


More information about the Pkg-freeipa-devel mailing list