xpdf: Don't use t1lib
t1lib has multiple unpatched vulnerabilities (see e.g. http://rhn.redhat.com/errata/RHSA-2012-0062.html).
This commit is contained in:
parent
b06cb3578d
commit
f27f8a1177
|
@ -1,4 +1,4 @@
|
||||||
{ enableGUI ? true, enablePDFtoPPM ? true, useT1Lib ? true
|
{ enableGUI ? true, enablePDFtoPPM ? true, useT1Lib ? false
|
||||||
, stdenv, fetchurl, x11 ? null, motif ? null, freetype ? null, t1lib ? null
|
, stdenv, fetchurl, x11 ? null, motif ? null, freetype ? null, t1lib ? null
|
||||||
, base14Fonts ? null
|
, base14Fonts ? null
|
||||||
}:
|
}:
|
||||||
|
@ -7,6 +7,8 @@ assert enableGUI -> x11 != null && motif != null && freetype != null;
|
||||||
assert enablePDFtoPPM -> freetype != null;
|
assert enablePDFtoPPM -> freetype != null;
|
||||||
assert useT1Lib -> t1lib != null;
|
assert useT1Lib -> t1lib != null;
|
||||||
|
|
||||||
|
assert !useT1Lib; # t1lib has multiple unpatched security vulnerabilities
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "xpdf-3.03";
|
name = "xpdf-3.03";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue