summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2017-10-02 09:37:09 -0700
committerPatrick McLean <chutzpah@gentoo.org>2017-10-02 09:37:48 -0700
commit5383e3fce7a501407d7a2e8c41efa766d3df2d67 (patch)
tree24d65ac171907373178db0ef8f88b4cfc8409386 /net-dns/dnsmasq/files/dnsmasq-init-r3
parentdev-perl/Convert-TNEF: -r1 bump for dep propagation (diff)
downloadgentoo-5383e3fce7a501407d7a2e8c41efa766d3df2d67.tar.gz
gentoo-5383e3fce7a501407d7a2e8c41efa766d3df2d67.tar.bz2
gentoo-5383e3fce7a501407d7a2e8c41efa766d3df2d67.zip
net-dns/dnsmasq: Version bump for #632692
Security version bump for these CVEs: CVE-2017-14491 CVE-2017-14492 CVE-2017-14493 CVE-2017-14494 CVE-2017-14495 CVE-2017-14496 Also make the relad action use start-stop-daemon. Bug: https://bugs.gentoo.org/632692 Closes: https://bugs.gentoo.org/629284 Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'net-dns/dnsmasq/files/dnsmasq-init-r3')
-rw-r--r--net-dns/dnsmasq/files/dnsmasq-init-r323
1 files changed, 23 insertions, 0 deletions
diff --git a/net-dns/dnsmasq/files/dnsmasq-init-r3 b/net-dns/dnsmasq/files/dnsmasq-init-r3
new file mode 100644
index 00000000000..9d58b26fa5e
--- /dev/null
+++ b/net-dns/dnsmasq/files/dnsmasq-init-r3
@@ -0,0 +1,23 @@
+#!/sbin/openrc-run
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License, v2 or later
+
+extra_started_commands="reload"
+
+pidfile="/var/run/dnsmasq.pid"
+command="/usr/sbin/dnsmasq"
+command_args="-x ${pidfile} ${DNSMASQ_OPTS}"
+retry="TERM/3/TERM/5"
+
+depend() {
+ provide dns
+ need localmount net
+ after bootmisc
+ use logger
+}
+
+reload() {
+ ebegin "Reloading ${SVCNAME}"
+ start-stop-daemon --signal HUP --pidfile "${pidfile}"
+ eend $?
+}