summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonny Davies <woodchip@gentoo.org>2002-02-09 01:08:04 +0000
committerDonny Davies <woodchip@gentoo.org>2002-02-09 01:08:04 +0000
commit94397c26fb76f035055dc672087d3504d7230b23 (patch)
tree0f7c4451e4a50eeac34a8e1d89d270f7f925ad60 /net-misc
parentClose bug #539. Thanks to lordviram@nesit.org (Travis Tilley). (diff)
downloadhistorical-94397c26fb76f035055dc672087d3504d7230b23.tar.gz
historical-94397c26fb76f035055dc672087d3504d7230b23.tar.bz2
historical-94397c26fb76f035055dc672087d3504d7230b23.zip
Close bug #483. Swept up some old ebuilds/digests.
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/bind/ChangeLog10
-rw-r--r--net-misc/bind/bind-9.1.3-r7.ebuild56
-rw-r--r--net-misc/bind/files/digest-bind-8.2.32
-rw-r--r--net-misc/bind/files/digest-bind-9.1.3-r71
-rw-r--r--net-misc/bind/files/named.rc624
5 files changed, 75 insertions, 18 deletions
diff --git a/net-misc/bind/ChangeLog b/net-misc/bind/ChangeLog
index 01b1793a6101..9bddf4270060 100644
--- a/net-misc/bind/ChangeLog
+++ b/net-misc/bind/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-misc/bind
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-misc/bind/ChangeLog,v 1.1 2002/02/01 21:53:34 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/bind/ChangeLog,v 1.2 2002/02/09 01:08:04 woodchip Exp $
+
+*bind-9.1.3-r7 (8 Feb 2002)
+
+ 8 Feb 2002; Donny Davies <woodchip@gentoo.org> files/bind.rc6,
+ bind-9.1.3-r7.ebuild :
+
+ Close bug #483. Use /var/run/named for bind's pidfile.
*bind-9.1.3-r6 (1 Feb 2002)
@@ -11,3 +18,4 @@
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.
+
diff --git a/net-misc/bind/bind-9.1.3-r7.ebuild b/net-misc/bind/bind-9.1.3-r7.ebuild
new file mode 100644
index 000000000000..4facafb92a0f
--- /dev/null
+++ b/net-misc/bind/bind-9.1.3-r7.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Daniel Robbins <drobbins@gentoo.org>, Parag Mehta <pm@gnuos.org>
+# $Header: /var/cvsroot/gentoo-x86/net-misc/bind/bind-9.1.3-r7.ebuild,v 1.1 2002/02/09 01:08:04 woodchip Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="Bind - Name Server"
+SRC_URI="ftp://ftp.isc.org/isc/bind9/${PV}/${A}"
+HOMEPAGE="http://www.isc.org/products/BIND"
+
+DEPEND="virtual/glibc sys-apps/groff"
+RDEPEND="virtual/glibc"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/doc/man
+ #fix man pages to reflect Gentoo Linux file locations (drobbins)
+ local x
+ for x in */*
+ do
+ cp ${x} ${x}.orig
+ sed -e 's:/etc/named.conf:/etc/bind/named.conf:g' -e 's:/etc/rndc.conf:/etc/bind/rndc.conf:g' ${x}.orig > ${x}
+ rm ${x}.orig
+ done
+}
+
+src_compile() {
+ ./configure --prefix=/usr --host=${CHOST} --sysconfdir=/etc/bind --localstatedir=/var --with-libtool || die
+ make all || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ doman doc/man/*/*.[1-8]
+
+ dodoc CHANGES COPYRIGHT FAQ README
+ docinto misc ; dodoc doc/misc/*
+ docinto html ; dodoc doc/arm/*
+ docinto contrib ; dodoc contrib/named-bootconf/named-bootconf.sh \
+ contrib/nanny/nanny.pl
+
+ # some handy-dandy dynamic dns examples
+ cd ${D}/usr/share/doc/${PF}
+ tar pjxf ${FILESDIR}/dyndns-samples.tbz2
+
+ dodir /etc/bind /var/bind /var/bind/pri /var/bind/sec /var/run/named
+ chown named.named ${D}/var/run/named
+ chmod 0770 ${D}/var/run/named
+
+ insinto /var/bind ; doins ${FILESDIR}/root.cache
+ insinto /var/bind/pri ; doins ${FILESDIR}/localhost
+ insinto /var/bind/pri ; doins ${FILESDIR}/127.0.0
+
+ exeinto /etc/init.d ; newexe ${FILESDIR}/named.rc6 named
+}
diff --git a/net-misc/bind/files/digest-bind-8.2.3 b/net-misc/bind/files/digest-bind-8.2.3
index cb5f6d917690..0d4ff35f0844 100644
--- a/net-misc/bind/files/digest-bind-8.2.3
+++ b/net-misc/bind/files/digest-bind-8.2.3
@@ -1,2 +1,2 @@
MD5 c26474bb791552cc0cbc5af72190a772 bind-doc.tar.gz 1486379
-MD5 fd8ab0befccc3546531904eac12cf6f7 bind-src.tar.gz 1251509
+MD5 e21e2854d72afd2ffbee17cfe8caa581 bind-src.tar.gz 1313049
diff --git a/net-misc/bind/files/digest-bind-9.1.3-r7 b/net-misc/bind/files/digest-bind-9.1.3-r7
new file mode 100644
index 000000000000..f5987132132f
--- /dev/null
+++ b/net-misc/bind/files/digest-bind-9.1.3-r7
@@ -0,0 +1 @@
+MD5 1d52f78d5d0d38b7687543d79f0cf4c2 bind-9.1.3.tar.gz 3314185
diff --git a/net-misc/bind/files/named.rc6 b/net-misc/bind/files/named.rc6
index 68c800def0a8..606b264eae3c 100644
--- a/net-misc/bind/files/named.rc6
+++ b/net-misc/bind/files/named.rc6
@@ -1,28 +1,20 @@
#!/sbin/runscript
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-misc/bind/files/named.rc6,v 1.2 2001/12/06 20:17:02 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/bind/files/named.rc6,v 1.3 2002/02/09 01:08:04 woodchip Exp $
depend() {
- need net
-}
-
-checkconfig() {
- if [ ! -e /etc/bind/named.conf ] ; then
- eerror "You need an /etc/bind/named.conf file first"
- return 1
- fi
+ need net
}
start() {
- checkconfig || return 1
- ebegin "Starting named"
- start-stop-daemon --start --quiet --exec /usr/sbin/named --user named
- eend $?
+ ebegin "Starting named"
+ start-stop-daemon --start --quiet --exec /usr/sbin/named -- -u named -n 1
+ eend $?
}
stop() {
- ebegin "Stopping named"
- start-stop-daemon --stop --quiet --pidfile /var/run/named.pid
- eend $?
+ ebegin "Stopping named"
+ start-stop-daemon --stop --quiet --pidfile /var/run/named/named.pid
+ eend $?
}