cryptopp: 5.6.4 -> 5.6.5
for CVE-2016-7420: CVE-2016-7420
This commit is contained in:
parent
d6254e0bbd
commit
8f4098f087
@ -1,22 +1,21 @@
|
|||||||
{ fetchurl, stdenv, unzip }:
|
{ fetchurl, fetchFromGitHub, stdenv }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "crypto++-${version}";
|
name = "crypto++-${version}";
|
||||||
majorVersion = "5.6";
|
majorVersion = "5.6";
|
||||||
version = "${majorVersion}.4";
|
version = "${majorVersion}.5";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "mirror://sourceforge/cryptopp/cryptopp564.zip";
|
owner = "weidai11";
|
||||||
sha256 = "1msar24a38rxzq0xgmjf09hzaw2lv6s48vnbbhfrf5awn1vh6hxy";
|
repo = "cryptopp";
|
||||||
|
rev = "CRYPTOPP_5_6_5";
|
||||||
|
sha256 = "1yk7jyf4va9425cg05llskpls2jm7n3jwy2hj5jm74zkr4mwpvl7";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = with stdenv;
|
patches = with stdenv;
|
||||||
lib.optional (system != "i686-cygwin") ./dll.patch
|
lib.optional (system != "i686-cygwin") ./dll.patch
|
||||||
++ lib.optional isDarwin ./GNUmakefile-darwin.patch;
|
++ lib.optional isDarwin ./GNUmakefile-darwin.patch;
|
||||||
|
|
||||||
buildInputs = [ unzip ];
|
|
||||||
|
|
||||||
sourceRoot = ".";
|
|
||||||
|
|
||||||
configurePhase = let
|
configurePhase = let
|
||||||
marchflags =
|
marchflags =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user