diff -Nru iptables-persistent-0.5.3/debian/changelog iptables-persistent-0.5.3ubuntu1/debian/changelog --- iptables-persistent-0.5.3/debian/changelog 2011-11-29 00:14:42.000000000 +0000 +++ iptables-persistent-0.5.3ubuntu1/debian/changelog 2012-02-13 16:13:29.000000000 +0000 @@ -1,3 +1,10 @@ +iptables-persistent (0.5.3ubuntu1) precise; urgency=low + + * Pre-Depend on a sufficient version of dpkg rather than using + 'dpkg-maintscript-helper supports' guards. + + -- Colin Watson Mon, 13 Feb 2012 16:13:28 +0000 + iptables-persistent (0.5.3) unstable; urgency=low * [09d9ae] Check for loaded modules in postinst (Closes: #637852) diff -Nru iptables-persistent-0.5.3/debian/control iptables-persistent-0.5.3ubuntu1/debian/control --- iptables-persistent-0.5.3/debian/control 2011-11-29 00:14:42.000000000 +0000 +++ iptables-persistent-0.5.3ubuntu1/debian/control 2012-02-13 16:13:34.000000000 +0000 @@ -1,7 +1,8 @@ Source: iptables-persistent Section: admin Priority: optional -Maintainer: Jonathan Wiltshire +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Jonathan Wiltshire Build-Depends: debhelper (>= 7.0.50~), po-debconf Standards-Version: 3.9.2 Vcs-Browser: http://robin.powdarrmonkey.net/cgi-bin/gitweb.cgi?p=iptables-persistent @@ -9,6 +10,7 @@ Package: iptables-persistent Architecture: all +Pre-Depends: dpkg (>= 1.15.7.2~) Depends: iptables, lsb-base, ${misc:Depends} Description: boot-time loader for iptables rules This package provides a system startup script that restores iptables diff -Nru iptables-persistent-0.5.3/debian/iptables-persistent.postinst iptables-persistent-0.5.3ubuntu1/debian/iptables-persistent.postinst --- iptables-persistent-0.5.3/debian/iptables-persistent.postinst 2011-11-29 00:14:42.000000000 +0000 +++ iptables-persistent-0.5.3ubuntu1/debian/iptables-persistent.postinst 2012-02-13 16:12:47.000000000 +0000 @@ -5,10 +5,8 @@ # Source debconf library . /usr/share/debconf/confmodule -if dpkg-maintscript-helper supports mv_conffile 2>/dev/null; then - dpkg-maintscript-helper mv_conffile \ - /etc/iptables/rules /etc/iptables/rules.v4 0.0.20101230 -- "$@" -fi +dpkg-maintscript-helper mv_conffile \ + /etc/iptables/rules /etc/iptables/rules.v4 0.0.20101230 -- "$@" case "$1" in configure) diff -Nru iptables-persistent-0.5.3/debian/iptables-persistent.postrm iptables-persistent-0.5.3ubuntu1/debian/iptables-persistent.postrm --- iptables-persistent-0.5.3/debian/iptables-persistent.postrm 2011-11-29 00:14:42.000000000 +0000 +++ iptables-persistent-0.5.3ubuntu1/debian/iptables-persistent.postrm 2012-02-13 16:12:52.000000000 +0000 @@ -2,10 +2,8 @@ set -e -if dpkg-maintscript-helper supports mv_conffile 2>/dev/null; then - dpkg-maintscript-helper mv_conffile \ - /etc/iptables/rules /etc/iptables/rules.v4 0.0.20101230 -- "$@" -fi +dpkg-maintscript-helper mv_conffile \ + /etc/iptables/rules /etc/iptables/rules.v4 0.0.20101230 -- "$@" case "$1" in purge) diff -Nru iptables-persistent-0.5.3/debian/iptables-persistent.preinst iptables-persistent-0.5.3ubuntu1/debian/iptables-persistent.preinst --- iptables-persistent-0.5.3/debian/iptables-persistent.preinst 2011-11-29 00:14:42.000000000 +0000 +++ iptables-persistent-0.5.3ubuntu1/debian/iptables-persistent.preinst 2012-02-13 16:12:42.000000000 +0000 @@ -2,9 +2,7 @@ set -e -if dpkg-maintscript-helper supports mv_conffile 2>/dev/null; then - dpkg-maintscript-helper mv_conffile \ - /etc/iptables/rules /etc/iptables/rules.v4 0.0.20101230 -- "$@" -fi +dpkg-maintscript-helper mv_conffile \ + /etc/iptables/rules /etc/iptables/rules.v4 0.0.20101230 -- "$@" #DEBHELPER#