mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
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
|
||||
, base14Fonts ? null
|
||||
}:
|
||||
@ -7,6 +7,8 @@ assert enableGUI -> x11 != null && motif != null && freetype != null;
|
||||
assert enablePDFtoPPM -> freetype != null;
|
||||
assert useT1Lib -> t1lib != null;
|
||||
|
||||
assert !useT1Lib; # t1lib has multiple unpatched security vulnerabilities
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "xpdf-3.03";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user