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

This fixes CVE-2020-16042, CVE-2020-26971, CVE-2020-26972,
CVE-2020-26973, CVE-2020-26974, CVE-2020-26975, CVE-2020-26976,
CVE-2020-26977, CVE-2020-26978, CVE-2020-26979, CVE-2020-35111,
CVE-2020-35112, CVE-2020-35113, and CVE-2020-35114.

* nongnu/packages/mozilla.scm (firefox): Update to 84.0.
[arguments]: Delete 'delete-bundled-configuration-and-binaries phase as
the files don't exist anymore.
This commit is contained in:
Jonathan Brielmaier 2020-12-15 18:13:43 +01:00
parent c79056e9bf
commit 712cdf306b
No known key found for this signature in database
GPG key ID: ECFC83988B4E4B9F

View file

@ -102,19 +102,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 "20201117000000") (define %firefox-build-id "20201215000000")
(define-public firefox (define-public firefox
(package (package
(name "firefox") (name "firefox")
(version "83.0") (version "84.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 "162kx9g73znppl41plpy5cv5hn090d7c4x6jhf3857s4p3l897nn")))) (base32 "0f4iyvakql5pjf6nwllv5hl7106kaiw8xhq815fky92v2vq3w9r3"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:configure-flags `(#:configure-flags
@ -164,11 +164,6 @@
,@%gnu-build-system-modules) ,@%gnu-build-system-modules)
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'delete-bundled-configuration-and-binaries
(lambda _
(delete-file "configure")
(delete-file "js/src/configure")
#t))
(add-after 'unpack 'fix-preferences (add-after 'unpack 'fix-preferences
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(let ((port (open-file "browser/app/profile/firefox.js" "a"))) (let ((port (open-file "browser/app/profile/firefox.js" "a")))