Skip to content

Commit

Permalink
dns/bind918: move dnstap-read to bind-tools
Browse files Browse the repository at this point in the history
PR:		279050
Reported by:	freebsd rail eu org
  • Loading branch information
mat813 committed May 18, 2024
1 parent 3ac6651 commit 0663811
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 6 deletions.
3 changes: 2 additions & 1 deletion dns/bind-tools/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ bin/dnssec-revoke
bin/dnssec-settime
bin/dnssec-signzone
bin/dnssec-verify
%%DNSTAP%%bin/dnstap-read
bin/host
bin/mdig
bin/named-rrchecker
Expand Down Expand Up @@ -42,7 +43,7 @@ share/man/man1/dnssec-revoke.1.gz
share/man/man1/dnssec-settime.1.gz
share/man/man1/dnssec-signzone.1.gz
share/man/man1/dnssec-verify.1.gz
@comment share/man/man1/dnstap-read.1.gz
%%DNSTAP%%share/man/man1/dnstap-read.1.gz
share/man/man1/host.1.gz
share/man/man1/mdig.1.gz
@comment share/man/man1/named-checkconf.1.gz
Expand Down
6 changes: 3 additions & 3 deletions dns/bind918/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ PORTNAME= bind
DISTVERSION= 9.18.27
.if defined(BIND_TOOLS_SLAVE)
# dns/bind-tools here
PORTREVISION= 0
PORTREVISION= 1
.else
# dns/bind918 here
PORTREVISION= 0
PORTREVISION= 1
.endif
CATEGORIES= dns net
MASTER_SITES= ISC/bind9/${DISTVERSION}
Expand Down Expand Up @@ -87,7 +87,7 @@ OPTIONS_SINGLE= GSSAPI
OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_NONE

.if defined(BIND_TOOLS_SLAVE)
OPTIONS_EXCLUDE= DNSTAP DOCS GEOIP LMDB \
OPTIONS_EXCLUDE= DOCS GEOIP LMDB \
OVERRIDECACHE QUERYTRACE START_LATE \
TCP_FASTOPEN
.endif # BIND_TOOLS_SLAVE
Expand Down
22 changes: 22 additions & 0 deletions dns/bind918/files/extrapatch-no-bind-tools
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,25 @@ Exclude the "tools" from building and installing.

arpaname_LDADD = \
$(LIBISC_LIBS)
@@ -27,21 +23,6 @@
$(LIBISCCFG_LIBS) \
$(LIBDNS_LIBS) \
$(LIBISC_LIBS)
-
-if HAVE_DNSTAP
-bin_PROGRAMS += \
- dnstap-read
-
-dnstap_read_CPPFLAGS = \
- $(AM_CPPFLAGS) \
- $(DNSTAP_CFLAGS) \
- -I$(top_builddir)/lib/dns
-
-dnstap_read_LDADD = \
- $(LIBDNS_LIBS) \
- $(LIBISC_LIBS) \
- $(DNSTAP_LIBS)
-endif

if HAVE_LMDB
bin_PROGRAMS += \
3 changes: 1 addition & 2 deletions dns/bind918/pkg-plist
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
%%DNSTAP%%bin/dnstap-read
bin/named-checkconf
bin/named-checkzone
bin/named-compilezone
Expand Down Expand Up @@ -266,7 +265,7 @@ lib/libns-9.18.27.so
@comment share/man/man1/dnssec-settime.1.gz
@comment share/man/man1/dnssec-signzone.1.gz
@comment share/man/man1/dnssec-verify.1.gz
%%DNSTAP%%share/man/man1/dnstap-read.1.gz
@comment share/man/man1/dnstap-read.1.gz
@comment share/man/man1/host.1.gz
@comment share/man/man1/mdig.1.gz
share/man/man1/named-checkconf.1.gz
Expand Down

0 comments on commit 0663811

Please sign in to comment.