diff -urpN a/debian/changelog b/debian/changelog --- a/debian/changelog 2012-02-19 01:42:55.000000000 +0100 +++ b/debian/changelog 2012-07-30 03:54:25.000000000 +0200 @@ -1,3 +1,11 @@ +tcp-wrappers (7.6.q-24) unstable; urgency=low + + * Do not remove /etc/hosts.{allow,deny} on purge of libwrap0 if it is + installed for multiple architectures. (Closes: #682425) + Patch courtesy of Jonathan Nieder. + + -- Marco d'Itri <m...@linux.it> Mon, 30 Jul 2012 03:37:41 +0200 + tcp-wrappers (7.6.q-23) unstable; urgency=medium * Correctly install libwrap.{a,so} in the multiarch directory. diff -urpN a/debian/control b/debian/control --- a/debian/control 2012-02-19 01:37:57.000000000 +0100 +++ b/debian/control 2012-07-30 03:48:21.000000000 +0200 @@ -3,7 +3,7 @@ Section: net Priority: important Maintainer: Marco d'Itri <m...@linux.it> Build-Depends: debhelper (>= 8.1.3), dpkg-dev (>= 1.14.8) -Standards-Version: 3.9.2 +Standards-Version: 3.9.3.1 Package: tcpd Priority: optional diff -urpN a/debian/libwrap0.postrm b/debian/libwrap0.postrm --- a/debian/libwrap0.postrm 2010-05-23 16:31:19.000000000 +0200 +++ b/debian/libwrap0.postrm 2012-07-30 03:47:54.000000000 +0200 @@ -1,6 +1,7 @@ #!/bin/sh -e -if [ "$1" = "purge" ]; then +if [ "$1" = "purge" ] && \ + [ "$(dpkg-query --show libwrap0 2> /dev/null | wc -l)" = 1 ]; then rm -f /etc/hosts.allow /etc/hosts.deny fi diff -urpN a/debian/source/options b/debian/source/options --- a/debian/source/options 1970-01-01 01:00:00.000000000 +0100 +++ b/debian/source/options 2012-07-30 03:50:57.000000000 +0200 @@ -0,0 +1 @@ +compression=xz
-- ciao, Marco -- To UNSUBSCRIBE, email to debian-release-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120812140707.ga14...@bongo.bofh.it