diff options
| author | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-10-22 21:20:47 +0200 |
|---|---|---|
| committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-10-22 21:23:50 +0200 |
| commit | d32b210f282ef74caf9890e1d4ffe8eb04bd64e5 (patch) | |
| tree | a92b3946faaa870ab1a4c7129579c39cb1df3b5e /gnu | |
| parent | 910ea2e1d281ef4096c8fdec24be5d1e67da0260 (diff) | |
gnu: freetype: Replace with 2.10.4 [fixes CVE-2020-15999].
* gnu/packages/fontutils.scm (freetype)[replacement]: New field, set to...
(freetype/fixed): ...this new variable.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/fontutils.scm | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm index b3852fe0935..eec5093dea1 100644 --- a/gnu/packages/fontutils.scm +++ b/gnu/packages/fontutils.scm | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | ;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org> | 6 | ;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org> |
| 7 | ;;; Copyright © 2017 Leo Famulari <leo@famulari.name> | 7 | ;;; Copyright © 2017 Leo Famulari <leo@famulari.name> |
| 8 | ;;; Copyright © 2017 Nikita <nikita@n0.is> | 8 | ;;; Copyright © 2017 Nikita <nikita@n0.is> |
| 9 | ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr> | 9 | ;;; Copyright © 2017, 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr> |
| 10 | ;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net> | 10 | ;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net> |
| 11 | ;;; Copyright © 2018, 2019 Ludovic Courtès <ludo@gnu.org> | 11 | ;;; Copyright © 2018, 2019 Ludovic Courtès <ludo@gnu.org> |
| 12 | ;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com> | 12 | ;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com> |
| @@ -69,6 +69,7 @@ | |||
| 69 | (package | 69 | (package |
| 70 | (name "freetype") | 70 | (name "freetype") |
| 71 | (version "2.10.1") | 71 | (version "2.10.1") |
| 72 | (replacement freetype/fixed) | ||
| 72 | (source (origin | 73 | (source (origin |
| 73 | (method url-fetch) | 74 | (method url-fetch) |
| 74 | (uri (string-append "mirror://savannah/freetype/freetype-" | 75 | (uri (string-append "mirror://savannah/freetype/freetype-" |
| @@ -97,6 +98,19 @@ anti-aliased glyph bitmap generation with 256 gray levels.") | |||
| 97 | (license license:freetype) ; some files have other licenses | 98 | (license license:freetype) ; some files have other licenses |
| 98 | (home-page "https://www.freetype.org/"))) | 99 | (home-page "https://www.freetype.org/"))) |
| 99 | 100 | ||
| 101 | (define freetype/fixed | ||
| 102 | ;; Security fix for CVE-2020-15999. | ||
| 103 | (package | ||
| 104 | (inherit freetype) | ||
| 105 | (version "2.10.4") | ||
| 106 | (source | ||
| 107 | (origin | ||
| 108 | (method url-fetch) | ||
| 109 | (uri (string-append "mirror://savannah/freetype/freetype-" | ||
| 110 | version ".tar.xz")) | ||
| 111 | (sha256 | ||
| 112 | (base32 "112pyy215chg7f7fmp2l9374chhhpihbh8wgpj5nj6avj3c59a46")))))) | ||
| 113 | |||
| 100 | (define-public ttfautohint | 114 | (define-public ttfautohint |
| 101 | (package | 115 | (package |
| 102 | (name "ttfautohint") | 116 | (name "ttfautohint") |
