gnu: zlib: Update to 1.2.12 [fixes CVE-2018-25032].

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-25032
https://seclists.org/oss-sec/2022/q1/191

* gnu/packages/compression.scm (zlib)[replacement]: New field.
(zlib-1.2.12): New variable.
This commit is contained in:
Leo Famulari 2022-03-28 00:03:35 -04:00
parent 5fd9d3ba82
commit c2c93abd18
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -103,6 +103,7 @@ (define-module (gnu packages compression)
(define-public zlib (define-public zlib
(package (package
(name "zlib") (name "zlib")
(replacement zlib-1.2.12)
(version "1.2.11") (version "1.2.11")
(source (source
(origin (origin
@ -164,6 +165,21 @@ (define-public zlib
in compression.") in compression.")
(license license:zlib))) (license license:zlib)))
(define-public zlib-1.2.12
(package
(inherit zlib)
(version "1.2.12")
(source
(origin
(method url-fetch)
(uri (list (string-append "http://zlib.net/zlib-"
version ".tar.gz")
(string-append "mirror://sourceforge/libpng/zlib/"
version "/zlib-" version ".tar.gz")))
(sha256
(base32
"1n9na4fq4wagw1nzsfjr6wyly960jfa94460ncbf6p1fac44i14i"))))))
(define-public minizip (define-public minizip
(package (package
(name "minizip") (name "minizip")