wget: add patch for CVE-2024-38428

This commit is contained in:
Robert Scott 2024-08-17 22:10:21 +01:00
parent 3bedd26586
commit 658406b7eb

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, gettext, pkg-config, perlPackages { lib, stdenv, fetchurl, fetchpatch, gettext, pkg-config, perlPackages
, libidn2, zlib, pcre, libuuid, libiconv, libintl , libidn2, zlib, pcre, libuuid, libiconv, libintl
, python3, lzip, darwin , python3, lzip, darwin
, withLibpsl ? false, libpsl , withLibpsl ? false, libpsl
@ -16,6 +16,11 @@ stdenv.mkDerivation rec {
patches = [ patches = [
./remove-runtime-dep-on-openssl-headers.patch ./remove-runtime-dep-on-openssl-headers.patch
(fetchpatch {
name = "CVE-2024-38428.patch";
url = "https://git.savannah.gnu.org/cgit/wget.git/patch/?id=ed0c7c7e0e8f7298352646b2fd6e06a11e242ace";
hash = "sha256-4ZVPufgG/h0UkxF9hQBAtF6QAG4GEz9hHeqEsD47q4U=";
})
]; ];
preConfigure = '' preConfigure = ''