mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 10:18:25 +00:00
Fold NMU into Debian packaging.
This commit is contained in:
13
debian/changelog
vendored
13
debian/changelog
vendored
@@ -1,8 +1,19 @@
|
|||||||
dnsmasq (2.85-1) unstable; urgency=low
|
dnsmasq (2.85-1) unstable; urgency=low
|
||||||
|
|
||||||
* New upstream.
|
* New upstream.
|
||||||
|
* Includes fix to CVE-2021-3448.
|
||||||
|
|
||||||
-- Simon Kelley <simon@thekelleys.org.uk> Tue, 2 Mar 2021 21:40:23 +0000
|
-- Simon Kelley <simon@thekelleys.org.uk> Tue, 30 Mar 2021 21:40:23 +0100
|
||||||
|
|
||||||
|
dnsmasq (2.84-1.1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Non-maintainer upload.
|
||||||
|
* Fix symlink to directory conversion for /usr/share/doc/dnsmasq.
|
||||||
|
This is achieved by directly calling dpkg-maintscript-helper in the preinst,
|
||||||
|
postinst, and postrm scripts, since the package does not use debhelper.
|
||||||
|
(Closes: #985282)
|
||||||
|
|
||||||
|
-- Sébastien Villemot <sebastien@debian.org> Sun, 28 Mar 2021 10:55:07 +0200
|
||||||
|
|
||||||
dnsmasq (2.84-1) unstable; urgency=low
|
dnsmasq (2.84-1) unstable; urgency=low
|
||||||
|
|
||||||
|
|||||||
3
debian/postinst
vendored
3
debian/postinst
vendored
@@ -1,6 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
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 -- "$@"
|
||||||
|
|
||||||
# Code copied from dh_systemd_enable ----------------------
|
# Code copied from dh_systemd_enable ----------------------
|
||||||
# This will only remove masks created by d-s-h on package removal.
|
# This will only remove masks created by d-s-h on package removal.
|
||||||
deb-systemd-helper unmask dnsmasq.service >/dev/null || true
|
deb-systemd-helper unmask dnsmasq.service >/dev/null || true
|
||||||
|
|||||||
3
debian/postrm
vendored
3
debian/postrm
vendored
@@ -1,6 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
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 -- "$@"
|
||||||
|
|
||||||
if [ purge = "$1" ]; then
|
if [ purge = "$1" ]; then
|
||||||
update-rc.d dnsmasq remove >/dev/null
|
update-rc.d dnsmasq remove >/dev/null
|
||||||
fi
|
fi
|
||||||
|
|||||||
2
debian/rules
vendored
2
debian/rules
vendored
@@ -176,7 +176,7 @@ binary-indep: checkroot
|
|||||||
-d debian/trees/daemon/usr/lib/tmpfiles.d \
|
-d debian/trees/daemon/usr/lib/tmpfiles.d \
|
||||||
-d debian/trees/daemon/etc/insserv.conf.d
|
-d debian/trees/daemon/etc/insserv.conf.d
|
||||||
install -m 644 debian/conffiles debian/trees/daemon/DEBIAN
|
install -m 644 debian/conffiles debian/trees/daemon/DEBIAN
|
||||||
install -m 755 debian/postinst debian/postrm debian/prerm debian/trees/daemon/DEBIAN
|
install -m 755 debian/postinst debian/postrm debian/preinst debian/prerm debian/trees/daemon/DEBIAN
|
||||||
if ! dpkg-vendor --derives-from Ubuntu; then \
|
if ! dpkg-vendor --derives-from Ubuntu; then \
|
||||||
rm -f debian/dnsmasq.postinst.debhelper debian/dnsmasq.postrm.debhelper; \
|
rm -f debian/dnsmasq.postinst.debhelper debian/dnsmasq.postrm.debhelper; \
|
||||||
dh_runit -pdnsmasq -Pdebian/trees/daemon; \
|
dh_runit -pdnsmasq -Pdebian/trees/daemon; \
|
||||||
|
|||||||
Reference in New Issue
Block a user