mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
knot-dns: add support for dnstap (#344150)
This commit is contained in:
commit
a684a1d764
@ -1,6 +1,7 @@
|
||||
{ lib, stdenv, fetchurl, pkg-config, gnutls, liburcu, lmdb, libcap_ng, libidn2, libunistring
|
||||
, systemd, nettle, libedit, zlib, libiconv, libintl, libmaxminddb, libbpf, nghttp2, libmnl
|
||||
, ngtcp2-gnutls, xdp-tools
|
||||
, fstrm, protobufc
|
||||
, sphinx
|
||||
, autoreconfHook
|
||||
, nixosTests, knot-resolver, knot-dns, runCommandLocal
|
||||
@ -21,6 +22,7 @@ stdenv.mkDerivation rec {
|
||||
"--with-configdir=/etc/knot"
|
||||
"--with-rundir=/run/knot"
|
||||
"--with-storage=/var/lib/knot"
|
||||
"--with-module-dnstap" "--enable-dnstap"
|
||||
];
|
||||
|
||||
patches = [
|
||||
@ -40,7 +42,7 @@ stdenv.mkDerivation rec {
|
||||
ngtcp2-gnutls # DoQ support in kdig (and elsewhere but not much use there yet)
|
||||
libmaxminddb # optional for geoip module (it's tiny)
|
||||
# without sphinx &al. for developer documentation
|
||||
# TODO: add dnstap support?
|
||||
fstrm protobufc # dnstap support
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
libcap_ng systemd
|
||||
xdp-tools libbpf libmnl # XDP support (it's Linux kernel API)
|
||||
|
Loading…
Reference in New Issue
Block a user