3238e40a0e
Update bind916 to 9.16.10 (BIND 9.16.10). pkgsrc changes: * Make blocklist/blacklist support really compiled in. * Fix build problem with pkcs11 PKG_OPTIONS and allow to use it. --- 9.16.10 released --- 5544. [func] Restore the default value of "nocookie-udp-size" to 4096 bytes. [GL #2250] 5541. [func] Adjust the "max-recursion-queries" default from 75 to 100. [GL #2305] 5540. [port] Fix building with native PKCS#11 support for AEP Keyper. [GL #2315] 5539. [bug] Tighten handling of missing DNS COOKIE responses over UDP by falling back to TCP. [GL #2275] 5538. [func] Add NSEC3 support to KASP. A new option for "dnssec-policy", "nsec3param", can be used to set the desired NSEC3 parameters. NSEC3 salt collisions are automatically prevented during resalting. Salt generation is now logged with zone context. [GL #1620] 5534. [bug] The CNAME synthesized from a DNAME was incorrectly followed when the QTYPE was CNAME or ANY. [GL #2280]
154 lines
4 KiB
Makefile
154 lines
4 KiB
Makefile
# $NetBSD: options.mk,v 1.4 2020/12/19 16:41:36 taca Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.bind916
|
|
PKG_SUPPORTED_OPTIONS= bind-dig-sigchase bind-xml-statistics-server
|
|
PKG_SUPPORTED_OPTIONS+= bind-json-statistics-server blacklist blocklist
|
|
PKG_SUPPORTED_OPTIONS+= threads readline lmdb mysql pgsql ldap dlz-filesystem
|
|
PKG_SUPPORTED_OPTIONS+= geoip tuning dnstap pkcs11
|
|
PKG_SUGGESTED_OPTIONS+= readline
|
|
|
|
PLIST_VARS+= dnstap lmdb pkcs11
|
|
|
|
PTHREAD_OPTS+= native
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none") || \
|
|
!empty(MACHINE_PLATFORM:MNetBSD-*-vax) || \
|
|
!empty(MACHINE_PLATFORM:MNetBSD-*-sparc) || \
|
|
!empty(MACHINE_PLATFORM:MNetBSD-*-sparc64) || \
|
|
!empty(MACHINE_PLATFORM:MNetBSD-*-m68k)
|
|
# don't touch PKG_SUGGESTED_OPTIONS
|
|
.else
|
|
PKG_SUGGESTED_OPTIONS+= threads
|
|
.endif
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
. if exists(/usr/include/blacklist.h)
|
|
PKG_SUGGESTED_OPTIONS+= blacklist
|
|
. elif exists(/usr/include/blocklist.h)
|
|
PKG_SUGGESTED_OPTIONS+= blocklist
|
|
. endif
|
|
.endif
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
###
|
|
### The mysql pgsql ldap dlz-filesystem options are all for BIND
|
|
### DLZ (Dynamically Loadable Zones) functionality
|
|
###
|
|
### NOTE: bdb is excluded on purpose as pkgsrc does not contain
|
|
### a bdb v4.1 or 4.2 package which is what BIND needs.
|
|
### The majority of these are compile tested only
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mlmdb)
|
|
.include "../../databases/lmdb/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-lmdb=${PREFIX}
|
|
PLIST.lmdb= yes
|
|
.else
|
|
CONFIGURE_ARGS+= --with-lmdb=no
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mmysql)
|
|
.include "../../mk/mysql.buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-dlz-mysql=${BUILDLINK_PREFIX.mysql-client}
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mpgsql)
|
|
.include "../../mk/pgsql.buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-dlz-postgres=${BUILDLINK_PREFIX.${PGSQL_TYPE}}
|
|
CONFIGURE_ENV+= ac_cv_path_PG_CONFIG=${PREFIX}/bin/pg_config
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mldap)
|
|
.include "../../databases/openldap-client/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-dlz-ldap=${BUILDLINK_PREFIX.openldap-client}
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mdlz-filesystem)
|
|
CONFIGURE_ARGS+= --with-dlz-filesystem
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mblacklist)
|
|
CONFIGURE_ARGS+= --with-blacklist=yes
|
|
.else
|
|
CONFIGURE_ARGS+= --with-blacklist=no
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mblocklist)
|
|
CONFIGURE_ARGS+= --with-blocklist=yes
|
|
.else
|
|
CONFIGURE_ARGS+= --with-blocklist=no
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mgeoip)
|
|
CONFIGURE_ARGS+= --with-geoip=${PREFIX}
|
|
LDFLAGS+= -lGeoIP
|
|
.include "../../net/GeoIP/buildlink3.mk"
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mpkcs11)
|
|
CONFIGURE_ARGS+= --enable-native-pkcs11
|
|
PLIST.pkcs11= yes
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-native-pkcs11
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mtuning)
|
|
CONFIGURE_ARGS+= --with-tuning=large
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mdnstap)
|
|
CONFIGURE_ARGS+= --enable-dnstap
|
|
PLIST.dnstap= yes
|
|
.include "../../net/fstrm/buildlink3.mk"
|
|
.include "../../devel/protobuf/buildlink3.mk"
|
|
.include "../../devel/protobuf-c/buildlink3.mk"
|
|
.endif
|
|
|
|
###
|
|
### The statistics server in bind99 and later needs libxml2
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mbind-xml-statistics-server)
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-libxml2
|
|
LDFLAGS+= -lxml2
|
|
.else
|
|
CONFIGURE_ARGS+= --without-libxml2
|
|
.endif
|
|
|
|
###
|
|
### The statistics server in bind911 and later supports json
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mbind-json-statistics-server)
|
|
.include "../../textproc/json-c/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-libjson
|
|
.else
|
|
CONFIGURE_ARGS+= --without-libjson
|
|
.endif
|
|
|
|
###
|
|
### pthreads support (also see magic above)
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mthreads)
|
|
PTHREAD_AUTO_VARS= yes
|
|
.endif
|
|
|
|
###
|
|
### readline support in dig(1) and nsupdate(1).
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mreadline)
|
|
.include "../../mk/readline.buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-readline
|
|
.else
|
|
CONFIGURE_ARGS+= --without-readline
|
|
.endif
|
|
|
|
###
|
|
### dig(1) option +sigchase for DNSSEC signature chasing
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mbind-dig-sigchase)
|
|
# If anything else needs to add entries to STD_CDEFINES, this will need
|
|
# to be changed so that the two can cooperate.
|
|
CONFIGURE_ENV+= STD_CDEFINES=-DDIG_SIGCHASE=1
|
|
.endif
|