diff options
author | Doug Barton <dougb@FreeBSD.org> | 2003-06-07 12:40:51 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2003-06-07 12:40:51 +0000 |
commit | 9ed57ea3339ebbefd9bd22052c4e1bf6849bdd0f (patch) | |
tree | a1a3da9f19fd6b6ebea01281fa46046b79024468 /dns/bind84 | |
parent | e6bd750c5e618ce63862d2b45aed69e4690fe846 (diff) | |
download | ports-9ed57ea3339ebbefd9bd22052c4e1bf6849bdd0f.tar.gz ports-9ed57ea3339ebbefd9bd22052c4e1bf6849bdd0f.zip |
New port for BIND 8.4.0, copied from the existing bind port,
with minor modifications.
Notes
Notes:
svn path=/head/; revision=82449
Diffstat (limited to 'dns/bind84')
-rw-r--r-- | dns/bind84/Makefile | 102 | ||||
-rw-r--r-- | dns/bind84/distinfo | 2 | ||||
-rw-r--r-- | dns/bind84/files/patch-aa | 28 | ||||
-rw-r--r-- | dns/bind84/files/patch-ab | 42 | ||||
-rw-r--r-- | dns/bind84/files/patch-ac | 11 | ||||
-rw-r--r-- | dns/bind84/pkg-descr | 16 | ||||
-rw-r--r-- | dns/bind84/pkg-plist | 90 |
7 files changed, 291 insertions, 0 deletions
diff --git a/dns/bind84/Makefile b/dns/bind84/Makefile new file mode 100644 index 000000000000..32e4caf7546e --- /dev/null +++ b/dns/bind84/Makefile @@ -0,0 +1,102 @@ +# New ports collection makefile for: bind84 +# Date created: 7 June 2003 +# Whom: DougB@FreeBSD.org +# +# $FreeBSD$ +# + +# I stay very aware of developments regarding BIND. I frequently delay updating +# this port from a known-stable version due to concerns about stability of a +# newer version. If you are interested in using the most recent ISC release +# you can generally build it cleanly from the source. - Doug + +PORTNAME= bind84 +PORTVERSION= 8.4.0 +CATEGORIES?= net +MASTER_SITES= ${MASTER_SITE_ISC} +MASTER_SITE_SUBDIR= bind/src/${PORTVERSION} + +DISTFILES= bind-src.tar.gz bind-doc.tar.gz +DIST_SUBDIR= bind-${PORTVERSION} + +MAINTAINER= DougB@FreeBSD.org +COMMENT= The Berkeley Internet Name Domain, an implementation of DNS + +.if defined(PORT_REPLACES_BASE_BIND8) +PKGNAMESUFFIX= -base +PREFIX= /usr +BIND_DESTETC= /etc/namedb +INCLUDE_PATH= include +PLIST_SUB= INCLUDE_PATH=${INCLUDE_PATH} FAKE_SBIN=sbin +.else +BIND_DESTETC= ${PREFIX}/etc +INCLUDE_PATH= include/bind +PLIST_SUB= INCLUDE_PATH=${INCLUDE_PATH} FAKE_SBIN=bin +.endif + +WRKSRC= ${WRKDIR}/src + +MAN1= dig.1 dnskeygen.1 dnsquery.1 host.1 +MAN3= getaddrinfo.3 gethostbyname.3 getipnodebyname.3 getnetent.3 \ + getnameinfo.3 inet_cidr.3 hesiod.3 resolver.3 tsig.3 +MAN5= irs.conf.5 named.conf.5 resolver.5 +MAN7= hostname.7 mailaddr.7 +MAN8= named-bootconf.8 named-xfer.8 named.8 ndc.8 nslookup.8 \ + nsupdate.8 + +PATCH_ARGS= -s -d ${WRKDIR} +PATCH_DIST_ARGS= -s -d ${WRKDIR} + +post-patch: + @${SED} -e "s#\'DESTETC=.*#'DESTETC=${BIND_DESTETC}'#" \ + -e "s#-O2 -g#${CFLAGS}#" \ + ${WRKSRC}/port/freebsd/Makefile.set > \ + ${WRKSRC}/port/freebsd/Makefile.set.sed + @${MV} ${WRKSRC}/port/freebsd/Makefile.set.sed \ + ${WRKSRC}/port/freebsd/Makefile.set + + @${SED} -e "s#{DESTEXEC}#{DESTBIN}#g" \ + ${WRKSRC}/bin/dnskeygen/Makefile > \ + ${WRKSRC}/bin/dnskeygen/Makefile.sed + @${MV} ${WRKSRC}/bin/dnskeygen/Makefile.sed \ + ${WRKSRC}/bin/dnskeygen/Makefile + +.if defined(PORT_REPLACES_BASE_BIND8) + @${SED} -e "s#\'DESTINC=.*#'DESTINC=${PREFIX}/include'#" \ + ${WRKSRC}/port/freebsd/Makefile.set > \ + ${WRKSRC}/port/freebsd/Makefile.set.sed + @${MV} ${WRKSRC}/port/freebsd/Makefile.set.sed \ + ${WRKSRC}/port/freebsd/Makefile.set +.for dir in nslookup nsupdate + @${SED} -e "s#{DESTBIN}#{DESTSBIN}#g" \ + ${WRKSRC}/bin/${dir}/Makefile > ${WRKSRC}/bin/${dir}/Makefile.sed + @${MV} ${WRKSRC}/bin/${dir}/Makefile.sed ${WRKSRC}/bin/${dir}/Makefile +.endfor +.endif + +.for file in named.conf.5 named.8 + @${SED} -e "s#/etc/named.conf#${BIND_DESTETC}/named.conf#g" \ + ${WRKDIR}/doc/man/${file} > ${WRKDIR}/doc/man/${file}.sed + @${MV} ${WRKDIR}/doc/man/${file}.sed ${WRKDIR}/doc/man/${file} +.endfor + +post-install: + cd ${WRKDIR}/doc/man && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \ + ${MAKEFILE} clean all ${INSTALL_TARGET} + + ${INSTALL_DATA} ${WRKSRC}/include/isc/ctl.h \ + ${PREFIX}/${INCLUDE_PATH}/isc + +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR}/html ${DOCSDIR}/misc + ${INSTALL_DATA} ${WRKDIR}/doc/html/*.html ${DOCSDIR}/html + ${CP} -Rp ${WRKDIR}/src/conf ${DOCSDIR} +.for file in CHANGES DNSSEC LICENSE LICENSE_RSA README SUPPORT TODO + ${INSTALL_DATA} ${WRKDIR}/src/${file} ${DOCSDIR} +.endfor +.for file in DynamicUpdate FAQ.* *.txt + ${INSTALL_DATA} ${WRKDIR}/doc/misc/${file} ${DOCSDIR}/misc +.endfor +.endif + +.include <bsd.port.mk> diff --git a/dns/bind84/distinfo b/dns/bind84/distinfo new file mode 100644 index 000000000000..89c1a9625fd2 --- /dev/null +++ b/dns/bind84/distinfo @@ -0,0 +1,2 @@ +MD5 (bind-8.4.0/bind-src.tar.gz) = dbfe076a6a9eac6e77aa34001112f2ed +MD5 (bind-8.4.0/bind-doc.tar.gz) = 30a9211739088226f158f4ac2ae96380 diff --git a/dns/bind84/files/patch-aa b/dns/bind84/files/patch-aa new file mode 100644 index 000000000000..e2684edb625d --- /dev/null +++ b/dns/bind84/files/patch-aa @@ -0,0 +1,28 @@ +--- src/port/freebsd/Makefile.set.orig Sun Jun 23 17:32:49 2002 ++++ src/port/freebsd/Makefile.set Fri Jul 12 00:41:45 2002 +@@ -1,12 +1,14 @@ + 'CC=cc' + 'CDEBUG=-O2 -g -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat' +-'DESTBIN=/usr/bin' +-'DESTSBIN=/usr/sbin' +-'DESTEXEC=/usr/libexec' +-'DESTMAN=/usr/share/man' +-'DESTHELP=/usr/share/misc' +-'DESTETC=/etc' ++'DESTBIN=${PREFIX}/bin' ++'DESTSBIN=${PREFIX}/sbin' ++'DESTEXEC=${PREFIX}/libexec' ++'DESTMAN=${MANPREFIX}/man' ++'DESTHELP=${PREFIX}/share/misc' ++'DESTETC=${PREFIX}/etc' + 'DESTRUN=/var/run' ++'DESTINC=${PREFIX}/include/bind' ++'DESTLIB=${PREFIX}/lib' + 'LEX=lex -I' + 'YACC=yacc -d' + 'SYSLIBS=-lutil' +@@ -17,3 +19,4 @@ + 'CATEXT=0' + 'PS=ps' + 'RANLIB=ranlib' ++'SH=${SH}' diff --git a/dns/bind84/files/patch-ab b/dns/bind84/files/patch-ab new file mode 100644 index 000000000000..5a7d1aba50c2 --- /dev/null +++ b/dns/bind84/files/patch-ab @@ -0,0 +1,42 @@ +--- doc/man/Makefile.orig Fri Mar 14 04:43:51 1997 ++++ doc/man/Makefile Mon Jan 5 14:03:46 1998 +@@ -52,26 +52,26 @@ + # Target directory for the manual directory tree. Eg., may be used to + # specify the path of an NFS-mounted directory for common files. + # +-DESTDIR= ++DESTDIR= ${MANPREFIX} + + # + # Default location for manual section directories. + # +-DESTMAN= /usr/share/man ++DESTMAN= /man + + # + # Install manuals in ${MANDIR}N. For systems that generate catable manual + # entries on the fly, use + # MANDIR = man + # +-MANDIR = cat ++MANDIR = man + + # + # Default extension for manual entries. To install the manual entries under + # their `real' extensions use + # CATEXT = $$N + # +-CATEXT = 0 ++CATEXT = $$N + + # + # Command to install manual entries +@@ -105,7 +105,7 @@ + # can be used. + # MANROFF = cat + # +-MANROFF = ( tbl | nroff -mandoc ) ++MANROFF = cat + + # + # Default extensions for installed manual entries. The following variables diff --git a/dns/bind84/files/patch-ac b/dns/bind84/files/patch-ac new file mode 100644 index 000000000000..b348758fbcd4 --- /dev/null +++ b/dns/bind84/files/patch-ac @@ -0,0 +1,11 @@ +--- src/bin/Makefile.orig Sat Dec 23 00:02:48 2000 ++++ src/bin/Makefile Mon Jan 29 14:11:13 2001 +@@ -58,7 +58,7 @@ + "VER=${VER}" "STRIP=${STRIP}" "PS=${PS}" "INSTALL_LIB=${INSTALL_LIB}" \ + "INSTALL_EXEC=${INSTALL_EXEC}" "BOUNDS=${BOUNDS}" + +-CFLAGS= ${CDEBUG} ++#CFLAGS= ${CDEBUG} + CPPFLAGS= -I${PORTINCL} -I${INCL} + + SUBDIRS = addr nslookup dig dnsquery host named named-xfer ndc nsupdate \ diff --git a/dns/bind84/pkg-descr b/dns/bind84/pkg-descr new file mode 100644 index 000000000000..8bcf2c6349f2 --- /dev/null +++ b/dns/bind84/pkg-descr @@ -0,0 +1,16 @@ +BIND 8 Features + -> DNS Dynamic Updates (RFC 2136) + -> DNS Change Notification (RFC 1996) + -> Completely new configuration syntax + -> Flexible, categorized logging system + -> IP-address-based access control for queries, zone transfers, and + updates that may be specified on a zone-by-zone basis + -> More efficient zone transfers + -> Improved performance for servers with thousands of zones + -> The server no longer forks for outbound zone transfers + -> Many bug fixes + +BIND 8.4.0 Highlights + IPv6 transport support for named, named-xfer and ndc. + +WWW: http://www.isc.org/products/BIND/ diff --git a/dns/bind84/pkg-plist b/dns/bind84/pkg-plist new file mode 100644 index 000000000000..30af5b5fe175 --- /dev/null +++ b/dns/bind84/pkg-plist @@ -0,0 +1,90 @@ +bin/addr +bin/dig +bin/dnskeygen +bin/dnsquery +bin/host +bin/mkservdb +%%FAKE_SBIN%%/nslookup +%%FAKE_SBIN%%/nsupdate +%%INCLUDE_PATH%%/arpa/inet.h +%%INCLUDE_PATH%%/arpa/nameser.h +%%INCLUDE_PATH%%/arpa/nameser_compat.h +%%INCLUDE_PATH%%/hesiod.h +%%INCLUDE_PATH%%/irp.h +%%INCLUDE_PATH%%/irs.h +%%INCLUDE_PATH%%/isc/assertions.h +%%INCLUDE_PATH%%/isc/ctl.h +%%INCLUDE_PATH%%/isc/dst.h +%%INCLUDE_PATH%%/isc/eventlib.h +%%INCLUDE_PATH%%/isc/heap.h +%%INCLUDE_PATH%%/isc/irpmarshall.h +%%INCLUDE_PATH%%/isc/list.h +%%INCLUDE_PATH%%/isc/logging.h +%%INCLUDE_PATH%%/isc/memcluster.h +%%INCLUDE_PATH%%/isc/misc.h +%%INCLUDE_PATH%%/isc/tree.h +%%INCLUDE_PATH%%/netdb.h +%%INCLUDE_PATH%%/res_update.h +%%INCLUDE_PATH%%/resolv.h +%%INCLUDE_PATH%%/sys/bitypes.h +lib/libbind.a +lib/libbind_r.a +libexec/named-xfer +sbin/irpd +sbin/named +sbin/named-bootconf +sbin/ndc +%%PORTDOCS%%%%DOCSDIR%%/CHANGES +%%PORTDOCS%%%%DOCSDIR%%/DNSSEC +%%PORTDOCS%%%%DOCSDIR%%/LICENSE +%%PORTDOCS%%%%DOCSDIR%%/LICENSE_RSA +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/SUPPORT +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%PORTDOCS%%%%DOCSDIR%%/conf/README +%%PORTDOCS%%%%DOCSDIR%%/conf/recursive/keep-running +%%PORTDOCS%%%%DOCSDIR%%/conf/recursive/named-res1.conf +%%PORTDOCS%%%%DOCSDIR%%/conf/recursive/named.conf.rfc1918-stubs +%%PORTDOCS%%%%DOCSDIR%%/conf/recursive/pri/127.0.0 +%%PORTDOCS%%%%DOCSDIR%%/conf/recursive/pri/localhost +%%PORTDOCS%%%%DOCSDIR%%/conf/recursive/root.cache +%%PORTDOCS%%%%DOCSDIR%%/conf/workstation/named.conf +%%PORTDOCS%%%%DOCSDIR%%/conf/workstation/pri/127.0.0 +%%PORTDOCS%%%%DOCSDIR%%/conf/workstation/pri/localhost +%%PORTDOCS%%%%DOCSDIR%%/conf/workstation/root.cache +%%PORTDOCS%%%%DOCSDIR%%/conf/workstation/stub/README +%%PORTDOCS%%%%DOCSDIR%%/html/acl.html +%%PORTDOCS%%%%DOCSDIR%%/html/address_list.html +%%PORTDOCS%%%%DOCSDIR%%/html/comments.html +%%PORTDOCS%%%%DOCSDIR%%/html/config.html +%%PORTDOCS%%%%DOCSDIR%%/html/controls.html +%%PORTDOCS%%%%DOCSDIR%%/html/docdef.html +%%PORTDOCS%%%%DOCSDIR%%/html/example.html +%%PORTDOCS%%%%DOCSDIR%%/html/include.html +%%PORTDOCS%%%%DOCSDIR%%/html/index.html +%%PORTDOCS%%%%DOCSDIR%%/html/key.html +%%PORTDOCS%%%%DOCSDIR%%/html/logging.html +%%PORTDOCS%%%%DOCSDIR%%/html/master.html +%%PORTDOCS%%%%DOCSDIR%%/html/options.html +%%PORTDOCS%%%%DOCSDIR%%/html/server.html +%%PORTDOCS%%%%DOCSDIR%%/html/trusted-keys.html +%%PORTDOCS%%%%DOCSDIR%%/html/zone.html +%%PORTDOCS%%%%DOCSDIR%%/misc/DynamicUpdate +%%PORTDOCS%%%%DOCSDIR%%/misc/FAQ.1of2 +%%PORTDOCS%%%%DOCSDIR%%/misc/FAQ.2of2 +%%PORTDOCS%%%%DOCSDIR%%/misc/rfc2317-notes.txt +%%PORTDOCS%%%%DOCSDIR%%/misc/style.txt +share/misc/nslookup.help +@unexec rmdir %D/%%INCLUDE_PATH%%/arpa 2>/dev/null || true +@unexec rmdir %D/%%INCLUDE_PATH%%/isc 2>/dev/null || true +@unexec rmdir %D/%%INCLUDE_PATH%%/sys 2>/dev/null || true +@unexec rmdir %D/%%INCLUDE_PATH%% 2>/dev/null || true +%%PORTDOCS%%@dirrm %%DOCSDIR%%/conf/recursive/pri +%%PORTDOCS%%@dirrm %%DOCSDIR%%/conf/recursive +%%PORTDOCS%%@dirrm %%DOCSDIR%%/conf/workstation/pri +%%PORTDOCS%%@dirrm %%DOCSDIR%%/conf/workstation/stub +%%PORTDOCS%%@dirrm %%DOCSDIR%%/conf/workstation +%%PORTDOCS%%@dirrm %%DOCSDIR%%/conf +%%PORTDOCS%%@dirrm %%DOCSDIR%%/html +%%PORTDOCS%%@dirrm %%DOCSDIR%%/misc +%%PORTDOCS%%@dirrm %%DOCSDIR%% |