[Pkg-freeipa-devel] [Git][freeipa-team/bind-dyndb-ldap][master] 2 commits: control, patches: Fix build against bind9 9.18.13.
Timo Aaltonen (@tjaalton)
gitlab at salsa.debian.org
Mon Mar 20 09:30:59 GMT 2023
Timo Aaltonen pushed to branch master at FreeIPA packaging / bind-dyndb-ldap
Commits:
633a1a51 by Timo Aaltonen at 2023-03-20T11:23:18+02:00
control, patches: Fix build against bind9 9.18.13.
- - - - -
9e449d7b by Timo Aaltonen at 2023-03-20T11:27:27+02:00
releasing package bind-dyndb-ldap version 11.10-5
- - - - -
5 changed files:
- debian/changelog
- debian/control
- + debian/patches/fix-9.18.13-build.diff
- debian/patches/hardcode-version.diff
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+bind-dyndb-ldap (11.10-5) unstable; urgency=medium
+
+ * control, patches: Fix build against bind9 9.18.13.
+
+ -- Timo Aaltonen <tjaalton at debian.org> Mon, 20 Mar 2023 11:27:22 +0200
+
bind-dyndb-ldap (11.10-4) unstable; urgency=medium
[ Debian Janitor ]
=====================================
debian/control
=====================================
@@ -5,7 +5,7 @@ Maintainer: Debian FreeIPA Team <pkg-freeipa-devel at alioth-lists.debian.net>
Uploaders: Timo Aaltonen <tjaalton at debian.org>
Build-Depends:
debhelper-compat (= 13),
- bind9-dev (>= 1:9.18.12),
+ bind9-dev (>= 1:9.18.13),
libkrb5-dev,
libldap2-dev,
libsasl2-dev,
=====================================
debian/patches/fix-9.18.13-build.diff
=====================================
@@ -0,0 +1,29 @@
+--- a/src/ldap_driver.c
++++ b/src/ldap_driver.c
+@@ -813,7 +813,9 @@ rpz_attach(dns_db_t *db, void *void_rpzs
+
+ REQUIRE(VALID_LDAPDB(ldapdb));
+
++#if defined(HAVE_DB_REGISTERED)
+ rpzs->zones[rpz_num]->db_registered = true;
++#endif
+ result = dns_db_updatenotify_register(ldapdb->rbtdb,
+ dns_rpz_dbupdate_callback,
+ rpzs->zones[rpz_num]);
+--- a/configure.ac
++++ b/configure.ac
+@@ -121,6 +121,14 @@ int main(void) {
+ [AC_MSG_ERROR([Cross compiling is not supported.])]
+ )
+
++# Check db_registered
++AC_CHECK_HEADER(dns/rpz.h, [], [AC_MSG_ERROR([dns/rpz.h not found])])
++AC_CHECK_MEMBER([struct dns_rpz_zone.db_registered],
++ [AC_DEFINE([HAVE_DB_REGISTERED], [1],
++ [Struct dns_rpz_zone has db_registered])],
++ [AC_MSG_NOTICE([Struct dns_rpz_zone has no db_registered])],
++ [[#include <dns/rpz.h>]])
++
+ dnl dns_db_setservestalettl() can be backported, detect support
+ AC_CHECK_LIB([dns], [dns_db_setservestalettl],
+ [AC_DEFINE([HAVE_DNS_SERVESTALE], 1, [Define if dns library provides dns_db_setservestalettl])]
=====================================
debian/patches/hardcode-version.diff
=====================================
@@ -44,7 +44,7 @@
- ])
-], [AC_MSG_ERROR([Cross compiling is not supported.])]
-)
-+AC_DEFINE_UNQUOTED([LIBDNS_VERSION_MAJOR], [1812], [Define libdns version])
++AC_DEFINE_UNQUOTED([LIBDNS_VERSION_MAJOR], [1813], [Define libdns version])
dnl isc_errno_toresult() was not available in older header files
AC_MSG_CHECKING([isc_errno_toresult availability])
=====================================
debian/patches/series
=====================================
@@ -6,3 +6,4 @@ fix-dns_db_allrdatasets.diff
fix-include.diff
fix-isc-error.diff
make-dscp-optional.diff
+fix-9.18.13-build.diff
View it on GitLab: https://salsa.debian.org/freeipa-team/bind-dyndb-ldap/-/compare/96523d7e9dd28ee52c8e01b0908f12388565fbf1...9e449d7b55b22186508b3039bfeb11ac36f1caf0
--
View it on GitLab: https://salsa.debian.org/freeipa-team/bind-dyndb-ldap/-/compare/96523d7e9dd28ee52c8e01b0908f12388565fbf1...9e449d7b55b22186508b3039bfeb11ac36f1caf0
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/20230320/7d085f6e/attachment-0001.htm>
More information about the Pkg-freeipa-devel
mailing list