summaryrefslogtreecommitdiff
path: root/net/bind4
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>1998-11-23 21:39:41 +0000
committertv <tv@pkgsrc.org>1998-11-23 21:39:41 +0000
commit4a1f41bca28fc9b672e848ba6ddefb0b4c9da16b (patch)
tree7f6e2ecf1045ed4cb6cf30b516d31b39ca8149a9 /net/bind4
parente9979a94b4e5c255aba399af8aa0ae48a4a99abe (diff)
downloadpkgsrc-4a1f41bca28fc9b672e848ba6ddefb0b4c9da16b.tar.gz
Initial cut at a BIND 4.9.x pkg for use with -current and a future 1.4
release as an alternative to the shipped BIND 8.
Diffstat (limited to 'net/bind4')
-rw-r--r--net/bind4/Makefile29
-rw-r--r--net/bind4/files/md53
-rw-r--r--net/bind4/pkg/COMMENT1
-rw-r--r--net/bind4/pkg/DESCR7
-rw-r--r--net/bind4/pkg/MESSAGE16
-rw-r--r--net/bind4/pkg/PLIST5
6 files changed, 61 insertions, 0 deletions
diff --git a/net/bind4/Makefile b/net/bind4/Makefile
new file mode 100644
index 00000000000..893c8bbf8b4
--- /dev/null
+++ b/net/bind4/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 1998/11/23 21:39:41 tv Exp $
+#
+
+DISTNAME= bind-4.9.7-REL
+PKGNAME= bind-4.9.7
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.isc.org/isc/bind/src/4.9.7/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.isc.org/
+
+NO_WRKSUBDIR= yes
+
+post-extract:
+ @${RM} -f ${WRKSRC}/compat/include/sys/cdefs.h
+
+do-build:
+ @cd ${WRKSRC}/res && ${MAKE} CDEBUG="${CFLAGS}"
+ @cd ${WRKSRC}/named && ${MAKE} CDEBUG="${CFLAGS}" PATH_XFER="${PREFIX}/libexec/named4-xfer" COMPLIB=
+ cd ${WRKSRC}/named && \
+ ${SED} -e 's,/usr/sbin,${PREFIX}/sbin,' -e 's,named ,named4 ,' ndc >ndc4
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/named/named ${PREFIX}/sbin/named4
+ ${INSTALL_PROGRAM} ${WRKSRC}/named/named-xfer ${PREFIX}/libexec/named4-xfer
+ ${INSTALL_SCRIPT} ${WRKSRC}/named/ndc4 ${PREFIX}/sbin/
+ ${INSTALL_MAN} ${WRKSRC}/man/named.8 ${PREFIX}/man/man8/named4.8
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/bind4/files/md5 b/net/bind4/files/md5
new file mode 100644
index 00000000000..6d12087c64a
--- /dev/null
+++ b/net/bind4/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1998/11/23 21:39:41 tv Exp $
+
+MD5 (bind-4.9.7-REL.tar.gz) = 6bd2d18bf4ec167f5d5edbba980284ea
diff --git a/net/bind4/pkg/COMMENT b/net/bind4/pkg/COMMENT
new file mode 100644
index 00000000000..3de24aa82df
--- /dev/null
+++ b/net/bind4/pkg/COMMENT
@@ -0,0 +1 @@
+The BIND name server, version 4, as an alternative to BIND 8
diff --git a/net/bind4/pkg/DESCR b/net/bind4/pkg/DESCR
new file mode 100644
index 00000000000..0369eba47ae
--- /dev/null
+++ b/net/bind4/pkg/DESCR
@@ -0,0 +1,7 @@
+NetBSD 1.4 and above ship with BIND 8, a vastly improved name server
+software suite. Unfortunately, some sites cannot run BIND 8 yet due to
+various reasons, including the incompatible configuration file.
+
+This pkg installs the naed portion of BIND 4, allowing an administrator to
+use a BIND 4 server while retaining the added functionality of the BIND 8
+system tools.
diff --git a/net/bind4/pkg/MESSAGE b/net/bind4/pkg/MESSAGE
new file mode 100644
index 00000000000..51146b88403
--- /dev/null
+++ b/net/bind4/pkg/MESSAGE
@@ -0,0 +1,16 @@
+==========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 1998/11/23 21:39:41 tv Exp $
+
+This package installs the BIND version 4 name server into your pkg tree,
+NOT into /usr/sbin with your other binaries. PLEASE BE CAREFUL as to
+which named you run and which `ndc' script you use to control named.
+
+ The `named' program in this pkg is called `named4'.
+ The `ndc' script in this pkg is called `ndc4'.
+ Other BIND programs are not installed; use your system installed tools.
+
+If you intend to stick with BIND 4 instead of upgrading to BIND 8,
+you should delete or move out of the way `named' and `ndc' in /usr/sbin
+to eliminate confusion.
+
+==========================================================================
diff --git a/net/bind4/pkg/PLIST b/net/bind4/pkg/PLIST
new file mode 100644
index 00000000000..2ada82a4846
--- /dev/null
+++ b/net/bind4/pkg/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1998/11/23 21:39:41 tv Exp $
+libexec/named4-xfer
+man/man8/named4.8
+sbin/named4
+sbin/ndc4