# New ports collection makefile for: BIND 9.7.x # Date created: 13 December 2009 # Whom: dougb # # $FreeBSD$ # PORTNAME= bind97 PORTVERSION= 9.7.2.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 with updated DNSSEC and threads # ISC releases things like 9.4.0b3, which our versioning doesn't like ISCVERSION= 9.7.2-P2 MAKE_JOBS_UNSAFE= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=/var --disable-linux-caps \ --disable-symtable \ --with-randomdev=/dev/random CONFLICTS= bind9*-9.[3456].* bind9-sdb-* host-* OPTIONS= SSL "Building without OpenSSL removes DNSSEC" on \ LINKS "Create conf file symlinks in ${PREFIX}" 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 \ 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 .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 @${MV} ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in.Dist @${SED} -e 's#.*bind\.keys.*##' ${WRKSRC}/Makefile.in.Dist > \ ${WRKSRC}/Makefile.in @${MV} ${WRKSRC}/bin/named/Makefile.in ${WRKSRC}/bin/named/Makefile.in.Dist @${SED} -e 's/$${PERL}/#/' -e 's/bind.keys.h/#/g' -e 's/bind9.xsl.h/#/g' \ ${WRKSRC}/bin/named/Makefile.in.Dist > \ ${WRKSRC}/bin/named/Makefile.in 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 AuthorAgeFilesLines