dnsdist: make dnstap support (and with it the libfstrm dep) optional
Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
This commit is contained in:
parent
6d8fb2091c
commit
174ac452a3
1 changed files with 8 additions and 2 deletions
|
@ -74,6 +74,12 @@ menu "Configuration"
|
||||||
help
|
help
|
||||||
"Enable RE2 support for dnsdist"
|
"Enable RE2 support for dnsdist"
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
config DNSDIST_DNSTAP
|
||||||
|
bool "DNSTAP support"
|
||||||
|
help
|
||||||
|
"Enable DNSTAP support for dnsdist"
|
||||||
|
default y
|
||||||
endmenu
|
endmenu
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -88,10 +94,10 @@ define Package/dnsdist
|
||||||
+DNSDIST_OPENSSL:libopenssl \
|
+DNSDIST_OPENSSL:libopenssl \
|
||||||
+DNSDIST_NET_SNMP:libnetsnmp \
|
+DNSDIST_NET_SNMP:libnetsnmp \
|
||||||
+DNSDIST_RE2:re2 \
|
+DNSDIST_RE2:re2 \
|
||||||
|
+DNSDIST_DNSTAP:libfstrm \
|
||||||
+libatomic \
|
+libatomic \
|
||||||
+libcap \
|
+libcap \
|
||||||
+libedit \
|
+libedit \
|
||||||
+libfstrm \
|
|
||||||
+libsodium \
|
+libsodium \
|
||||||
+libstdcpp \
|
+libstdcpp \
|
||||||
+lmdb \
|
+lmdb \
|
||||||
|
@ -125,10 +131,10 @@ TARGET_CXX+=-std=c++17
|
||||||
CONFIGURE_ARGS+= \
|
CONFIGURE_ARGS+= \
|
||||||
--enable-option-checking=fatal \
|
--enable-option-checking=fatal \
|
||||||
--enable-dnscrypt \
|
--enable-dnscrypt \
|
||||||
--enable-dnstap \
|
|
||||||
--with-libsodium \
|
--with-libsodium \
|
||||||
--with-pic \
|
--with-pic \
|
||||||
--with-lua=lua \
|
--with-lua=lua \
|
||||||
|
$(if $(CONFIG_DNSDIST_DNSTAP),--enable-dnstap=yes,--enable-dnstap=no) \
|
||||||
$(if $(CONFIG_DNSDIST_RE2),--with,--without)-re2 \
|
$(if $(CONFIG_DNSDIST_RE2),--with,--without)-re2 \
|
||||||
$(if $(CONFIG_DNSDIST_NET_SNMP),--with,--without)-net-snmp \
|
$(if $(CONFIG_DNSDIST_NET_SNMP),--with,--without)-net-snmp \
|
||||||
$(if $(CONFIG_DNSDIST_GNUTLS),--with,--without)-gnutls \
|
$(if $(CONFIG_DNSDIST_GNUTLS),--with,--without)-gnutls \
|
||||||
|
|
Loading…
Reference in a new issue