summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2019-01-17 08:53:37 +0000
committerhe <he@pkgsrc.org>2019-01-17 08:53:37 +0000
commit87dee73e3b791a1db30f4988053438fbd5ff8778 (patch)
tree6a283a1e187aa0e73478386d9f26ef0724a2b030 /net
parenteee8b888a01a1ee022b4e3734b734322d9d5deb7 (diff)
downloadpkgsrc-87dee73e3b791a1db30f4988053438fbd5ff8778.tar.gz
Add a "dnstap" option, defaults to off.
Bump PKGREVISION.
Diffstat (limited to 'net')
-rw-r--r--net/bind912/Makefile3
-rw-r--r--net/bind912/PLIST5
-rw-r--r--net/bind912/options.mk14
3 files changed, 17 insertions, 5 deletions
diff --git a/net/bind912/Makefile b/net/bind912/Makefile
index 3edcb76191d..a8d033b812c 100644
--- a/net/bind912/Makefile
+++ b/net/bind912/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2018/12/15 16:40:20 taca Exp $
+# $NetBSD: Makefile,v 1.8 2019/01/17 08:53:37 he Exp $
DISTNAME= bind-${BIND_VERSION}
PKGNAME= ${DISTNAME:S/-P/pl/}
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.isc.org/isc/bind9/${BIND_VERSION}/
diff --git a/net/bind912/PLIST b/net/bind912/PLIST
index 38fc6f78a21..0e4295676e0 100644
--- a/net/bind912/PLIST
+++ b/net/bind912/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2018/09/09 13:16:01 taca Exp $
+@comment $NetBSD: PLIST,v 1.2 2019/01/17 08:53:37 he Exp $
bin/arpaname
bin/bind9-config
bin/delv
@@ -9,6 +9,7 @@ bin/mdig
bin/named-rrchecker
bin/nslookup
bin/nsupdate
+${PLIST.dnstap}bin/dnstap-read
include/bind9/check.h
include/bind9/getaddresses.h
include/bind9/version.h
@@ -35,6 +36,7 @@ include/dns/dns64.h
include/dns/dnsrps.h
include/dns/dnssec.h
include/dns/dnstap.h
+${PLIST.dnstap}include/dns/dnstap.pb-c.h
include/dns/ds.h
include/dns/dsdigest.h
include/dns/dyndb.h
@@ -310,6 +312,7 @@ ${PLIST.pkcs11}man/man8/pkcs11-destroy.8
${PLIST.pkcs11}man/man8/pkcs11-keygen.8
${PLIST.pkcs11}man/man8/pkcs11-list.8
${PLIST.pkcs11}man/man8/pkcs11-tokens.8
+${PLIST.dnstap}man/man1/dnstap-read.1
man/man8/rndc-confgen.8
man/man8/rndc.8
man/man8/tsig-keygen.8
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
###