Comment 6 for bug 1978849

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

bind-dyndb-ldap was changed[1] to always require an exact bind version:

d/rules:
BIND9_LIBS_VER = $(shell dpkg-query -f='$${Version}\n' -W bind9-libs)
...
override_dh_gencontrol:
 dh_gencontrol -- \
  -V'bind9-libs:Version=$(BIND9_LIBS_VER)'

d/control[2]:
Depends: ${misc:Depends}, ${shlibs:Depends},
 bind9 (>= 9.11),
 bind9-libs (= ${bind9-libs:Version}),

This was done in version 11.9-5[3].

At first glance, for a stable release, I think this dependency could be relaxed to a >=. But to do that, I would like to see a dep8 test that exercises this package together with bind9. Probably in the bind9 source package, because that is the one that always gets updated.

1. https://git.launchpad.net/ubuntu/+source/bind-dyndb-ldap/tree/debian/rules#n24
2. https://git.launchpad.net/ubuntu/+source/bind-dyndb-ldap/tree/debian/control#n22
3. https://launchpad.net/ubuntu/+source/bind-dyndb-ldap/11.9-5