diff options
author | Vladimír Čunát <v@cunat.cz> | 2020-09-09 17:11:51 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2020-09-09 17:21:27 +0200 |
commit | d09738dd9070a34e04cf54f1e8deeeea5408f52e (patch) | |
tree | bf9f2d9517e1db231b2a16fbce74a075fd7d84cf /pkgs/servers/dns | |
parent | 16124457d0d947ce0d98bfcb7c18f0b88c9ad398 (diff) |
knot-dns: 2.9.6 -> 3.0.0
Upgrade should be pretty easy:
https://www.knot-dns.cz/docs/3.0/html/migration.html#upgrade-2-9-x-to-3-0-x
https://en.blog.nic.cz/2020/09/09/knot-dns-3-0-news/
https://gitlab.nic.cz/knot/knot-dns/-/tags/v3.0.0
For now, it's built with XDP support but the NixOS service
isn't ready for that yet. I'll try to look at that sometime later.
Diffstat (limited to 'pkgs/servers/dns')
-rw-r--r-- | pkgs/servers/dns/knot-dns/default.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/servers/dns/knot-dns/default.nix b/pkgs/servers/dns/knot-dns/default.nix index de7f2cdfe518..27f1ca12aacb 100644 --- a/pkgs/servers/dns/knot-dns/default.nix +++ b/pkgs/servers/dns/knot-dns/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl, pkgconfig, gnutls, liburcu, lmdb, libcap_ng, libidn2, libunistring -, systemd, nettle, libedit, zlib, libiconv, libintl, libmaxminddb +, systemd, nettle, libedit, zlib, libiconv, libintl, libmaxminddb, libbpf, nghttp2 , autoreconfHook }: @@ -7,11 +7,11 @@ let inherit (stdenv.lib) optional optionals; in stdenv.mkDerivation rec { pname = "knot-dns"; - version = "2.9.6"; + version = "3.0.0"; src = fetchurl { url = "https://secure.nic.cz/files/knot-dns/knot-${version}.tar.xz"; - sha256 = "bf742883c6825b54f19f2dadca2c94fec1ff8bdcf0a52388e2e167937594b2e7"; + sha256 = "f1c96aff6e873a2f9b1b8c2441d5a7801dd48d3abdb738a4d24b26c2a8fbe6c4"; }; outputs = [ "bin" "out" "dev" ]; @@ -34,8 +34,11 @@ stdenv.mkDerivation rec { gnutls liburcu libidn2 libunistring nettle libedit libiconv lmdb libintl + libbpf # XDP support + nghttp2 # DoH support in kdig libmaxminddb # optional for geoip module (it's tiny) # without sphinx &al. for developer documentation + # TODO: add dnstap support? ] ++ optionals stdenv.isLinux [ libcap_ng systemd ] ++ optional stdenv.isDarwin zlib; # perhaps due to gnutls |