Bug#772107: unblock: bind-dyndb-ldap/6.0-4
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
Please unblock package bind-dyndb-ldap
It has no reverse deps in jessie to break, freeipa-server is the only one which isn't there. Unblocking would make it one less package to backport.
diff -Nru bind-dyndb-ldap-6.0/debian/bind9-dyndb-ldap.postinst bind-dyndb-ldap-6.0/debian/bind9-dyndb-ldap.postinst
--- bind-dyndb-ldap-6.0/debian/bind9-dyndb-ldap.postinst 1970-01-01 02:00:00.000000000 +0200
+++ bind-dyndb-ldap-6.0/debian/bind9-dyndb-ldap.postinst 2014-11-07 08:13:23.000000000 +0200
@@ -0,0 +1,8 @@
+#!/bin/sh
+set -e
+
+if [ $1 = "configure" ]; then
+ chown root:bind /var/cache/bind/dyndb-ldap
+fi
+
+#DEBHELPER#
diff -Nru bind-dyndb-ldap-6.0/debian/changelog bind-dyndb-ldap-6.0/debian/changelog
--- bind-dyndb-ldap-6.0/debian/changelog 2014-10-06 11:48:08.000000000 +0300
+++ bind-dyndb-ldap-6.0/debian/changelog 2014-11-07 08:15:30.000000000 +0200
@@ -1,3 +1,23 @@
+bind-dyndb-ldap (6.0-4) unstable; urgency=medium
+
+ * control: Depend on bind9. (Closes: #768392)
+
+ -- Timo Aaltonen <tjaalton@debian.org> Fri, 07 Nov 2014 08:15:27 +0200
+
+bind-dyndb-ldap (6.0-3) unstable; urgency=medium
+
+ * rules: Force libdir as /usr/lib so that named finds the plugin from
+ $libdir/bind/ldap.so.
+ * fix-keytab-path.diff: Use the correct path to named.keytab.
+
+ -- Timo Aaltonen <tjaalton@debian.org> Wed, 05 Nov 2014 18:25:44 +0200
+
+bind-dyndb-ldap (6.0-2) unstable; urgency=medium
+
+ * rules, postinst: Create /var/cache/bind/dyndb-ldap owned by bind user.
+
+ -- Timo Aaltonen <tjaalton@debian.org> Wed, 05 Nov 2014 14:44:31 +0200
+
bind-dyndb-ldap (6.0-1) unstable; urgency=medium
* New upstream release.
diff -Nru bind-dyndb-ldap-6.0/debian/control bind-dyndb-ldap-6.0/debian/control
--- bind-dyndb-ldap-6.0/debian/control 2014-10-05 11:33:31.000000000 +0300
+++ bind-dyndb-ldap-6.0/debian/control 2014-11-07 08:13:49.000000000 +0200
@@ -16,7 +16,8 @@
Package: bind9-dyndb-ldap
Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends},
+ bind9
Description: LDAP back-end plug-in for BIND
This package provides an LDAP back-end plug-in for BIND. It features
support for dynamic updates and internal caching, to lift the load
diff -Nru bind-dyndb-ldap-6.0/debian/patches/fix-keytab-path.diff bind-dyndb-ldap-6.0/debian/patches/fix-keytab-path.diff
--- bind-dyndb-ldap-6.0/debian/patches/fix-keytab-path.diff 1970-01-01 02:00:00.000000000 +0200
+++ bind-dyndb-ldap-6.0/debian/patches/fix-keytab-path.diff 2014-11-07 08:13:24.000000000 +0200
@@ -0,0 +1,11 @@
+--- a/src/krb5_helper.c
++++ b/src/krb5_helper.c
+@@ -26,7 +26,7 @@
+ #include "log.h"
+ #include "krb5_helper.h"
+
+-#define DEFAULT_KEYTAB "FILE:/etc/named.keytab"
++#define DEFAULT_KEYTAB "FILE:/etc/bind/named.keytab"
+ #define MIN_TIME 300 /* 5 minutes */
+
+ #define CHECK_KRB5(ctx, err, msg, ...) \
diff -Nru bind-dyndb-ldap-6.0/debian/patches/series bind-dyndb-ldap-6.0/debian/patches/series
--- bind-dyndb-ldap-6.0/debian/patches/series 2014-10-05 11:33:31.000000000 +0300
+++ bind-dyndb-ldap-6.0/debian/patches/series 2014-11-07 08:13:24.000000000 +0200
@@ -1 +1,2 @@
workaround-missing-headers.patch
+fix-keytab-path.diff
diff -Nru bind-dyndb-ldap-6.0/debian/rules bind-dyndb-ldap-6.0/debian/rules
--- bind-dyndb-ldap-6.0/debian/rules 2014-10-05 11:33:31.000000000 +0300
+++ bind-dyndb-ldap-6.0/debian/rules 2014-11-07 08:13:24.000000000 +0200
@@ -4,9 +4,16 @@
dh $@ --parallel --with autoreconf --builddirectory=build
override_dh_auto_configure:
- dh_auto_configure -- --docdir=/usr/share/doc/bind9-dyndb-ldap
+ dh_auto_configure -- \
+ --libdir /usr/lib \
+ --docdir=/usr/share/doc/bind9-dyndb-ldap
override_dh_install:
# purge .la files
find $(CURDIR)/debian/bind9-dyndb-ldap -name "*.la" -type f -delete
dh_install --fail-missing
+
+ mkdir -m 770 -p $(CURDIR)/debian/bind9-dyndb-ldap/var/cache/bind/dyndb-ldap
+
+override_dh_fixperms:
+ dh_fixperms -X var/cache/bind/dyndb-ldap
unblock bind-dyndb-ldap/6.0-4
Reply to: