diff options
| author | Leo Famulari <leo@famulari.name> | 2018-07-16 23:09:37 -0400 |
|---|---|---|
| committer | Leo Famulari <leo@famulari.name> | 2018-07-17 20:44:52 -0400 |
| commit | a1e3da63cb4b9a9151849d1d4360c2a8415becb5 (patch) | |
| tree | 679cf46abc09e423252121fa214665772d5ca1a9 /gnu/packages/ghostscript.scm | |
| parent | 276598b69b2003a1b153aaffba5200139f97a66e (diff) | |
gnu: ghostscript: Fix CVE-2018-10194.
* gnu/packages/ghostscript.scm (ghostscript)[replacement]: New field.
(ghostscript/fixed): New variable.
* gnu/packages/patches/ghostscript-CVE-2018-10194.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
Diffstat (limited to 'gnu/packages/ghostscript.scm')
| -rw-r--r-- | gnu/packages/ghostscript.scm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/ghostscript.scm b/gnu/packages/ghostscript.scm index 0a6043ba65c..1240b1dc168 100644 --- a/gnu/packages/ghostscript.scm +++ b/gnu/packages/ghostscript.scm | |||
| @@ -132,6 +132,7 @@ printing, and psresize, for adjusting page sizes.") | |||
| 132 | (define-public ghostscript | 132 | (define-public ghostscript |
| 133 | (package | 133 | (package |
| 134 | (name "ghostscript") | 134 | (name "ghostscript") |
| 135 | (replacement ghostscript/fixed) | ||
| 135 | (version "9.23") | 136 | (version "9.23") |
| 136 | (source | 137 | (source |
| 137 | (origin | 138 | (origin |
| @@ -250,6 +251,16 @@ output file formats and printers.") | |||
| 250 | (home-page "https://www.ghostscript.com/") | 251 | (home-page "https://www.ghostscript.com/") |
| 251 | (license license:agpl3+))) | 252 | (license license:agpl3+))) |
| 252 | 253 | ||
| 254 | (define-public ghostscript/fixed | ||
| 255 | (hidden-package | ||
| 256 | (package | ||
| 257 | (inherit ghostscript) | ||
| 258 | (source | ||
| 259 | (origin | ||
| 260 | (inherit (package-source ghostscript)) | ||
| 261 | (patches (append (origin-patches (package-source ghostscript)) | ||
| 262 | (search-patches "ghostscript-CVE-2018-10194.patch")))))))) | ||
| 263 | |||
| 253 | (define-public ghostscript/x | 264 | (define-public ghostscript/x |
| 254 | (package/inherit ghostscript | 265 | (package/inherit ghostscript |
| 255 | (name (string-append (package-name ghostscript) "-with-x")) | 266 | (name (string-append (package-name ghostscript) "-with-x")) |
