inetutils: 2.6 -> 2.7, apply patches for CVE-2026-24061 (#482476)

This commit is contained in:
Vladimír Čunát
2026-01-25 08:48:03 +00:00
committed by GitHub
+15 -3
View File
@@ -2,6 +2,7 @@
stdenv,
lib,
fetchurl,
fetchpatch,
ncurses,
perl,
help2man,
@@ -12,11 +13,11 @@
stdenv.mkDerivation rec {
pname = "inetutils";
version = "2.6";
version = "2.7";
src = fetchurl {
url = "mirror://gnu/${pname}/${pname}-${version}.tar.xz";
hash = "sha256-aL7b/q9z99hr4qfZm8+9QJPYKfUncIk5Ga4XTAsjV8o=";
url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz";
hash = "sha256-oVa+HN48XA/+/CYhgNk2mmBIQIeQeqVUxieH0vQOwIY=";
};
outputs = [
@@ -29,6 +30,17 @@ stdenv.mkDerivation rec {
./inetutils-1_9-PATH_PROCNET_DEV.patch
./tests-libls.sh.patch
(fetchpatch {
name = "CVE-2026-24061_1.patch";
url = "https://codeberg.org/inetutils/inetutils/commit/fd702c02497b2f398e739e3119bed0b23dd7aa7b.patch";
hash = "sha256-d/FdQyLD0gYr+erFqKDr8Okf04DFXknFaN03ls2aonQ=";
})
(fetchpatch {
name = "CVE-2026-24061_2.patch";
url = "https://codeberg.org/inetutils/inetutils/commit/ccba9f748aa8d50a38d7748e2e60362edd6a32cc.patch";
hash = "sha256-ws+ed5vb7kVMHEbqK7yj6FUT355pTv2RZEYuXs5M7Io=";
})
];
strictDeps = true;