gnu: openjpeg: Replace with 2.3.1 [security fixes].

This release includes many security fixes, including CVE-2018-5785 and
CVE-2018-CVE-2018-6616.  See
<https://github.com/uclouvain/openjpeg/blob/master/CHANGELOG.md> for details.

* gnu/packages/image.scm (openjpeg)[replacement]: New field.
(openjpeg-2.3.1): New public variable.
This commit is contained in:
Marius Bakke 2019-04-07 22:01:25 +02:00
parent 6130b97440
commit 0e2b0b05ac
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 15 additions and 0 deletions

View File

@ -561,6 +561,7 @@ work.")
(package
(name "openjpeg")
(version "2.3.0")
(replacement openjpeg-2.3.1)
(source
(origin
(method url-fetch)
@ -594,6 +595,20 @@ error-resilience, a Java-viewer for j2k-images, ...")
(home-page "https://github.com/uclouvain/openjpeg")
(license license:bsd-2)))
(define-public openjpeg-2.3.1
(package
(inherit openjpeg)
(version "2.3.1")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/uclouvain/openjpeg")
(commit (string-append "v" version))))
(file-name (git-file-name "openjpeg" version))
(sha256
(base32
"1dn98d2dfa1lqyxxmab6rrcv52dyhjr4g7i4xf2w54fqsx14ynrb"))))))
(define-public openjpeg-1
(package (inherit openjpeg)
(name "openjpeg")