summaryrefslogtreecommitdiff
path: root/package/bind/bind9
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-04-14 19:25:54 +0000
committerEric Andersen <andersen@codepoet.org>2006-04-14 19:25:54 +0000
commitcb7b678a5e9ad4e452903e11649889e0b97a91ce (patch)
treeb6f89b66f9fd7a73294ade768546a4d19d588365 /package/bind/bind9
parent55d713a4ecb8ecdfc929f8cd83e73c1973a56f78 (diff)
664: bind package update: akvadrako writes:
This patch consists of: (1) bind version bump (2) removing some X-compiling build fixes merged upstream (3) removing the bind-dlopen patch: not of general enough use (4) remove the package/bind/bind9 file - it isn't used (5) Use $(STAGING_DIR)/lib instead of $(STAGING_DIR)/usr/lib (6) Fix chroot'ed bind handling by init script
Diffstat (limited to 'package/bind/bind9')
-rw-r--r--package/bind/bind957
1 files changed, 0 insertions, 57 deletions
diff --git a/package/bind/bind9 b/package/bind/bind9
deleted file mode 100644
index aa07b41a9..000000000
--- a/package/bind/bind9
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/sh
-
-PATH=/sbin:/bin:/usr/sbin:/usr/bin
-
-# for a chrooted server: "-u bind -t /var/lib/named"
-OPTIONS=""
-
-test -x /usr/sbin/rndc || exit 0
-
-case "$1" in
- start)
- echo -n "Starting domain name service: named"
-
- # dirs under /var/run can go away on reboots.
- mkdir -p /var/run/bind/run
- chmod 775 /var/run/bind/run
- chown root:bind /var/run/bind/run >/dev/null 2>&1 || true
-
- if [ ! -x /usr/sbin/named ]; then
- echo "named binary missing - not starting"
- exit 1
- fi
- if start-stop-daemon --start --quiet --exec /usr/sbin/named \
- --pidfile /var/run/bind/run/named.pid -- $OPTIONS; then
- if [ -x /sbin/resolvconf ] ; then
- echo "nameserver 127.0.0.1" | /sbin/resolvconf -a lo
- fi
- fi
- echo "."
- ;;
-
- stop)
- echo -n "Stopping domain name service: named"
- if [ -x /sbin/resolvconf ]; then
- /sbin/resolvconf -d lo
- fi
- /usr/sbin/rndc stop
- echo "."
- ;;
-
- reload)
- /usr/sbin/rndc reload
- ;;
-
- restart|force-reload)
- $0 stop
- sleep 2
- $0 start
- ;;
-
- *)
- echo "Usage: /etc/init.d/bind {start|stop|reload|restart|force-reload}" >&2
- exit 1
- ;;
-esac
-
-exit 0