diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2019-04-07 21:10:26 +0300 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2019-04-07 21:10:26 +0300 |
| commit | 8a3bb34c5e9aa4bc2042da8541e6cb74de7066f7 (patch) | |
| tree | a08fa5b7bf8e3994fd5ff7d27a43c4001d211dbe /gnu/packages/ghostscript.scm | |
| parent | 71b4974a40347bdc651c3a1f923780733d96ded7 (diff) | |
gnu: lcms: Fix CVE-2018-16435.
* gnu/packages/ghostscript.scm (lcms)[replacement]: New field.
(lcms/fixed): New variable.
* gnu/packages/patches/lcms-CVE-2018-16435.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
Diffstat (limited to 'gnu/packages/ghostscript.scm')
| -rw-r--r-- | gnu/packages/ghostscript.scm | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/ghostscript.scm b/gnu/packages/ghostscript.scm index d8c00505131..53a9b60fdb8 100644 --- a/gnu/packages/ghostscript.scm +++ b/gnu/packages/ghostscript.scm | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | ;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net> | 4 | ;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net> |
| 5 | ;;; Copyright © 2013, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org> | 5 | ;;; Copyright © 2013, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org> |
| 6 | ;;; Copyright © 2017 Alex Vong <alexvong1995@gmail.com> | 6 | ;;; Copyright © 2017 Alex Vong <alexvong1995@gmail.com> |
| 7 | ;;; Copyright © 2017, 2018 Efraim Flashner <efraim@flashner.co.il> | 7 | ;;; Copyright © 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il> |
| 8 | ;;; Copyright © 2017 Leo Famulari <leo@famulari.name> | 8 | ;;; Copyright © 2017 Leo Famulari <leo@famulari.name> |
| 9 | ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> | 9 | ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> |
| 10 | ;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com> | 10 | ;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com> |
| @@ -47,6 +47,7 @@ | |||
| 47 | (define-public lcms | 47 | (define-public lcms |
| 48 | (package | 48 | (package |
| 49 | (name "lcms") | 49 | (name "lcms") |
| 50 | (replacement lcms/fixed) | ||
| 50 | (version "2.9") | 51 | (version "2.9") |
| 51 | (source (origin | 52 | (source (origin |
| 52 | (method url-fetch) | 53 | (method url-fetch) |
| @@ -67,6 +68,14 @@ Consortium standard (ICC), approved as ISO 15076-1.") | |||
| 67 | (home-page "http://www.littlecms.com/") | 68 | (home-page "http://www.littlecms.com/") |
| 68 | (properties '((cpe-name . "little_cms_color_engine"))))) | 69 | (properties '((cpe-name . "little_cms_color_engine"))))) |
| 69 | 70 | ||
| 71 | (define lcms/fixed | ||
| 72 | (package | ||
| 73 | (inherit lcms) | ||
| 74 | (source | ||
| 75 | (origin | ||
| 76 | (inherit (package-source lcms)) | ||
| 77 | (patches (search-patches "lcms-CVE-2018-16435.patch")))))) | ||
| 78 | |||
| 70 | (define-public libpaper | 79 | (define-public libpaper |
| 71 | (package | 80 | (package |
| 72 | (name "libpaper") | 81 | (name "libpaper") |
