Skip to content

Commit 50b671b

Browse files
committedFeb 15, 2017
graphviz_2_0: hide inside monotoneViz
The old Graphviz version is vulnerable, but monotone-viz will never feed it bad input. (cherry picked from commit c731738)
1 parent 4838518 commit 50b671b

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed
 

‎pkgs/applications/version-management/monotone-viz/default.nix

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
{stdenv, fetchurl, ocaml, lablgtk, libgnomecanvas, camlp4, glib, pkgconfig, graphviz_2_0, makeWrapper}:
1+
{stdenv, fetchurl, ocaml, lablgtk, libgnomecanvas, camlp4, glib, pkgconfig, makeWrapper
2+
, libtool, libpng, yacc, expat, fontconfig, gd, pango, libjpeg, libwebp, xlibsWrapper, libXaw
3+
}:
4+
# We need an old version of Graphviz for format compatibility reasons.
5+
# This version is vulnerable, but monotone-viz will never feed it bad input.
6+
let graphviz_2_0 = import ./graphviz-2.0.nix {
7+
inherit stdenv fetchurl pkgconfig xlibsWrapper libpng libjpeg expat libXaw
8+
yacc libtool fontconfig pango gd libwebp;
9+
}; in
210
stdenv.mkDerivation rec {
311
version = "1.0.2";
412
name = "monotone-viz-${version}";

‎pkgs/top-level/all-packages.nix

-6
Original file line numberDiff line numberDiff line change
@@ -1869,12 +1869,6 @@ in
18691869
libdevil = libdevil-nox;
18701870
};
18711871

1872-
/* Readded by Michael Raskin. There are programs in the wild
1873-
* that do want 2.0 but not 2.22. Please give a day's notice for
1874-
* objections before removal. The feature is integer coordinates
1875-
*/
1876-
graphviz_2_0 = callPackage ../tools/graphics/graphviz/2.0.nix { };
1877-
18781872
/* Readded by Michael Raskin. There are programs in the wild
18791873
* that do want 2.32 but not 2.0 or 2.36. Please give a day's notice for
18801874
* objections before removal. The feature is libgraph.

0 commit comments

Comments
 (0)