libunwind: security fix for CVE-2015-3239
Thanks to the monitor. Low security and high rebuild impact, but still...
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libunwind-1.1";
|
||||
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://savannah/libunwind/${name}.tar.gz";
|
||||
sha256 = "16nhx2pahh9d62mvszc88q226q5lwjankij276fxwrm8wb50zzlx";
|
||||
};
|
||||
|
||||
patches = [ ./libunwind-1.1-lzma.patch ];
|
||||
patches = [ ./libunwind-1.1-lzma.patch ./cve-2015-3239.patch ];
|
||||
|
||||
postPatch = ''
|
||||
sed -i -e '/LIBLZMA/s:-lzma:-llzma:' configure
|
||||
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
sed -i 's,-llzma,${xz}/lib/liblzma.la,' $file
|
||||
done
|
||||
'';
|
||||
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.nongnu.org/libunwind;
|
||||
description = "A portable and efficient API to determine the call-chain of a program";
|
||||
|
||||
Reference in New Issue
Block a user