diff options
author | Leo Famulari <leo@famulari.name> | 2017-04-28 16:34:05 -0400 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2017-04-28 17:02:42 -0400 |
commit | a01f15759a00503101baa23af87cbd6095a1fbd6 (patch) | |
tree | 3301316e57c14e54cd812e2120052c842b7a7ae7 /gnu/packages/ghostscript.scm | |
parent | 73749ae9f1e4f1102fe5c1824840ee6574874fd9 (diff) | |
download | patches-a01f15759a00503101baa23af87cbd6095a1fbd6.tar patches-a01f15759a00503101baa23af87cbd6095a1fbd6.tar.gz |
gnu: ghostscript: Fix CVE-2017-8291.
* gnu/packages/patches/ghostscript-CVE-2017-8291.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/ghostscript.scm (ghostscript)[replacement]: New field.
(ghostscript/fixed): New variable.
(ghostscript-with-x)[replacement]: New field.
Diffstat (limited to 'gnu/packages/ghostscript.scm')
-rw-r--r-- | gnu/packages/ghostscript.scm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/ghostscript.scm b/gnu/packages/ghostscript.scm index 076046e721..5340107f99 100644 --- a/gnu/packages/ghostscript.scm +++ b/gnu/packages/ghostscript.scm @@ -130,6 +130,7 @@ printing, and psresize, for adjusting page sizes.") (define-public ghostscript (package (name "ghostscript") + (replacement ghostscript/fixed) (version "9.14.0") (source (origin (method url-fetch) @@ -209,11 +210,23 @@ output file formats and printers.") (define-public ghostscript/x (package (inherit ghostscript) + (replacement #f) (name (string-append (package-name ghostscript) "-with-x")) (inputs `(("libxext" ,libxext) ("libxt" ,libxt) ,@(package-inputs ghostscript))))) +(define ghostscript/fixed + (package + (inherit ghostscript) + (source + (origin + (inherit (package-source ghostscript)) + (patches + (append + (origin-patches (package-source ghostscript)) + (search-patches "ghostscript-CVE-2017-8291.patch"))))))) + (define-public ijs (package (name "ijs") |