From 5e23e2bb05a0d4026285389fe6929f229504b2b4 Mon Sep 17 00:00:00 2001 From: Doug Barton Date: Fri, 2 Apr 2010 02:46:11 +0000 Subject: Add bind-tools: The user space command line tools from the latest version of BIND: dig, host, and nslookup WWW: https://www.isc.org/software/bind --- dns/bind-tools/Makefile | 114 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 dns/bind-tools/Makefile (limited to 'dns/bind-tools/Makefile') diff --git a/dns/bind-tools/Makefile b/dns/bind-tools/Makefile new file mode 100644 index 000000000000..acb28e5bff12 --- /dev/null +++ b/dns/bind-tools/Makefile @@ -0,0 +1,114 @@ +# New ports collection makefile for: BIND Tools +# Date created: 1 April 2010 +# Whom: dougb +# +# $FreeBSD$ +# + +PORTNAME= bind-tools +PORTVERSION= 9.7.0.1 +CATEGORIES= dns net ipv6 +MASTER_SITES= ${MASTER_SITE_ISC} \ + http://dougbarton.us/Downloads/%SUBDIR%/ +MASTER_SITE_SUBDIR= bind9/${ISCVERSION} +DISTNAME= bind-${ISCVERSION} +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.asc +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} + +MAINTAINER= dougb@FreeBSD.org +COMMENT= The command line tools from BIND: dig, host, and nslookup + +# ISC releases things like 9.4.0b3, which our versioning doesn't like +ISCVERSION= 9.7.0-P1 + +MAKE_JOBS_UNSAFE= yes + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --localstatedir=/var --disable-linux-caps \ + --disable-symtable \ + --disable-shared \ + --with-randomdev=/dev/random + +CONFLICTS= bind9*-9.[34567].* bind9-sdb-* host-* + +OPTIONS= SSL "Building without OpenSSL removes DNSSEC" on \ + IDN "Add IDN support to dig, host, etc." off \ + REPLACE_BASE "Replace base BIND with this version" off \ + LARGE_FILE "64-bit file support" off \ + SIGCHASE "dig/host/nslookup will do DNSSEC validation" off \ + IPV6 "IPv6 Support (autodetected by default)" off + +# Just in case +USE_OPENSSL= yes + +PLIST_FILES= bin/dig bin/host bin/nslookup + +.include + +.if (${ARCH} == "amd64") +ARCH= x86_64 +.endif + +# We are ok by default from 7.0-RELEASE on +.if ${OSVERSION} >= 700055 +OPTIONS+= THREADS "Compile with thread support" on +.else +OPTIONS+= THREADS "Compile w/threads (Not Recommended ${WRKSRC}/Makefile.in + @${MV} ${WRKSRC}/bin/Makefile.in ${WRKSRC}/bin/Makefile.in.presed + @${SED} -e 's#^SUBDIRS.*#SUBDIRS = dig#' \ + -e 's#^ .*check confgen ##' \ + ${WRKSRC}/bin/Makefile.in.presed > ${WRKSRC}/bin/Makefile.in + +do-install: +.for file in dig host nslookup + ${INSTALL_PROGRAM} ${WRKSRC}/bin/dig/${file} ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/bin/dig/${file}.1 ${MANPREFIX}/man/man1 +.endfor + +.include -- cgit v1.2.3