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.
This commit is contained in:
parent
16124457d0
commit
d09738dd90
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, gnutls, liburcu, lmdb, libcap_ng, libidn2, libunistring
|
{ 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
|
, autoreconfHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -7,11 +7,11 @@ let inherit (stdenv.lib) optional optionals; in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "knot-dns";
|
pname = "knot-dns";
|
||||||
version = "2.9.6";
|
version = "3.0.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://secure.nic.cz/files/knot-dns/knot-${version}.tar.xz";
|
url = "https://secure.nic.cz/files/knot-dns/knot-${version}.tar.xz";
|
||||||
sha256 = "bf742883c6825b54f19f2dadca2c94fec1ff8bdcf0a52388e2e167937594b2e7";
|
sha256 = "f1c96aff6e873a2f9b1b8c2441d5a7801dd48d3abdb738a4d24b26c2a8fbe6c4";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "bin" "out" "dev" ];
|
outputs = [ "bin" "out" "dev" ];
|
||||||
|
@ -34,8 +34,11 @@ stdenv.mkDerivation rec {
|
||||||
gnutls liburcu libidn2 libunistring
|
gnutls liburcu libidn2 libunistring
|
||||||
nettle libedit
|
nettle libedit
|
||||||
libiconv lmdb libintl
|
libiconv lmdb libintl
|
||||||
|
libbpf # XDP support
|
||||||
|
nghttp2 # DoH support in kdig
|
||||||
libmaxminddb # optional for geoip module (it's tiny)
|
libmaxminddb # optional for geoip module (it's tiny)
|
||||||
# without sphinx &al. for developer documentation
|
# without sphinx &al. for developer documentation
|
||||||
|
# TODO: add dnstap support?
|
||||||
]
|
]
|
||||||
++ optionals stdenv.isLinux [ libcap_ng systemd ]
|
++ optionals stdenv.isLinux [ libcap_ng systemd ]
|
||||||
++ optional stdenv.isDarwin zlib; # perhaps due to gnutls
|
++ optional stdenv.isDarwin zlib; # perhaps due to gnutls
|
||||||
|
|
Loading…
Reference in New Issue