-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This new version of the patch fixes this lintian complain :
W: unbound: command-with-path-in-maintainer-script postinst:7 /usr/sbin/unbound-control-setup -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD4DBQFMFXY8Y3L2KTPqDLwRAkbhAJ9kvB6/MDcUhLTriEAOE9+JcEcJrgCUD1Xw t0sgZY7/m8TdQYTn6fnM1g== =+TNS -----END PGP SIGNATURE-----
diff -u unbound-1.4.4/debian/unbound.postinst unbound-1.4.4/debian/unbound.postinst
--- unbound-1.4.4/debian/unbound.postinst
+++ unbound-1.4.4/debian/unbound.postinst
@@ -4,6 +4,10 @@
if ! getent passwd unbound >/dev/null; then
adduser --quiet --system --group --no-create-home --home /var/lib/unbound unbound
chown unbound:unbound /var/lib/unbound
+ unbound-control-setup >/dev/null 2>&1 && (chown root:unbound /etc/unbound/unbound_control.key \
+ /etc/unbound/unbound_control.pem \
+ /etc/unbound/unbound_server.key \
+ /etc/unbound/unbound_server.pem)
fi
fi
diff -u unbound-1.4.4/debian/changelog unbound-1.4.4/debian/changelog
--- unbound-1.4.4/debian/changelog
+++ unbound-1.4.4/debian/changelog
@@ -1,3 +1,12 @@
+unbound (1.4.4-2) lucid; urgency=low
+
+ * Add missing dependency on openssl used by unbound-control-setup
+ (LP: #498359)
+ * Add a postinst script to autogenerate a certificate
+ for unbound-control.
+
+ -- Simon Deziel <[email protected]> Sun, 13 Jun 2010 18:28:11 -0400
+
unbound (1.4.4-1) unstable; urgency=low
* New upstream release.
diff -u unbound-1.4.4/debian/control unbound-1.4.4/debian/control
--- unbound-1.4.4/debian/control
+++ unbound-1.4.4/debian/control
@@ -13,7 +13,7 @@
Package: unbound
Section: net
Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}, adduser
+Depends: ${misc:Depends}, ${shlibs:Depends}, adduser, openssl
Description: validating, recursive, caching DNS resolver
Unbound is a recursive-only caching DNS server which can perform DNSSEC
validation of results. It implements only a minimal amount of authoritative
fix_dep_and_unbound-control-setup-2.diff.sig
Description: Binary data

