# New ports collection makefile for: BIND 9.4.x # Date created: 28 January 2007 # 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= bind94 PORTVERSION= 9.4.4.ESV.2 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 version 9.4-ESV-R1 with updated DNSSEC and threads # ISC releases things like 9.4.0b3, which our versioning doesn't like ISCVERSION= 9.4-ESV-R2 MAKE_JOBS_UNSAFE= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=/var --disable-linux-caps \ --with-randomdev=/dev/random CONFLICTS= bind9*-9.[3567].* bind9-sdb-* host-* OPTIONS= SSL "Building without OpenSSL removes DNSSEC" on \ LINKS "Create conf file symlinks in ${PREFIX}" on \ 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 \ DLZ_POSTGRESQL "DLZ Postgres driver" off \ DLZ_MYSQL "DLZ MySQL driver (single-threaded BIND)" off \ DLZ_BDB "DLZ BDB driver" off \ DLZ_LDAP "DLZ LDAP driver" off \ DLZ_FILESYSTEM "DLZ filesystem driver" off \ DLZ_STUB "DLZ stub driver" off # Just in case USE_OPENSSL= yes .include # 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 \ ${GEOIP_PATCH} .endif post-patch: .for FILE in check/named-checkconf.8 named/named.8 nsupdate/nsupdate.1 \ rndc/rndc.8 @${MV} ${WRKSRC}/bin/${FILE} ${WRKSRC}/bin/${FILE}.Dist @${SED} -e 's#/etc/named.conf#${BIND_DESTETC}/named.conf#g' \ -e 's#/etc/rndc.conf#${BIND_DESTETC}/rndc.conf#g' \ ${WRKSRC}/bin/${FILE}.Dist > ${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 ${DOCSDIR}/ .endif .if !defined(WITHOUT_LINKS) && !defined(WITH_REPLACE_BASE) ${MKDIR} /var/named${PREFIX}/etc .for DIR in ${PREFIX}/etc /var/named${PREFIX}/etc .for FILE in named.conf rndc.key ${LN} -sf /etc/namedb/${FILE} ${DIR}/${FILE} .endfor .endfor .endif @${CAT} ${PKGMESSAGE} .include