Skip to content

Commit a684a1d

Browse files
authored
knot-dns: add support for dnstap (#344150)
2 parents 493864d + 54cf551 commit a684a1d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkgs/servers/dns/knot-dns/default.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{ lib, stdenv, fetchurl, pkg-config, gnutls, liburcu, lmdb, libcap_ng, libidn2, libunistring
22
, systemd, nettle, libedit, zlib, libiconv, libintl, libmaxminddb, libbpf, nghttp2, libmnl
33
, ngtcp2-gnutls, xdp-tools
4+
, fstrm, protobufc
45
, sphinx
56
, autoreconfHook
67
, nixosTests, knot-resolver, knot-dns, runCommandLocal
@@ -21,6 +22,7 @@ stdenv.mkDerivation rec {
2122
"--with-configdir=/etc/knot"
2223
"--with-rundir=/run/knot"
2324
"--with-storage=/var/lib/knot"
25+
"--with-module-dnstap" "--enable-dnstap"
2426
];
2527

2628
patches = [
@@ -40,7 +42,7 @@ stdenv.mkDerivation rec {
4042
ngtcp2-gnutls # DoQ support in kdig (and elsewhere but not much use there yet)
4143
libmaxminddb # optional for geoip module (it's tiny)
4244
# without sphinx &al. for developer documentation
43-
# TODO: add dnstap support?
45+
fstrm protobufc # dnstap support
4446
] ++ lib.optionals stdenv.isLinux [
4547
libcap_ng systemd
4648
xdp-tools libbpf libmnl # XDP support (it's Linux kernel API)

0 commit comments

Comments
 (0)