pkgsrc/net/bind910/Makefile
taca 160c8d5a66 Update bind910 to 9.10.3pl4 (BIND 9.10.3-P4), security release.
--- 9.10.3-P4 released ---

4322.	[security]	Duplicate EDNS COOKIE options in a response could
			trigger an assertion failure. (CVE-2016-2088)
			[RT #41809]

4319.	[security]	Fix resolver assertion failure due to improper
			DNAME handling when parsing fetch reply messages.
			(CVE-2016-1286) [RT #41753]

4318.	[security]	Malformed control messages can trigger assertions
			in named and rndc. (CVE-2016-1285) [RT #41666]
2016-03-10 00:48:41 +00:00

79 lines
2 KiB
Makefile

# $NetBSD: Makefile,v 1.18 2016/03/10 00:48:41 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= Berkeley Internet Name Daemon implementation of DNS, version 9.10
CONFLICTS+= host-[0-9]*
MAKE_JOBS_SAFE= no
BIND_VERSION= 9.10.3-P4
.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}
CONFIGURE_ARGS+= --disable-openssl-version-check
CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q}
CONFIGURE_ARGS+= --with-python=no
.if ${MACHINE_PLATFORM:MNetBSD-*-mipsel} != ""
CONFIGURE_ARGS+= --disable-atomic
.endif
.if ${MACHINE_PLATFORM:MNetBSD-*-powerpc} != ""
CONFIGURE_ARGS+= --disable-threads
.endif
CONFIGURE_ARGS.DragonFly+= --disable-kqueue
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}
DOCS= CHANGES FAQ README
FILES_SUBST+= BIND_GROUP=${BIND_GROUP} \
BIND_USER=${BIND_USER} PAX=${PAX:Q} \
SSLBASE=${SSLBASE}
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
SMF_METHODS= named
INSTALLATION_DIRS+= ${DOCDIR} share/doc/bind9/arm
post-install:
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCDIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/doc/arm/*.html ${DOCDIR}/arm
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"