knot-resolver_5: 5.7.6 -> 5.7.7 (security!)

https://gitlab.nic.cz/knot/knot-resolver/-/releases/v5.7.7
(cherry picked from commit 0c2857e469)
This commit is contained in:
Vladimír Čunát
2026-07-22 12:01:56 +02:00
committed by github-actions[bot]
parent 4e57c4cd01
commit 97fbb30fdb

View File

@@ -2,7 +2,6 @@
lib,
stdenv,
fetchurl,
fetchpatch,
# native deps.
runCommand,
pkg-config,
@@ -36,11 +35,11 @@ let
unwrapped = stdenv.mkDerivation (finalAttrs: {
pname = "knot-resolver_5";
version = "5.7.6";
version = "5.7.7";
src = fetchurl {
url = "https://secure.nic.cz/files/knot-resolver/knot-resolver-${finalAttrs.version}.tar.xz";
sha256 = "500ccd3a560300e547b8dc5aaff322f7c8e2e7d6f0d7ef5f36e59cb60504d674";
sha256 = "481d2a6eb8690023895d389601e56fffbaeba3cc18cc1de5a5f177df9d0f9530";
};
outputs = [
@@ -48,15 +47,6 @@ let
"dev"
];
patches = [
(fetchpatch {
# https://gitlab.nic.cz/knot/knot-resolver/-/merge_requests/1772
url = "https://gitlab.nic.cz/knot/knot-resolver/-/commit/f4eaf8e69cc9839f68b613d0be10103e05c57fe9.patch";
hash = "sha256-u/YQ85Jb5OxV8G3HeVPQUw0cmA+TLIDPze9mreqJGL4=";
excludes = [ "daemon/ratelimiting.test/tests.inc.c" ];
})
];
# Path fixups for the NixOS service.
postPatch = ''
patch meson.build <<EOF