summaryrefslogtreecommitdiff
path: root/net/bind912/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'net/bind912/options.mk')
-rw-r--r--net/bind912/options.mk14
1 files changed, 11 insertions, 3 deletions
diff --git a/net/bind912/options.mk b/net/bind912/options.mk
index 015b735ddb1..78a39d34a6b 100644
--- a/net/bind912/options.mk
+++ b/net/bind912/options.mk
@@ -1,13 +1,13 @@
-# $NetBSD: options.mk,v 1.2 2018/10/24 11:10:31 jperkin Exp $
+# $NetBSD: options.mk,v 1.3 2019/01/17 08:53:37 he Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.bind912
PKG_SUPPORTED_OPTIONS= bind-dig-sigchase bind-xml-statistics-server
PKG_SUPPORTED_OPTIONS+= bind-json-statistics-server
PKG_SUPPORTED_OPTIONS+= inet6 threads readline mysql pgsql ldap dlz-filesystem
-PKG_SUPPORTED_OPTIONS+= fetchlimit geoip pkcs11 sit tuning
+PKG_SUPPORTED_OPTIONS+= fetchlimit geoip pkcs11 sit tuning dnstap
PKG_SUGGESTED_OPTIONS+= readline
-PLIST_VARS+= inet6 pkcs11
+PLIST_VARS+= inet6 pkcs11 dnstap
PTHREAD_OPTS+= native
.include "../../mk/pthread.buildlink3.mk"
@@ -82,6 +82,14 @@ CONFIGURE_ARGS+= --enable-sit
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
###