pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/bind912 Add a "dnstap" option, defaults to off.
details: https://anonhg.NetBSD.org/pkgsrc/rev/f0fa71507e6f
branches: trunk
changeset: 317947:f0fa71507e6f
user: he <he%pkgsrc.org@localhost>
date: Thu Jan 17 08:53:37 2019 +0000
description:
Add a "dnstap" option, defaults to off.
Bump PKGREVISION.
diffstat:
net/bind912/Makefile | 3 ++-
net/bind912/PLIST | 5 ++++-
net/bind912/options.mk | 14 +++++++++++---
3 files changed, 17 insertions(+), 5 deletions(-)
diffs (81 lines):
diff -r 89c5f9af201e -r f0fa71507e6f net/bind912/Makefile
--- a/net/bind912/Makefile Thu Jan 17 08:45:36 2019 +0000
+++ b/net/bind912/Makefile Thu Jan 17 08:53:37 2019 +0000
@@ -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 -r 89c5f9af201e -r f0fa71507e6f net/bind912/PLIST
--- a/net/bind912/PLIST Thu Jan 17 08:45:36 2019 +0000
+++ b/net/bind912/PLIST Thu Jan 17 08:53:37 2019 +0000
@@ -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/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/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-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 -r 89c5f9af201e -r f0fa71507e6f net/bind912/options.mk
--- a/net/bind912/options.mk Thu Jan 17 08:45:36 2019 +0000
+++ b/net/bind912/options.mk Thu Jan 17 08:53:37 2019 +0000
@@ -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+= --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
###
Home |
Main Index |
Thread Index |
Old Index