Debian updates.

This commit is contained in:
Simon Kelley
2012-03-09 14:27:49 +00:00
parent 7023e38294
commit 760169fc43
3 changed files with 9 additions and 1 deletions

2
debian/changelog vendored
View File

@@ -1,6 +1,8 @@
dnsmasq (2.61-1) unstable; urgency=low dnsmasq (2.61-1) unstable; urgency=low
* New upstream. * New upstream.
* Provide "dump-stats" initscript method. (closes: #654656)
* Add (empty) build-indep and build-arch rules targets.
-- Simon Kelley <simon@thekelleys.org.uk> Tue, 6 Mar 2012 19:45:43 +0000 -- Simon Kelley <simon@thekelleys.org.uk> Tue, 6 Mar 2012 19:45:43 +0000

5
debian/init vendored
View File

@@ -256,8 +256,11 @@ case "$1" in
*) log_success_msg "(unknown)" ; exit 4 ;; *) log_success_msg "(unknown)" ; exit 4 ;;
esac esac
;; ;;
dump-stats)
kill -s USR1 `cat /var/run/dnsmasq/$NAME.pid`
;;
*) *)
echo "Usage: /etc/init.d/$NAME {start|stop|restart|force-reload|status}" >&2 echo "Usage: /etc/init.d/$NAME {start|stop|restart|force-reload|dump-stats|status}" >&2
exit 3 exit 3
;; ;;
esac esac

3
debian/rules vendored
View File

@@ -184,7 +184,10 @@ endef
# Below here is fairly generic really # Below here is fairly generic really
binary: binary-arch binary-indep binary: binary-arch binary-indep
build: build:
build-arch:
build-indep:
checkroot: checkroot:
test root = "`whoami`" test root = "`whoami`"