nongnu: firefox: Update to 97.0 [security fixes].

This fixes CVE-2022-22753, CVE-2022-22754, CVE-2022-22755,
CVE-2022-22756, CVE-2022-22757, CVE-2022-22758, CVE-2022-22759,
CVE-2022-22760, CVE-2022-22761, CVE-2022-22762, CVE-2022-22764 and
CVE-2022-0511.

* nongnu/packages/mozilla.scm (firefox): Update to 97.0.
[native-inputs]: Add now required alsa-lib. Use clang-12 and llvm-12 as
older versions fail to build firefox.
This commit is contained in:
Jonathan Brielmaier 2022-02-10 21:52:31 +01:00
parent 364446cb03
commit 42968b582b
No known key found for this signature in database
GPG key ID: ECFC83988B4E4B9F

View file

@ -85,19 +85,19 @@
;; Update this id with every firefox update to it's release date. ;; Update this id with every firefox update to it's release date.
;; It's used for cache validation and therefor can lead to strange bugs. ;; It's used for cache validation and therefor can lead to strange bugs.
(define %firefox-build-id "20220120000000") (define %firefox-build-id "20220208000000")
(define-public firefox (define-public firefox
(package (package
(name "firefox") (name "firefox")
(version "96.0.2") (version "97.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://archive.mozilla.org/pub/firefox/releases/" (uri (string-append "https://archive.mozilla.org/pub/firefox/releases/"
version "/source/firefox-" version ".source.tar.xz")) version "/source/firefox-" version ".source.tar.xz"))
(sha256 (sha256
(base32 "1f0sldnn3rqmvc248qdr5ik0sb1pkvry05byv5p8x9vrj7x2lbfk")))) (base32 "0a6z94kwgycgis4mgl13dh52kw7zmsya2qpxhcrh6b8j8z5pv2kc"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:configure-flags `(#:configure-flags
@ -403,10 +403,11 @@
("zip" ,zip) ("zip" ,zip)
("zlib" ,zlib))) ("zlib" ,zlib)))
(native-inputs (native-inputs
`(("autoconf" ,autoconf-2.13) `(("alsa-lib" ,alsa-lib)
("autoconf" ,autoconf-2.13)
("cargo" ,rust "cargo") ("cargo" ,rust "cargo")
("clang" ,clang-10) ("clang" ,clang-12)
("llvm" ,llvm-10) ("llvm" ,llvm-12)
("wasm32-wasi-clang-toolchain" ,wasm32-wasi-clang-toolchain) ("wasm32-wasi-clang-toolchain" ,wasm32-wasi-clang-toolchain)
("m4" ,m4) ("m4" ,m4)
("nasm" ,nasm) ("nasm" ,nasm)