gnu: openjpeg: Update replacement to 2.1.2 [fixes CVE-2016-{7445,8332}].
* gnu/packages/image.scm (openjpeg/fixed): Replace variable with ... (openjpeg-2.1.2): ... this. [patches]: Remove patches inherited from openjpeg. (openjpeg)[replacement]: Replace with openjpeg-2.1.2.
This commit is contained in:
parent
edd1652e0a
commit
0e8b7b1c35
|
@ -444,7 +444,7 @@ work.")
|
||||||
(define-public openjpeg
|
(define-public openjpeg
|
||||||
(package
|
(package
|
||||||
(name "openjpeg")
|
(name "openjpeg")
|
||||||
(replacement openjpeg/fixed)
|
(replacement openjpeg-2.1.2)
|
||||||
(version "2.1.1")
|
(version "2.1.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
|
@ -481,16 +481,20 @@ error-resilience, a Java-viewer for j2k-images, ...")
|
||||||
(home-page "https://github.com/uclouvain/openjpeg")
|
(home-page "https://github.com/uclouvain/openjpeg")
|
||||||
(license license:bsd-2)))
|
(license license:bsd-2)))
|
||||||
|
|
||||||
(define openjpeg/fixed
|
(define openjpeg-2.1.2
|
||||||
(package
|
(package
|
||||||
(inherit openjpeg)
|
(inherit openjpeg)
|
||||||
|
(version "2.1.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(inherit (package-source openjpeg))
|
(method url-fetch)
|
||||||
|
(uri (string-append "https://github.com/uclouvain/openjpeg/archive/v"
|
||||||
|
version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"19yz4g0c45sm8y1z01j9djsrl1mkz3pmw7fykc6hkvrqymp7prsc"))
|
||||||
(patches
|
(patches
|
||||||
(append
|
(search-patches "openjpeg-CVE-2016-9850-CVE-2016-9851.patch"))))))
|
||||||
(origin-patches (package-source openjpeg))
|
|
||||||
(search-patches "openjpeg-CVE-2016-9850-CVE-2016-9851.patch")))))))
|
|
||||||
|
|
||||||
(define-public openjpeg-1
|
(define-public openjpeg-1
|
||||||
(package (inherit openjpeg)
|
(package (inherit openjpeg)
|
||||||
|
|
Loading…
Reference in New Issue