pkgsrc/net/bind912/Makefile
taca d8ca0667da net/bind912: update to 9.12.3pl4
Update bind912 to 9.12.3pl4 (BIND 9.12.3-P4).

	--- 9.12.3-P4 released ---

	--- 9.12.3-P3 released (withdrawn) ---

5141.	[security]	Zone transfer controls for writable DLZ zones were
			not effective as the allowzonexfr method was not being
			called for such zones. (CVE-2019-6465) [GL #790]

	--- 9.12.3-P2 released (withdrawn) ---

5118.	[security]	Named could crash if it is managing a key with
			`managed-keys` and the authoritative zone is rolling
			the key to an unsupported algorithm. (CVE-2018-5745)
			[GL #780]

5110.	[security]	Named leaked memory if there were multiple Key Tag
			EDNS options present. (CVE-2018-5744) [GL #772]
2019-02-22 01:24:24 +00:00

80 lines
2.1 KiB
Makefile

# $NetBSD: Makefile,v 1.9 2019/02/22 01:24:24 taca Exp $
DISTNAME= bind-${BIND_VERSION}
PKGNAME= ${DISTNAME:S/-P/pl/}
CATEGORIES= net
MASTER_SITES= ftp://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.12
LICENSE= mpl-2.0
CONFLICTS+= host-[0-9]*
MAKE_JOBS_SAFE= no
USE_CWRAPPERS= no
BIND_VERSION= 9.12.3-P4
.include "../../mk/bsd.prefs.mk"
BUILD_DEFS+= BIND_DIR VARBASE
.include "options.mk"
USE_TOOLS+= pax perl pkg-config
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-libtool
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
CONFIGURE_ARGS+= --disable-openssl-version-check
CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q}
CONFIGURE_ARGS+= --with-python=no
.if !empty(MACHINE_PLATFORM:MNetBSD-*-m68k) || \
!empty(MACHINE_PLATFORM:MNetBSD-*-mipsel) || \
!empty(MACHINE_PLATFORM:MNetBSD-*-vax)
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 HISTORY OPTIONS 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= share/doc/bind9
RCD_SCRIPTS= named9
SMF_METHODS= named
INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples/bind9
CONF_FILES+= share/examples/bind9/bind.keys \
${PKG_SYSCONFDIR}/bind.keys
INSTALLATION_DIRS+= ${DOCDIR} ${DOCDIR}/arm
post-install:
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${DOCDIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/doc/arm/*.html ${DESTDIR}${PREFIX}/${DOCDIR}/arm
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"