summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2019-04-07 22:01:25 +0200
committerMarius Bakke <mbakke@fastmail.com>2019-04-07 23:56:47 +0200
commit0e2b0b05accdea7c3f016f8483d0ec04021114d3 (patch)
tree50f5fa0dc1e851e38142b14722eea961dac0bd5a
parent6130b974401f8ec2a0f491c375429b936a020538 (diff)
downloadguix-0e2b0b05accdea7c3f016f8483d0ec04021114d3.tar.gz
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.
-rw-r--r--gnu/packages/image.scm15
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 9fc29ec284..3b2bb23252 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -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")