diff --git a/debian/changelog b/debian/changelog index 06d768c..2eacac1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,7 +3,15 @@ dnsmasq (2.85-1) unstable; urgency=low * New upstream. * Includes fix to CVE-2021-3448. - -- Simon Kelley Tue, 30 Mar 2021 21:40:23 +0100 + -- Simon Kelley Sat, 03 Apr 2021 22:17:23 +0100 + +dnsmasq (2.84-1.2) unstable; urgency=medium + + * Non-maintainer upload. + * Bump old-version in dpkg-maintscript-helper dir_to_symlink calls to also + clean up after upgrades to an earlier version in testing. + + -- Andreas Beckmann Thu, 01 Apr 2021 16:01:51 +0200 dnsmasq (2.84-1.1) unstable; urgency=medium diff --git a/debian/postinst b/debian/postinst index a987c43..8c93160 100644 --- a/debian/postinst +++ b/debian/postinst @@ -2,7 +2,7 @@ set -e # /usr/share/doc/dnsmasq was a symlink in versions < 2.81-1 (see #985282) -dpkg-maintscript-helper symlink_to_dir /usr/share/doc/dnsmasq dnsmasq-base 2.81-1~ dnsmasq -- "$@" +dpkg-maintscript-helper symlink_to_dir /usr/share/doc/dnsmasq dnsmasq-base 2.84-1.2~ dnsmasq -- "$@" # Code copied from dh_systemd_enable ---------------------- # This will only remove masks created by d-s-h on package removal. diff --git a/debian/postrm b/debian/postrm index 65079a7..69d6de1 100644 --- a/debian/postrm +++ b/debian/postrm @@ -2,7 +2,7 @@ set -e # /usr/share/doc/dnsmasq was a symlink in versions < 2.81-1 (see #985282) -dpkg-maintscript-helper symlink_to_dir /usr/share/doc/dnsmasq dnsmasq-base 2.81-1~ dnsmasq -- "$@" +dpkg-maintscript-helper symlink_to_dir /usr/share/doc/dnsmasq dnsmasq-base 2.84-1.2~ dnsmasq -- "$@" if [ purge = "$1" ]; then update-rc.d dnsmasq remove >/dev/null diff --git a/debian/preinst b/debian/preinst new file mode 100644 index 0000000..7493043 --- /dev/null +++ b/debian/preinst @@ -0,0 +1,5 @@ +#!/bin/sh +set -e + +# /usr/share/doc/dnsmasq was a symlink in versions < 2.81-1 (see #985282) +dpkg-maintscript-helper symlink_to_dir /usr/share/doc/dnsmasq dnsmasq-base 2.84-1.2~ dnsmasq -- "$@"