mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
putty: add patch for CVE-2019-17069
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, lib, fetchurl, autoconf, automake, pkgconfig, libtool
|
||||
{ stdenv, lib, fetchurl, fetchpatch, autoconf, automake, pkgconfig, libtool
|
||||
, gtk2, halibut, ncurses, perl
|
||||
}:
|
||||
|
||||
@@ -14,6 +14,14 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1f66iss0kqk982azmxbk4xfm2i1csby91vdvly6cr04pz3i1r4rg";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "CVE-2019-17069.patch";
|
||||
url = "https://git.tartarus.org/?p=simon/putty.git;a=patch;h=69201ad8936fe0ff1b8723b7a43accb5e9f1c888";
|
||||
sha256 = "1gblwc2r26ikb26b22f2r61b2lkjf80pbclfb5dhhkkqal6kbvga";
|
||||
})
|
||||
];
|
||||
|
||||
preConfigure = lib.optionalString stdenv.hostPlatform.isUnix ''
|
||||
perl mkfiles.pl
|
||||
( cd doc ; make );
|
||||
|
||||
Reference in New Issue
Block a user