mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-11-09 16:20:55 +00:00
Compare commits
3
Commits
v2.71test2
...
v2.71
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0fa7e62947 | ||
|
|
62f992f06c | ||
|
|
a23949d44d |
No files matched your search
Vendored
+20
@@ -1,3 +1,23 @@
|
|||||||
|
dnsmasq (2.71-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream.
|
||||||
|
* Fix 100% CPU-usage bug when dnsmasq started with cachesize
|
||||||
|
set to zero. (LP: #1314697)
|
||||||
|
|
||||||
|
-- Simon Kelley <simon@thekelleys.org.uk> Fri, 16 May 2014 20:17:10 +0000
|
||||||
|
|
||||||
|
dnsmasq (2.70-3) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Write a pid-file, even when being started using systemd, since
|
||||||
|
other components may wish to signal dnsmasq.
|
||||||
|
* Enable dnsmasq systemd unit on install. Otherwise dnsmasq does not run on
|
||||||
|
fresh installations (without administrator handholding) and even worse it
|
||||||
|
is disabled on systems switching from sysv to systemd. Modify
|
||||||
|
postinst/postrm exactly as dh_systemd would, add dependency on
|
||||||
|
init-system-helpers. Closes: #724602
|
||||||
|
|
||||||
|
-- Simon Kelley <simon@thekelleys.org.uk> Sun, 11 May 2014 17:45:21 +0000
|
||||||
|
|
||||||
dnsmasq (2.70-2) unstable; urgency=low
|
dnsmasq (2.70-2) unstable; urgency=low
|
||||||
|
|
||||||
* Ensure daemon not stared if dnsmasq package has been removed,
|
* Ensure daemon not stared if dnsmasq package has been removed,
|
||||||
|
|||||||
Vendored
+4
-2
@@ -2,13 +2,15 @@ Source: dnsmasq
|
|||||||
Section: net
|
Section: net
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Build-depends: gettext, libnetfilter-conntrack-dev [linux-any],
|
Build-depends: gettext, libnetfilter-conntrack-dev [linux-any],
|
||||||
libidn11-dev, libdbus-1-dev (>=0.61), libgmp-dev, nettle-dev (>=2.4-3)
|
libidn11-dev, libdbus-1-dev (>=0.61), libgmp-dev,
|
||||||
|
nettle-dev (>=2.4-3)
|
||||||
Maintainer: Simon Kelley <simon@thekelleys.org.uk>
|
Maintainer: Simon Kelley <simon@thekelleys.org.uk>
|
||||||
Standards-Version: 3.9.3
|
Standards-Version: 3.9.3
|
||||||
|
|
||||||
Package: dnsmasq
|
Package: dnsmasq
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: netbase, dnsmasq-base(>= ${binary:Version})
|
Depends: netbase, dnsmasq-base(>= ${binary:Version}),
|
||||||
|
init-system-helpers (>= 1.18~)
|
||||||
Suggests: resolvconf
|
Suggests: resolvconf
|
||||||
Conflicts: resolvconf (<<1.15)
|
Conflicts: resolvconf (<<1.15)
|
||||||
Description: Small caching DNS proxy and DHCP/TFTP server
|
Description: Small caching DNS proxy and DHCP/TFTP server
|
||||||
|
|||||||
Vendored
+1
-2
@@ -277,9 +277,8 @@ case "$1" in
|
|||||||
stop_resolvconf
|
stop_resolvconf
|
||||||
;;
|
;;
|
||||||
systemd-exec)
|
systemd-exec)
|
||||||
# --pid-file without argument disables writing a PIDfile, we don't need one with sytemd.
|
|
||||||
# Enable DBus by default because we use DBus activation with systemd.
|
# Enable DBus by default because we use DBus activation with systemd.
|
||||||
exec $DAEMON --keep-in-foreground --pid-file --enable-dbus \
|
exec $DAEMON --keep-in-foreground --enable-dbus \
|
||||||
${MAILHOSTNAME:+ -m $MAILHOSTNAME} \
|
${MAILHOSTNAME:+ -m $MAILHOSTNAME} \
|
||||||
${MAILTARGET:+ -t $MAILTARGET} \
|
${MAILTARGET:+ -t $MAILTARGET} \
|
||||||
${DNSMASQ_USER:+ -u $DNSMASQ_USER} \
|
${DNSMASQ_USER:+ -u $DNSMASQ_USER} \
|
||||||
|
|||||||
Vendored
+16
@@ -1,6 +1,22 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
# Code copied from dh_systemd_enable ----------------------
|
||||||
|
# This will only remove masks created by d-s-h on package removal.
|
||||||
|
deb-systemd-helper unmask dnsmasq.service >/dev/null || true
|
||||||
|
|
||||||
|
# was-enabled defaults to true, so new installations run enable.
|
||||||
|
if deb-systemd-helper --quiet was-enabled dnsmasq.service; then
|
||||||
|
# Enables the unit on first installation, creates new
|
||||||
|
# symlinks on upgrades if the unit file has changed.
|
||||||
|
deb-systemd-helper enable dnsmasq.service >/dev/null || true
|
||||||
|
else
|
||||||
|
# Update the statefile to add new symlinks (if any), which need to be
|
||||||
|
# cleaned up on purge. Also remove old symlinks.
|
||||||
|
deb-systemd-helper update-state dnsmasq.service >/dev/null || true
|
||||||
|
fi
|
||||||
|
# End code copied from dh_systemd_enable ------------------
|
||||||
|
|
||||||
if [ -x /etc/init.d/dnsmasq ]; then
|
if [ -x /etc/init.d/dnsmasq ]; then
|
||||||
update-rc.d dnsmasq defaults 15 85 >/dev/null
|
update-rc.d dnsmasq defaults 15 85 >/dev/null
|
||||||
|
|
||||||
|
|||||||
Vendored
+16
@@ -4,3 +4,19 @@ set -e
|
|||||||
if [ purge = "$1" ]; then
|
if [ purge = "$1" ]; then
|
||||||
update-rc.d dnsmasq remove >/dev/null
|
update-rc.d dnsmasq remove >/dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Code copied from dh_systemd_enable ----------------------
|
||||||
|
if [ "$1" = "remove" ]; then
|
||||||
|
if [ -x "/usr/bin/deb-systemd-helper" ]; then
|
||||||
|
deb-systemd-helper mask dnsmasq.service >/dev/null
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$1" = "purge" ]; then
|
||||||
|
if [ -x "/usr/bin/deb-systemd-helper" ]; then
|
||||||
|
deb-systemd-helper purge dnsmasq.service >/dev/null
|
||||||
|
deb-systemd-helper unmask dnsmasq.service >/dev/null
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
# End code copied from dh_systemd_enable ------------------
|
||||||
|
|
||||||
Vendored
+2
-3
@@ -13,9 +13,8 @@ ExecStartPre=/usr/sbin/dnsmasq --test
|
|||||||
# itself, when called with the "systemd-exec" function.
|
# itself, when called with the "systemd-exec" function.
|
||||||
#
|
#
|
||||||
# It also adds the command-line flags
|
# It also adds the command-line flags
|
||||||
# --keep-in-foreground --pid-file --enable-dbus
|
# --keep-in-foreground --enable-dbus
|
||||||
# to disable writing a pid-file (not needed with systemd) and
|
# to enable DBus by default because we use DBus activation.
|
||||||
# enable DBus by default because we use DBus activation.
|
|
||||||
#
|
#
|
||||||
ExecStart=/etc/init.d/dnsmasq systemd-exec
|
ExecStart=/etc/init.d/dnsmasq systemd-exec
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user