# New ports collection makefile for: bind9-sdb-ldap # Date created: 23 June 2005 # Whom: Hugo Meiland # # $FreeBSD$ # PORTNAME= bind9 PORTVERSION= 9.4.3.1 CATEGORIES= dns net ipv6 MASTER_SITES= ${MASTER_SITE_ISC} \ http://dougbarton.us/Downloads/%SUBDIR%/ MASTER_SITE_SUBDIR= bind9/${ISCVERSION} PKGNAMESUFFIX= -sdb-ldap DISTNAME= bind-${ISCVERSION} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.asc EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= Hugo@Meiland.nl COMMENT= The well known Bind9, patched for use of an LDAP based backend USE_OPENLDAP= yes CONFLICTS= bind9-9.* bind9-sdb-postgresql-* host-* skalibs-* # ISC releases things like 9.4.0b3, which our versioning doesn't like ISCVERSION= 9.4.3-P1 GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=/var --disable-linux-caps \ --with-randomdev=/dev/random OPTIONS= SSL "Building without OpenSSL removes DNSSEC" 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 # 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 ${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 @${CAT} ${PKGMESSAGE} .include