summaryrefslogtreecommitdiff
path: root/net/bind8
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>1999-11-12 18:23:52 +0000
committerrh <rh@pkgsrc.org>1999-11-12 18:23:52 +0000
commitc40274f37f9143ba0781dd80bd86a66ea3c3014e (patch)
tree0afed473a7b3c2961f74763a59da532702298d93 /net/bind8
parentfc05b33b4af1368a64a7d739e4d97861fe0c78a2 (diff)
downloadpkgsrc-c40274f37f9143ba0781dd80bd86a66ea3c3014e.tar.gz
Import of bind8 package as submitted in pkg/8782 by Greg A. Woods (with
some modifications), thanks! XXX: this package definitely needs some more work, specifically to make it hier(7) compliant. However, I don't have the time for that at the moment, I therefore mainly commit this for the sake of providing a quick security fix for the affected systems.
Diffstat (limited to 'net/bind8')
-rw-r--r--net/bind8/Makefile46
-rw-r--r--net/bind8/files/md55
-rw-r--r--net/bind8/patches/patch-aa24
-rw-r--r--net/bind8/patches/patch-ab175
-rw-r--r--net/bind8/patches/patch-ac21
-rw-r--r--net/bind8/pkg/COMMENT1
-rw-r--r--net/bind8/pkg/DESCR22
-rw-r--r--net/bind8/pkg/PLIST86
8 files changed, 380 insertions, 0 deletions
diff --git a/net/bind8/Makefile b/net/bind8/Makefile
new file mode 100644
index 00000000000..1e0d0fac596
--- /dev/null
+++ b/net/bind8/Makefile
@@ -0,0 +1,46 @@
+#
+# $NetBSD: Makefile,v 1.1.1.1 1999/11/12 18:23:52 rh Exp $
+#
+# FreeBSD Id: Makefile,v 1.12 1999/06/28 21:25:07 billf Exp
+#
+# Adapted for NetBSD by Greg A. Woods <woods@planix.com>
+# July 28, 1999
+#
+# Upgraged to 8.2.2-P3 by Greg A. Woods <woods@planix.com>
+# November 11, 1999
+#
+
+DISTNAME= bind
+PKGNAME= bind-8.2.2p3
+WRKSRC= ${WRKDIR}/src
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.isc.org/isc/bind/src/8.2.2-P3/
+DISTFILES= ${DISTNAME}-src.tar.gz ${DISTNAME}-doc.tar.gz patch4
+
+MAINTAINER= packages@NetBSD.org
+HOMEPAGE= http://www.isc.org/products/BIND/
+
+Y2K= http://www.isc.org/ISC/y2k.html
+
+DIST_SUBDIR= bind/8.2.2-P3
+EXTRACT_ONLY= ${DISTNAME}-src.tar.gz ${DISTNAME}-doc.tar.gz
+
+PATCH_ARGS= -d ${WRKDIR}
+
+pre-patch:
+ @${ECHO_MSG} "===> Applying distribution patches for ${PKGNAME}"
+ @(cd ${_DISTDIR}; \
+ if [ ${PATCH_DEBUG_TMP} = yes ]; then \
+ ${ECHO_MSG} "===> Applying distribution patch 'patch4'" ; \
+ fi; \
+ ${PATCH} -d ${WRKDIR}/src/bin/named-xfer -p1 < 'patch4')
+
+post-build:
+ @(cd ${WRKDIR}/doc/man && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} clean all)
+
+post-install:
+ @(cd ${WRKDIR}/doc/man && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
+ ${MKDIR} ${PREFIX}/share/doc/bind8
+ ${INSTALL_DATA} ${WRKDIR}/doc/html/* ${PREFIX}/share/doc/bind8
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/bind8/files/md5 b/net/bind8/files/md5
new file mode 100644
index 00000000000..6b098daff25
--- /dev/null
+++ b/net/bind8/files/md5
@@ -0,0 +1,5 @@
+$NetBSD: md5,v 1.1.1.1 1999/11/12 18:23:53 rh Exp $
+
+MD5 (bind/8.2.2-P3/bind-src.tar.gz) = c782af1a8058d6d2d3c95c1385a5c8c0
+MD5 (bind/8.2.2-P3/bind-doc.tar.gz) = 42025ab4bed0f13ab612ec5984abe2f0
+MD5 (bind/8.2.2-P3/patch4) = b9b05dca4b591ad73b17f7262afa6636
diff --git a/net/bind8/patches/patch-aa b/net/bind8/patches/patch-aa
new file mode 100644
index 00000000000..2eca10f4111
--- /dev/null
+++ b/net/bind8/patches/patch-aa
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/11/12 18:23:53 rh Exp $
+
+--- src/port/netbsd/Makefile.set.orig Thu Mar 19 14:50:33 1998
++++ src/port/netbsd/Makefile.set Wed Jul 28 20:02:07 1999
+@@ -1,11 +1,13 @@
+ 'CC=cc'
+ 'CDEBUG=-O2 -g'
+-'DESTBIN=/usr/bin'
+-'DESTSBIN=/usr/sbin'
+-'DESTEXEC=/usr/libexec'
+-'DESTMAN=/usr/share/man'
+-'DESTHELP=/usr/share/misc'
+-'DESTETC=/etc'
++'DESTBIN=${PREFIX}/bin'
++'DESTLIB=${PREFIX}/bind/lib'
++'DESTINC=${PREFIX}/bind/include'
++'DESTSBIN=${PREFIX}/sbin'
++'DESTEXEC=${PREFIX}/libexec'
++'DESTMAN=${PREFIX}/share/man'
++'DESTHELP=${PREFIX}/share/misc'
++'DESTETC=${PREFIX}/etc'
+ 'DESTRUN=/var/run'
+ 'LEX=lex -I'
+ 'YACC=yacc -d'
diff --git a/net/bind8/patches/patch-ab b/net/bind8/patches/patch-ab
new file mode 100644
index 00000000000..169cbd699f1
--- /dev/null
+++ b/net/bind8/patches/patch-ab
@@ -0,0 +1,175 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/11/12 18:23:53 rh Exp $
+
+*** doc/man/Makefile.orig Sat Sep 18 02:23:44 1999
+--- doc/man/Makefile Fri Nov 12 01:43:05 1999
+***************
+*** 52,63 ****
+ # Target directory for the manual directory tree. Eg., may be used to
+ # specify the path of an NFS-mounted directory for common files.
+ #
+! DESTDIR=
+
+ #
+ # Default location for manual section directories.
+ #
+! DESTMAN= /usr/share/man
+
+ #
+ # Install manuals in ${MANDIR}N. For systems that generate catable manual
+--- 52,63 ----
+ # Target directory for the manual directory tree. Eg., may be used to
+ # specify the path of an NFS-mounted directory for common files.
+ #
+! DESTDIR= ${PREFIX}
+
+ #
+ # Default location for manual section directories.
+ #
+! DESTMAN= /share/man
+
+ #
+ # Install manuals in ${MANDIR}N. For systems that generate catable manual
+***************
+*** 228,241 ****
+ #
+ # User command manual entries
+ #
+! CMD_BASE = dig host dnsquery dnskeygen
+ CMD_SRC_EXT = 1
+ CMD_SRC = dig.${CMD_SRC_EXT} \
+- host.${CMD_SRC_EXT} \
+ dnsquery.${CMD_SRC_EXT} \
+ dnskeygen.${CMD_SRC_EXT}
+ CMD_OUT = dig.${CMD_OUT_EXT} \
+- host.${CMD_OUT_EXT} \
+ dnsquery.${CMD_OUT_EXT} \
+ dnskeygen.${CMD_OUT_EXT}
+
+--- 228,239 ----
+ #
+ # User command manual entries
+ #
+! CMD_BASE = dig dnsquery dnskeygen
+ CMD_SRC_EXT = 1
+ CMD_SRC = dig.${CMD_SRC_EXT} \
+ dnsquery.${CMD_SRC_EXT} \
+ dnskeygen.${CMD_SRC_EXT}
+ CMD_OUT = dig.${CMD_OUT_EXT} \
+ dnsquery.${CMD_OUT_EXT} \
+ dnskeygen.${CMD_OUT_EXT}
+
+***************
+*** 279,285 ****
+ # Network library routines manual entries
+ #
+ LIB_NETWORK_BASE = gethostbyname inet_cidr resolver hesiod getnetent \
+! tsig getaddrinfo inet_cidr getipnodebyname
+ LIB_NETWORK_SRC_EXT = 3
+ LIB_NETWORK_SRC = gethostbyname.${LIB_NETWORK_SRC_EXT} \
+ inet_cidr.${LIB_NETWORK_SRC_EXT} \
+--- 277,283 ----
+ # Network library routines manual entries
+ #
+ LIB_NETWORK_BASE = gethostbyname inet_cidr resolver hesiod getnetent \
+! tsig getaddrinfo getipnodebyname
+ LIB_NETWORK_SRC_EXT = 3
+ LIB_NETWORK_SRC = gethostbyname.${LIB_NETWORK_SRC_EXT} \
+ inet_cidr.${LIB_NETWORK_SRC_EXT} \
+***************
+*** 303,309 ****
+ #
+ # File format manual entries
+ #
+! FORMAT_BASE = resolver irs.conf named.conf
+ FORMAT_SRC_EXT = 5
+ FORMAT_SRC = resolver.${FORMAT_SRC_EXT} \
+ irs.conf.${FORMAT_SRC_EXT} \
+--- 301,308 ----
+ #
+ # File format manual entries
+ #
+! FORMAT_MAIN_BASE = named.conf
+! FORMAT_BASE = resolver irs.conf
+ FORMAT_SRC_EXT = 5
+ FORMAT_SRC = resolver.${FORMAT_SRC_EXT} \
+ irs.conf.${FORMAT_SRC_EXT} \
+***************
+*** 355,363 ****
+ install: ${OUTFILES} \
+ ${DESTDIR}${DESTMAN}/${MANDIR}${CMD_EXT_DIR} \
+ ${DESTDIR}${DESTMAN}/${MANDIR}${SYS_OPS_EXT_DIR} \
+! ${DESTDIR}${DESTMAN}/${MANDIR}${LIB_NETWORK_EXT_DIR} \
+ ${DESTDIR}${DESTMAN}/${MANDIR}${FORMAT_EXT_DIR} \
+! ${DESTDIR}${DESTMAN}/${MANDIR}${DESC_EXT_DIR}
+ @set -x; N=${CMD_EXT}; for f in ${CMD_BASE}; do \
+ ${INSTALL} -c -m 444 ${MAN_OWNER} ${MAN_GROUP} \
+ $${f}.${CMD_OUT_EXT} \
+--- 354,363 ----
+ install: ${OUTFILES} \
+ ${DESTDIR}${DESTMAN}/${MANDIR}${CMD_EXT_DIR} \
+ ${DESTDIR}${DESTMAN}/${MANDIR}${SYS_OPS_EXT_DIR} \
+! ${DESTDIR}/bind${DESTMAN}/${MANDIR}${LIB_NETWORK_EXT_DIR} \
+ ${DESTDIR}${DESTMAN}/${MANDIR}${FORMAT_EXT_DIR} \
+! ${DESTDIR}/bind${DESTMAN}/${MANDIR}${FORMAT_EXT_DIR} \
+! ${DESTDIR}/bind${DESTMAN}/${MANDIR}${DESC_EXT_DIR}
+ @set -x; N=${CMD_EXT}; for f in ${CMD_BASE}; do \
+ ${INSTALL} -c -m 444 ${MAN_OWNER} ${MAN_GROUP} \
+ $${f}.${CMD_OUT_EXT} \
+***************
+*** 391,415 ****
+ @set -x; N=${LIB_NETWORK_EXT}; for f in ${LIB_NETWORK_BASE}; do \
+ ${INSTALL} -c -m 444 ${MAN_OWNER} ${MAN_GROUP} \
+ $${f}.${LIB_NETWORK_OUT_EXT} \
+! ${DESTDIR}${DESTMAN}/${MANDIR}${LIB_NETWORK_EXT_DIR}/$${f}.${CATEXT}; \
+ done
+ @set -x; N=${FORMAT_EXT}; for f in ${FORMAT_BASE}; do \
+ ${INSTALL} -c -m 444 ${MAN_OWNER} ${MAN_GROUP} \
+ $${f}.${FORMAT_OUT_EXT} \
+! ${DESTDIR}${DESTMAN}/${MANDIR}${FORMAT_EXT_DIR}/$${f}.${CATEXT}; \
+ done
+ @set -x; N=${DESC_EXT}; for f in ${DESC_BASE}; do \
+ ${INSTALL} -c -m 444 ${MAN_OWNER} ${MAN_GROUP} \
+ $${f}.${DESC_OUT_EXT} \
+! ${DESTDIR}${DESTMAN}/${MANDIR}${DESC_EXT_DIR}/$${f}.${CATEXT}; \
+ done
+
+ ${DESTDIR}${DESTMAN}/${MANDIR}${CMD_EXT_DIR} \
+ ${DESTDIR}${DESTMAN}/${MANDIR}${SYS_OPS_EXT_DIR} \
+! ${DESTDIR}${DESTMAN}/${MANDIR}${LIB_NETWORK_EXT_DIR} \
+ ${DESTDIR}${DESTMAN}/${MANDIR}${FORMAT_EXT_DIR} \
+! ${DESTDIR}${DESTMAN}/${MANDIR}${DESC_EXT_DIR}:
+! mkdir $@
+
+ links: FRC
+ @set -ex; ln -s SRC/*.[0-9] .
+--- 391,420 ----
+ @set -x; N=${LIB_NETWORK_EXT}; for f in ${LIB_NETWORK_BASE}; do \
+ ${INSTALL} -c -m 444 ${MAN_OWNER} ${MAN_GROUP} \
+ $${f}.${LIB_NETWORK_OUT_EXT} \
+! ${DESTDIR}/bind${DESTMAN}/${MANDIR}${LIB_NETWORK_EXT_DIR}/$${f}.${CATEXT}; \
+! done
+! @set -x; N=${FORMAT_EXT}; for f in ${FORMAT_MAIN_BASE}; do \
+! ${INSTALL} -c -m 444 ${MAN_OWNER} ${MAN_GROUP} $${f}.${FORMAT_OUT_EXT} \
+! ${DESTDIR}${DESTMAN}/${MANDIR}${FORMAT_EXT_DIR}/$${f}.${CATEXT}; \
+ done
+ @set -x; N=${FORMAT_EXT}; for f in ${FORMAT_BASE}; do \
+ ${INSTALL} -c -m 444 ${MAN_OWNER} ${MAN_GROUP} \
+ $${f}.${FORMAT_OUT_EXT} \
+! ${DESTDIR}/bind${DESTMAN}/${MANDIR}${FORMAT_EXT_DIR}/$${f}.${CATEXT}; \
+ done
+ @set -x; N=${DESC_EXT}; for f in ${DESC_BASE}; do \
+ ${INSTALL} -c -m 444 ${MAN_OWNER} ${MAN_GROUP} \
+ $${f}.${DESC_OUT_EXT} \
+! ${DESTDIR}/bind${DESTMAN}/${MANDIR}${DESC_EXT_DIR}/$${f}.${CATEXT}; \
+ done
+
+ ${DESTDIR}${DESTMAN}/${MANDIR}${CMD_EXT_DIR} \
+ ${DESTDIR}${DESTMAN}/${MANDIR}${SYS_OPS_EXT_DIR} \
+! ${DESTDIR}/bind${DESTMAN}/${MANDIR}${LIB_NETWORK_EXT_DIR} \
+ ${DESTDIR}${DESTMAN}/${MANDIR}${FORMAT_EXT_DIR} \
+! ${DESTDIR}/bind${DESTMAN}/${MANDIR}${FORMAT_EXT_DIR} \
+! ${DESTDIR}/bind${DESTMAN}/${MANDIR}${DESC_EXT_DIR}:
+! mkdir -p $@
+
+ links: FRC
+ @set -ex; ln -s SRC/*.[0-9] .
diff --git a/net/bind8/patches/patch-ac b/net/bind8/patches/patch-ac
new file mode 100644
index 00000000000..b5c5ad1c18c
--- /dev/null
+++ b/net/bind8/patches/patch-ac
@@ -0,0 +1,21 @@
+$NetBSD: patch-ac,v 1.1.1.1 1999/11/12 18:23:53 rh Exp $
+
+*** src/bin/Makefile.orig Sun Aug 8 13:13:24 1999
+--- src/bin/Makefile Fri Nov 12 01:49:34 1999
+***************
+*** 60,66 ****
+
+ CFLAGS= ${CDEBUG} -I${PORTINCL} -I${INCL}
+
+! SUBDIRS = addr nslookup dig dnsquery host named named-xfer ndc nsupdate \
+ mkservdb irpd dnskeygen named-bootconf
+
+ all: ${SUBDIRS}
+--- 60,66 ----
+
+ CFLAGS= ${CDEBUG} -I${PORTINCL} -I${INCL}
+
+! SUBDIRS = addr nslookup dig dnsquery named named-xfer ndc nsupdate \
+ mkservdb irpd dnskeygen named-bootconf
+
+ all: ${SUBDIRS}
diff --git a/net/bind8/pkg/COMMENT b/net/bind8/pkg/COMMENT
new file mode 100644
index 00000000000..f141421cb1d
--- /dev/null
+++ b/net/bind8/pkg/COMMENT
@@ -0,0 +1 @@
+The Berkeley Internet Name Daemon, an implementation of DNS.
diff --git a/net/bind8/pkg/DESCR b/net/bind8/pkg/DESCR
new file mode 100644
index 00000000000..d7b9709da0f
--- /dev/null
+++ b/net/bind8/pkg/DESCR
@@ -0,0 +1,22 @@
+ BIND (Berkeley Internet Name Domain) is an implementation of the
+Domain Name System (DNS) protocols and provides an openly redistributable
+reference implementation of the major components of the Domain Name
+System, including:
+
+ * a Domain Name System server (named)
+ * a Domain Name System resolver library
+ * tools for verifying the proper operation of the DNS server
+
+ The BIND DNS Server is used on the vast majority of name serving machines
+on the Internet, providing a robust and stable architecture on top of which
+an organization's naming architecture can be built. The resolver library
+included in the BIND distribution provides the standard APIs for translation
+between domain names and Internet addresses and is intended to be linked with
+applications requiring name service.
+
+BIND Version 8.2.2 patchlevel 3 (Released November 8th, 1999)
+
+ If you are running any version of BIND prior to 8.2.2 patchlevel 3,
+ we recommend you upgrade to the current version for security reasons.
+ There is one potential remote access exploit fixed in this release,
+ and there are several fixes for various denial-of-service bugs.
diff --git a/net/bind8/pkg/PLIST b/net/bind8/pkg/PLIST
new file mode 100644
index 00000000000..e835a600b4a
--- /dev/null
+++ b/net/bind8/pkg/PLIST
@@ -0,0 +1,86 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/11/12 18:23:53 rh Exp $
+bin/addr
+bin/dig
+bin/dnsquery
+bin/mkservdb
+bin/nslookup
+bin/nsupdate
+bind/include/arpa/inet.h
+bind/include/arpa/nameser.h
+bind/include/arpa/nameser_compat.h
+bind/include/hesiod.h
+bind/include/irp.h
+bind/include/irs.h
+bind/include/isc/assertions.h
+bind/include/isc/dst.h
+bind/include/isc/eventlib.h
+bind/include/isc/heap.h
+bind/include/isc/irpmarshall.h
+bind/include/isc/list.h
+bind/include/isc/logging.h
+bind/include/isc/memcluster.h
+bind/include/isc/misc.h
+bind/include/isc/tree.h
+bind/include/netdb.h
+bind/include/res_update.h
+bind/include/resolv.h
+bind/include/sys/bitypes.h
+bind/lib/libbind.a
+bind/lib/libbind_r.a
+bind/share/man/cat3/getaddrinfo.0
+bind/share/man/cat3/gethostbyname.0
+bind/share/man/cat3/getipnodebyname.0
+bind/share/man/cat3/getnetent.0
+bind/share/man/cat3/hesiod.0
+bind/share/man/cat3/inet_cidr.0
+bind/share/man/cat3/resolver.0
+bind/share/man/cat3/tsig.0
+bind/share/man/cat5/irs.conf.0
+bind/share/man/cat5/resolver.0
+bind/share/man/cat7/hostname.0
+bind/share/man/cat7/mailaddr.0
+libexec/dnskeygen
+libexec/named-xfer
+sbin/irpd
+sbin/named
+sbin/named-bootconf
+sbin/ndc
+share/doc/bind8/acl.html
+share/doc/bind8/address_list.html
+share/doc/bind8/comments.html
+share/doc/bind8/config.html
+share/doc/bind8/controls.html
+share/doc/bind8/docdef.html
+share/doc/bind8/example.html
+share/doc/bind8/include.html
+share/doc/bind8/index.html
+share/doc/bind8/key.html
+share/doc/bind8/logging.html
+share/doc/bind8/master.html
+share/doc/bind8/options.html
+share/doc/bind8/server.html
+share/doc/bind8/trusted-keys.html
+share/doc/bind8/zone.html
+share/man/cat1/dig.0
+share/man/cat1/dnsquery.0
+share/man/cat1/dnskeygen.0
+share/man/cat5/named.conf.0
+share/man/cat8/named.0
+share/man/cat8/named-bootconf.0
+share/man/cat8/named-xfer.0
+share/man/cat8/ndc.0
+share/man/cat8/nslookup.0
+share/man/cat8/nsupdate.0
+share/misc/nslookup.help
+@dirrm bind/include/arpa
+@dirrm bind/include/isc
+@dirrm bind/include/sys
+@dirrm bind/include
+@dirrm bind/lib
+@dirrm bind/share/man/cat3
+@dirrm bind/share/man/cat5
+@dirrm bind/share/man/cat7
+@dirrm bind/share/man
+@dirrm bind/share
+@dirrm bind
+@dirrm share/doc/bind8