summaryrefslogtreecommitdiff
path: root/dns/bind-tools
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2010-12-03 19:40:17 +0000
committerDoug Barton <dougb@FreeBSD.org>2010-12-03 19:40:17 +0000
commiteba4de052c6efc2a8aadb170e40fa4885dacce69 (patch)
treedaf3bf82d2c15d8b41a9317ebbdc86489ec9e49a /dns/bind-tools
parentConvert this to a master port for ../bind-tools (diff)
This is now a proper slave port to the latest version, atm ../bind97
Notes
Notes: svn path=/head/; revision=265636
Diffstat (limited to 'dns/bind-tools')
-rw-r--r--dns/bind-tools/Makefile85
-rw-r--r--dns/bind-tools/distinfo6
-rw-r--r--dns/bind-tools/pkg-plist3
3 files changed, 10 insertions, 84 deletions
diff --git a/dns/bind-tools/Makefile b/dns/bind-tools/Makefile
index a780a28bd706..b225b71b7ea0 100644
--- a/dns/bind-tools/Makefile
+++ b/dns/bind-tools/Makefile
@@ -6,93 +6,22 @@
#
PORTNAME= bind-tools
-PORTVERSION= 9.7.1.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.1-P1
+CONFIGURE_ARGS+= --disable-shared
-MAKE_JOBS_UNSAFE= yes
+CONFLICTS+= bind97-9.7.*
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --localstatedir=/var --disable-linux-caps \
- --disable-symtable \
- --disable-shared \
- --with-randomdev=/dev/random
+MASTERDIR= ${.CURDIR}/../../dns/bind97
-CONFLICTS= bind9*-9.[34567].* bind9-sdb-* host-*
+DESCR= ${.CURDIR}/pkg-descr
+PLIST= ${.CURDIR}/pkg-plist
-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 <bsd.port.pre.mk>
-
-.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 <FreeBSD-7)" off
-.endif
-
-.if !defined(WITHOUT_SSL)
-CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE}
-.else
-CONFIGURE_ARGS+= --disable-openssl-version-check
-CONFIGURE_ARGS+= --without-openssl
-.endif
-
-.if defined(WITH_IDN)
-CONFIGURE_ARGS+= --with-idn=${LOCALBASE} --with-libiconv=${LOCALBASE}
-LIB_DEPENDS+= idnkit.1:${PORTSDIR}/dns/idnkit
-.else
-CONFIGURE_ARGS+= --without-idn
-.endif
-
-.if defined(WITH_LARGE_FILE)
-CONFIGURE_ARGS+= --enable-largefile
-.endif
-
-.if defined(WITH_SIGCHASE)
-CONFIGURE_ARGS+= STD_CDEFINES="-DDIG_SIGCHASE=1"
-.endif
-
-.if defined(WITH_IPV6)
-CONFIGURE_ARGS+= --enable-ipv6
-.endif
-
-.if defined(WITH_REPLACE_BASE)
-PKGNAMESUFFIX= -base
-PREFIX= /usr
-CONFIGURE_ARGS+= --prefix=${PREFIX}
-.endif
+BIND_TOOLS_SLAVE= YES
MAN1= dig.1 host.1 nslookup.1
-verify: checksum
- gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.asc
-
post-patch:
@${MV} ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in.presed
@${SED} -e 's#^SUBDIRS.*#SUBDIRS = lib bin#' \
@@ -111,4 +40,4 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/bin/dig/${file}.1 ${MANPREFIX}/man/man1
.endfor
-.include <bsd.port.post.mk>
+.include "${MASTERDIR}/Makefile"
diff --git a/dns/bind-tools/distinfo b/dns/bind-tools/distinfo
deleted file mode 100644
index 8858257ee7b8..000000000000
--- a/dns/bind-tools/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 (bind-9.7.1-P1.tar.gz) = d36f9be9707f8741c0c1c8036e7d05ad
-SHA256 (bind-9.7.1-P1.tar.gz) = d2a305256259e7a44f379b9a6d145dee8de24d57982489527ab47bf2186fd65d
-SIZE (bind-9.7.1-P1.tar.gz) = 7548893
-MD5 (bind-9.7.1-P1.tar.gz.asc) = 37166972d89740d40a2f87c87dc1431e
-SHA256 (bind-9.7.1-P1.tar.gz.asc) = d233e699a3509a6f664079b5147c3e04d5d59f5fdbe4b4c1d38310fad284b564
-SIZE (bind-9.7.1-P1.tar.gz.asc) = 480
diff --git a/dns/bind-tools/pkg-plist b/dns/bind-tools/pkg-plist
new file mode 100644
index 000000000000..613de606e8a5
--- /dev/null
+++ b/dns/bind-tools/pkg-plist
@@ -0,0 +1,3 @@
+bin/dig
+bin/host
+bin/nslookup