pkgsrc/net/bind96/Makefile
taca f586d099a2 Update bind96 package to 9.6.3.
9.6.3

     * BIND now builds with threads disabled in versions of NetBSD earlier
       than 5.0 and with pthreads enabled by default in NetBSD versions
       5.0 and higher. Also removes support for unproven-pthreads,
       mit-pthreads and ptl2. [RT #19203]
     * HPUX now correctly defaults to using /dev/poll, which should
       increase performance. [RT #21919]
     * If named is running as a threaded application, after an "rndc stop"
       command has been issued, other inbound TCP requests can cause named
       to hang and never complete shutdown. [RT #22108]
     * When performing a GSS-TSIG signed dynamic zone update, memory could
       be leaked. This causes an unclean shutdown and may affect
       long-running servers. [RT #22573]
     * A bug in NetBSD and FreeBSD kernels with SO_ACCEPTFILTER enabled
       allows for a TCP DoS attack. Until there is a kernel fix, ISC is
       disabling SO_ACCEPTFILTER support in BIND. [RT #22589]
     * Corrected a defect where a combination of dynamic updates and zone
       transfers incorrectly locked the in-memory zone database, causing
       named to freeze. [RT #22614]
     * Don't run MX checks (check-mx) when the MX record points to ".".
       [RT #22645]
     * DST key reference counts can now be incremented via dst_key_attach.
       [RT #22672]
     * isc_mutex_init_errcheck() in phtreads/mutex.c failed to destroy
       attr. [RT #22766]
     * The Kerberos realm was being truncated when being pulled from the
       the host prinicipal, make krb5-self updates fail. [RT #22770]
     * named failed to preserve the case of domain names in RDATA which is
       not compressible when writing master files. [RT #22863]
     * There was a bug in how the clients-per-query code worked with some
       query patterns. This could result, in rare circumstances, in having
       all the client query slots filled with queries for the same DNS
       label, essentially ignoring the max-clients-per-query setting. [RT
       #22972]
2011-02-09 16:24:14 +00:00

84 lines
2.2 KiB
Makefile

# $NetBSD: Makefile,v 1.18 2011/02/09 16:24:14 taca Exp $
DISTNAME= bind-${BIND_VERSION}
PKGNAME= ${DISTNAME:S/-P/pl/}
CATEGORIES= net
MASTER_SITES= ftp://ftp.isc.org/isc/bind9/${BIND_VERSION}/ \
http://ftp.belnet.be/pub/mirror/ftp.isc.org/isc/bind9/${BIND_VERSION}/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.isc.org/software/bind
COMMENT= Version 9 of the Berkeley Internet Name Daemon, implementation of DNS
CONFLICTS+= bind<9.6.0
PKG_DESTDIR_SUPPORT= user-destdir
MAKE_JOBS_SAFE= no
BIND_VERSION= 9.6.3
.include "../../mk/bsd.prefs.mk"
BUILD_DEFS+= BIND_DIR VARBASE
.include "options.mk"
USE_TOOLS+= pax perl
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
#CONFIG_SHELL= sh -x
CONFIGURE_ARGS+= --with-libtool
CONFIGURE_ARGS+= --sysconfdir=/etc
CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
CONFIGURE_ARGS+= --disable-openssl-version-check
CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q}
.if ${MACHINE_PLATFORM:MNetBSD-*-mipsel} != ""
CONFIGURE_ARGS+= --disable-atomic
.endif
.if ${MACHINE_PLATFORM:MNetBSD-*-powerpc} != ""
CONFIGURE_ARGS+= --disable-threads
.endif
.if ${OPSYS} == "DragonFly"
CONFIGURE_ARGS+= --disable-kqueue
.endif
PKG_GROUPS_VARS+= BIND_GROUP
PKG_USERS_VARS+= BIND_USER
PKG_GROUPS= ${BIND_GROUP}
PKG_USERS= ${BIND_USER}:${BIND_GROUP}
PKG_GECOS.${BIND_USER}= Named pseudo-user
PKG_HOME.${BIND_USER}= ${BIND_DIR}
PTHREAD_OPTS+= native
PTHREAD_AUTO_VARS= yes
FILES_SUBST+= BIND_GROUP=${BIND_GROUP:Q} \
BIND_USER=${BIND_USER:Q} PAX=${PAX:Q}
MESSAGE_SUBST+= BIND_DIR=${BIND_DIR} BIND_USER=${BIND_USER}
DOCDIR= ${DESTDIR}${PREFIX}/share/doc/bind9
# include/isc/ipv6.h is installed on non-ipv6 platforms
PLIST_VARS+= inet6
.if !empty(MISSING_FEATURES:Minet6)
PLIST.inet6= yes
.endif
RCD_SCRIPTS= lwresd named9
INSTALLATION_DIRS= ${DOCDIR} share/doc/bind9/arm share/doc/bind9/draft \
share/doc/bind9/rfc
post-install:
${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/NSEC3-NOTES ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/doc/arm/*.html ${DOCDIR}/arm
${INSTALL_DATA} ${WRKSRC}/doc/arm/*.html ${DOCDIR}/arm
${INSTALL_DATA} ${WRKSRC}/doc/draft/draft-*.txt ${DOCDIR}/draft
${INSTALL_DATA} ${WRKSRC}/doc/rfc/rfc*.txt ${DOCDIR}/rfc
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"