Merge pull request #133065 from NixOS/backport-133057-to-release-21.05
[Backport release-21.05] lynx: add patch for CVE-2021-38165
This commit is contained in:
commit
5b252d8e07
|
@ -2,6 +2,7 @@
|
||||||
, fetchurl, pkg-config, ncurses, gzip
|
, fetchurl, pkg-config, ncurses, gzip
|
||||||
, sslSupport ? true, openssl ? null
|
, sslSupport ? true, openssl ? null
|
||||||
, nukeReferences
|
, nukeReferences
|
||||||
|
, fetchpatch
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert sslSupport -> openssl != null;
|
assert sslSupport -> openssl != null;
|
||||||
|
@ -22,6 +23,14 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
hardeningEnable = [ "pie" ];
|
hardeningEnable = [ "pie" ];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "CVE-2021-38165.patch";
|
||||||
|
url = "https://git.alpinelinux.org/aports/plain/main/lynx/CVE-2021-38165.patch?id=3400945dbbb8a87065360963e4caa0e17d3dcc61";
|
||||||
|
sha256 = "1aykb9y2g2vdpbbpvjlm4r40x7py2yv6jbywwcqcxrlciqcw4x57";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-default-colors"
|
"--enable-default-colors"
|
||||||
"--enable-widec"
|
"--enable-widec"
|
||||||
|
|
Loading…
Reference in New Issue