erlangR17: mark insecure

This commit is contained in:
Daiderd Jordan 2017-12-08 12:49:47 +01:00
parent 5bc910a6ef
commit 7d85f1b0e2
No known key found for this signature in database
GPG Key ID: D02435D05B810C96
2 changed files with 5 additions and 4 deletions

View File

@ -32,4 +32,6 @@ mkDerivation rec {
ln -s "$i" "$out/share/man/''${prefix##*/}/''${i##*/}erl"
done
'';
meta.knownVulnerabilities = [ "CVE-2017-1000385" ];
}

View File

@ -26,7 +26,7 @@
, installTargets ? "install install-docs"
, checkPhase ? "", preCheck ? "", postCheck ? ""
, fixupPhase ? "", preFixup ? "", postFixup ? ""
, meta ? null
, meta ? {}
}:
assert wxSupport -> (if stdenv.isDarwin
@ -101,7 +101,7 @@ in stdenv.mkDerivation ({
setupHook = ./setup-hook.sh;
meta = with stdenv.lib; {
meta = with stdenv.lib; ({
homepage = http://www.erlang.org/;
downloadPage = "http://www.erlang.org/download.html";
description = "Programming language used for massively scalable soft real-time systems";
@ -118,7 +118,7 @@ in stdenv.mkDerivation ({
platforms = platforms.unix;
maintainers = with maintainers; [ the-kenny sjmackenzie couchemar gleber ];
license = licenses.asl20;
};
} // meta);
}
// optionalAttrs (preUnpack != "") { inherit preUnpack; }
// optionalAttrs (postUnpack != "") { inherit postUnpack; }
@ -140,5 +140,4 @@ in stdenv.mkDerivation ({
// optionalAttrs (fixupPhase != "") { inherit fixupPhase; }
// optionalAttrs (preFixup != "") { inherit preFixup; }
// optionalAttrs (postFixup != "") { inherit postFixup; }
// optionalAttrs (meta != null) { inherit meta; }
)