summary refs log tree commit diff
path: root/pkgs/applications/misc/xpdf
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-08-16 16:31:44 -0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-08-16 16:31:44 -0400
commitf27f8a11776840fe32c1042cbe27ee3c21dced12 (patch)
treec860a14a417ab005831e1cb53746a346feaa30e4 /pkgs/applications/misc/xpdf
parentb06cb3578d4ec2b76dcf2ad04486f3a1420c6c72 (diff)
downloadnixpkgs-f27f8a11776840fe32c1042cbe27ee3c21dced12.tar
nixpkgs-f27f8a11776840fe32c1042cbe27ee3c21dced12.tar.gz
nixpkgs-f27f8a11776840fe32c1042cbe27ee3c21dced12.tar.bz2
nixpkgs-f27f8a11776840fe32c1042cbe27ee3c21dced12.tar.lz
nixpkgs-f27f8a11776840fe32c1042cbe27ee3c21dced12.tar.xz
nixpkgs-f27f8a11776840fe32c1042cbe27ee3c21dced12.tar.zst
nixpkgs-f27f8a11776840fe32c1042cbe27ee3c21dced12.zip
xpdf: Don't use t1lib
t1lib has multiple unpatched vulnerabilities (see
e.g. http://rhn.redhat.com/errata/RHSA-2012-0062.html).
Diffstat (limited to 'pkgs/applications/misc/xpdf')
-rw-r--r--pkgs/applications/misc/xpdf/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/misc/xpdf/default.nix b/pkgs/applications/misc/xpdf/default.nix
index d653c972850..5218df77595 100644
--- a/pkgs/applications/misc/xpdf/default.nix
+++ b/pkgs/applications/misc/xpdf/default.nix
@@ -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";