radare2: 2.0.0 -> 2.0.1 (+ fix for CVE-2017-15385)
This commit is contained in:
parent
f8b53a70f1
commit
8312eaf11c
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchFromGitHub, fetchurl, pkgconfig, libusb, readline, libewf, perl, zlib, openssl,
|
{stdenv, fetchFromGitHub, fetchurl, fetchpatch, pkgconfig, libusb, readline, libewf, perl, zlib, openssl,
|
||||||
gtk2 ? null, vte ? null, gtkdialog ? null,
|
gtk2 ? null, vte ? null, gtkdialog ? null,
|
||||||
python ? null,
|
python ? null,
|
||||||
ruby ? null,
|
ruby ? null,
|
||||||
@ -13,16 +13,24 @@ let
|
|||||||
inherit (stdenv.lib) optional;
|
inherit (stdenv.lib) optional;
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "2.0.0";
|
version = "2.0.1";
|
||||||
name = "radare2-${version}";
|
name = "radare2-${version}";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "radare";
|
owner = "radare";
|
||||||
repo = "radare2";
|
repo = "radare2";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1ahai9x6jc15wjzdbdkri3rc88ark2i5s8nv2pxcp0wwldvawlzi";
|
sha256 = "031ndvinsypagpkdszxjq0hj91ijq9zx4dzk53sz7il7s3zn65c7";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "CVE-2017-15385.patch";
|
||||||
|
url = https://github.com/radare/radare2/commit/21a6f570ba33fa9f52f1bba87f07acc4e8c178f4.patch;
|
||||||
|
sha256 = "19qg5j9yr5r62nrq2b6mscxsz0wyyfah2z5jz8dvj9kqxq186d43";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = let
|
postPatch = let
|
||||||
cs_ver = "3.0.4"; # version from $sourceRoot/shlr/Makefile
|
cs_ver = "3.0.4"; # version from $sourceRoot/shlr/Makefile
|
||||||
capstone = fetchurl {
|
capstone = fetchurl {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user