Unverified Commit 54cf5519 authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

knot-dns: add support for dnstap

This grows the whole closure minimally (0.3 MiB by du),
and it can be useful in some deployments.
parent 32f0bfd9
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
{ 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)