summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2011-03-28 17:43:31 +0000
committerChristian Ruppert <idl0r@gentoo.org>2011-03-28 17:43:31 +0000
commit4cab6cd7e80f6155e77b82b51e77b3df1689f970 (patch)
tree5c518e7efd5fd3d9b8cf47555369749dff770ea4 /net-dns/bind/files
parentRemove 9.4.x. (diff)
downloadgentoo-2-4cab6cd7e80f6155e77b82b51e77b3df1689f970.tar.gz
gentoo-2-4cab6cd7e80f6155e77b82b51e77b3df1689f970.tar.bz2
gentoo-2-4cab6cd7e80f6155e77b82b51e77b3df1689f970.zip
Remove 9.4.x.
(Portage version: 2.2.0_alpha29/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'net-dns/bind/files')
-rw-r--r--net-dns/bind/files/named.conf-r353
-rw-r--r--net-dns/bind/files/named.confd-r220
-rwxr-xr-xnet-dns/bind/files/named.init-r577
3 files changed, 0 insertions, 150 deletions
diff --git a/net-dns/bind/files/named.conf-r3 b/net-dns/bind/files/named.conf-r3
deleted file mode 100644
index 7391c8bf4bda..000000000000
--- a/net-dns/bind/files/named.conf-r3
+++ /dev/null
@@ -1,53 +0,0 @@
-options {
- directory "/var/bind";
-
- // uncomment the following lines to turn on DNS forwarding,
- // and change the forwarding ip address(es) :
- //forward first;
- //forwarders {
- // 123.123.123.123;
- // 123.123.123.123;
- //};
-
- listen-on-v6 { none; };
- listen-on { 127.0.0.1; };
-
- // to allow only specific hosts to use the DNS server:
- //allow-query {
- // 127.0.0.1;
- //};
-
- // if you have problems and are behind a firewall:
- //query-source address * port 53;
- pid-file "/var/run/named/named.pid";
-};
-
-// Briefly, a zone which has been declared delegation-only will be effectively
-// limited to containing NS RRs for subdomains, but no actual data beyond its
-// own apex (for example, its SOA RR and apex NS RRset). This can be used to
-// filter out "wildcard" or "synthesized" data from NAT boxes or from
-// authoritative name servers whose undelegated (in-zone) data is of no
-// interest.
-// See http://www.isc.org/products/BIND/delegation-only.html for more info
-
-//zone "COM" { type delegation-only; };
-//zone "NET" { type delegation-only; };
-
-zone "." IN {
- type hint;
- file "named.cache";
-};
-
-zone "localhost" IN {
- type master;
- file "pri/localhost.zone";
- allow-update { none; };
- notify no;
-};
-
-zone "127.in-addr.arpa" IN {
- type master;
- file "pri/127.zone";
- allow-update { none; };
- notify no;
-};
diff --git a/net-dns/bind/files/named.confd-r2 b/net-dns/bind/files/named.confd-r2
deleted file mode 100644
index 2106938c5308..000000000000
--- a/net-dns/bind/files/named.confd-r2
+++ /dev/null
@@ -1,20 +0,0 @@
-# Set various named options here.
-#
-OPTIONS=""
-
-# Set this to the number of processors you have.
-#
-CPU="1"
-
-# If you wish to run bind in a chroot, run:
-# emerge --config =<bind-version>
-# and un-comment the following line.
-# You can specify a different chroot directory but MAKE SURE it's empty.
-# CHROOT="/chroot/dns"
-
-# Default pid file location
-PIDFILE="${CHROOT}/var/run/named/named.pid"
-
-# Scheduling priority: 19 is the lowest and -20 is the highest.
-#
-NAMED_NICELEVEL="0"
diff --git a/net-dns/bind/files/named.init-r5 b/net-dns/bind/files/named.init-r5
deleted file mode 100755
index b06c74d4e32b..000000000000
--- a/net-dns/bind/files/named.init-r5
+++ /dev/null
@@ -1,77 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/files/named.init-r5,v 1.3 2010/09/03 17:52:01 idl0r Exp $
-
-opts="start stop reload restart"
-
-depend() {
- need net
- use logger
- provide dns
-}
-
-checkconfig() {
- if [ ! -f ${CHROOT}/etc/bind/named.conf ] ; then
- eerror "No ${CHROOT}/etc/bind/named.conf file exists!"
- fi
-
- # In case someone doesn't have $CPU set from /etc/conf.d/named
- if [ ! ${CPU} ] ; then
- CPU="1"
- fi
-
- # as suggested in bug #107724
- [ -n "${PIDFILE}" ] || PIDFILE=${CHROOT}$(\
- egrep -v \
- "^([[:cntrl:] ]+(#|//|/\*)|(#|//|/\*))" \
- ${CHROOT}/etc/bind/named.conf \
- | egrep -o -m1 "pid\-file +\".+\" *;" \
- | cut -d\" -f2
- )
-
- KEY="${CHROOT}/etc/bind/rndc.key"
-
- # create piddir (usually /var/run/named) if necessary
- local piddir="${PIDFILE%/*}"
- if [ ! -d "${piddir}" ] ; then
- checkpath -q -d -o root:named -m 0770 "${piddir}" || return 1
- fi
-}
-
-start() {
- ebegin "Starting ${CHROOT:+chrooted }named"
- checkconfig || return 1
- start-stop-daemon --start --quiet --pidfile ${PIDFILE} \
- --nicelevel ${NAMED_NICELEVEL:-0} \
- --exec /usr/sbin/named \
- -- -u named -n ${CPU} ${OPTIONS} ${CHROOT:+-t} ${CHROOT}
- eend $?
-}
-
-stop() {
- ebegin "Stopping ${CHROOT:+chrooted }named"
- checkconfig || return 2
- if [ -f $KEY ] ; then
- rndc -k $KEY stop &>/dev/null
- else
- start-stop-daemon --stop --quiet --pidfile $PIDFILE \
- --exec /usr/sbin/named
- fi
- eend $?
-}
-
-reload() {
- checkconfig || return 3
- if [ ! -f $PIDFILE ] ; then
- /etc/init.d/named start &>/dev/null
- exit
- fi
-
- if [ -f $KEY ] ; then
- ebegin "Reloading named.conf and zone files"
- rndc -k $KEY reload &>/dev/null
- eend $?
- else /etc/init.d/named restart &>/dev/null
- fi
-}