aboutsummaryrefslogtreecommitdiff
path: root/package/bind/bind.sysvinit
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2013-07-19 16:41:20 -0300
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2013-07-19 23:24:02 +0200
commit98463e6f87ee6a8369accd0ab4c34d70afe422c4 (patch)
tree84c57dfbb9ae7b7f1a59b1a8524290da6a22091b /package/bind/bind.sysvinit
parent717ac057500fb149dcff2d9d8216e75000b7661b (diff)
downloadbuildroot-98463e6f87ee6a8369accd0ab4c34d70afe422c4.tar.gz
buildroot-98463e6f87ee6a8369accd0ab4c34d70afe422c4.tar.bz2
bind: security bump to version 9.6-ESV-R9-P1
Fixes CVE-2013-3919 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/bind/bind.sysvinit')
-rw-r--r--package/bind/bind.sysvinit56
1 files changed, 0 insertions, 56 deletions
diff --git a/package/bind/bind.sysvinit b/package/bind/bind.sysvinit
deleted file mode 100644
index 171d3208aa..0000000000
--- a/package/bind/bind.sysvinit
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/bin/sh
-#
-# System-V init to control the bind DNS Daemon
-#
-
-NAME=named
-DAEMON=/usr/sbin/$NAME
-
-# this file contains a few tunable parameters
-test -r /etc/default/named && . /etc/default/named
-
-test -f $DAEMON || exit 0
-
-set -e
-
-case "$1" in
- start)
- test -z "$CHROOT" || ARGS="$ARGS -t $CHROOT"
- test -z "$SETUID" || ARGS="$ARGS -u $SETUID"
- if [ ! -f $CHROOT/etc/rndc.key ]; then
- echo "Initializing $NAME control key: rndc-confgen"
- set +e
-
- # if rndc.key is a symlink, the target must exist
- touch $CHROOT/etc/rndc.key
- touch etc/rndc.key
-
- rndc-confgen -a -r /dev/urandom $ARGS || true
- set -e
- fi
- test -z "$CONF" || ARGS="$ARGS -c $CONF"
- echo -n "Starting domain name daemon: $NAME"
- trap 'echo failed' 0
- start-stop-daemon -S -x $DAEMON -- $ARGS
- trap - 0
- echo "."
- ;;
- stop)
- echo -n "Stopping domain name daemon: $NAME"
- rndc stop || start-stop-daemon -K -x $DAEMON
- echo "."
- ;;
- restart)
- $0 stop || true
- sleep 2
- $0 start
- ;;
- reload|force-reload)
- rndc reload || $0 restart
- ;;
- *)
- echo "Usage: $0 {start|stop|restart|reload|force-reload}"
- exit 1
-esac
-
-exit 0