--- 9.16.28 released --- 5856. [bug] The "starting maxtime timer" message related to outgoing zone transfers was incorrectly logged at the ERROR level instead of DEBUG(1). [GL #3208] 5852. [func] Add new "reuseport" option to enable/disable load balancing of sockets. [GL #3249] 5843. [bug] When an UPDATE targets a zone that is not configured, the requested zone name is now logged in the "not authoritative" error message, so that it is easier to track down problematic update clients. [GL #3209] 5836. [bug] Quote the dns64 prefix in error messages that complain about problems with it, to avoid confusion with the following dns64 ACLs. [GL #3210] 5834. [cleanup] C99 variable-length arrays are difficult to use safely, so avoid them except in test code. [GL #3201] 5828. [bug] Replace single TCP write timer with per-TCP write timers. [GL #3200] 5824. [bug] Invalid dnssec-policy definitions were being accepted where the defined keys did not cover both KSK and ZSK roles for a given algorithm. This is now checked for and the dnssec-policy is rejected if both roles are not present for all algorithms in use. [GL #3142]
83 lines
2.1 KiB
Makefile
83 lines
2.1 KiB
Makefile
# $NetBSD: Makefile,v 1.40 2022/04/21 14:14:46 taca Exp $
|
|
|
|
DISTNAME= bind-${BIND_VERSION}
|
|
PKGNAME= ${DISTNAME:S/-P/pl/}
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://ftp.isc.org/isc/bind9/${BIND_VERSION}/
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://www.isc.org/software/bind/
|
|
COMMENT= Berkeley Internet Name Daemon implementation of DNS, version 9.16
|
|
LICENSE= mpl-2.0
|
|
|
|
CONFLICTS+= host-[0-9]*
|
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
BIND_VERSION= 9.16.28
|
|
|
|
BUILD_DEFS+= BIND_DIR VARBASE
|
|
|
|
.include "options.mk"
|
|
|
|
USE_TOOLS+= autoconf pax perl pkg-config
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
CHECK_FILES_SKIP= bin/tests/system/system-test-driver.sh
|
|
MAKE_ENV+= WRKDIR=${WRKDIR} PREFIX=${PREFIX}
|
|
|
|
.if ${OPSYS} == "Linux" && !exists(/usr/include/sys/capability.h)
|
|
CONFIGURE_ARGS+= --disable-linux-caps
|
|
.endif
|
|
|
|
CONFIGURE_ARGS+= --with-libtool
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
|
|
CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q}
|
|
CONFIGURE_ARGS+= --with-python=no
|
|
CONFIGURE_ARGS.DragonFly+= --disable-kqueue
|
|
CONFIGURE_ARGS.SunOS+= --disable-epoll
|
|
|
|
BUILDLINK_TRANSFORM.SunOS+= rm:-zrelax=transtls
|
|
|
|
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}
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && autoconf -f
|
|
|
|
post-install:
|
|
.for f in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${DOCDIR}
|
|
.endfor
|
|
|
|
.include "../../mk/atomic64.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../devel/libuv/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|