# New ports collection makefile for: BIND 9.5.x # Date created: 2 July 2008 # Whom: dougb # # $FreeBSD$ # # I stay very aware of developments with BIND in general, and with # BIND 9 in particular. I frequently delay updating this port from # a known-stable version due to concerns about stability of a newer # version. If you are concerned about using the most recent ISC # release you can generally build it cleanly from the source - Doug PORTNAME= bind95 PORTVERSION= 9.5.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 BIND DNS suite with updated DNSSEC and threads # ISC releases things like 9.4.0b3, which our versioning doesn't like ISCVERSION= 9.5.1-P1 GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=/var --disable-linux-caps \ --with-randomdev=/dev/random CONFLICTS= bind9-9.[346].* bind9-sdb-* host-* OPTIONS= SSL "Building without OpenSSL removes DNSSEC" on \ XML "Support for xml statistics output" 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 .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}/bin/${FILE} .endfor post-install: ${INSTALL_DATA} ${WRKSRC}/bin/rndc/rndc.conf \ ${BIND_DESTETC}/rndc.conf.sample .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR}/arm ${DOCSDIR}/misc ${INSTALL_DATA} ${WRKSRC}/doc/arm/*.html ${DOCSDIR}/arm ${INSTALL_DATA} ${WRKSRC}/doc/arm/Bv9ARM.pdf ${DOCSDIR}/ ${INSTALL_DATA} ${WRKSRC}/doc/misc/[a-z]* ${DOCSDIR}/misc ${CP} ${WRKSRC}/CHANGES ${WRKSRC}/COPYRIGHT ${WRKSRC}/FAQ \ ${WRKSRC}/README ${WRKSRC}/README.idnkit \ ${DOCSDIR}/ .endif @${CAT} ${PKGMESSAGE} .include