mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-11-25 09:58:09 +01:00
nongnu: firefox: Update to 124.0 [security fixes].
Fixes CVE-2023-5388, CVE-2024-2605, CVE-2024-2606, CVE-2024-2607, CVE-2024-2608, CVE-2024-2609, CVE-2024-2610, CVE-2024-2611, CVE-2024-2612, CVE-2024-2613, CVE-2024-2614, CVE-2024-2615. * nongnu/packages/mozilla.scm (firefox): Update to 124.0. [arguments]<#:phases>{'remove-cargo-frozen-flag}: New phase. (firefox-wayland): Wrap comment. Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
This commit is contained in:
parent
cd6b8abeb3
commit
48d59208fc
1 changed files with 13 additions and 6 deletions
|
@ -532,27 +532,34 @@ MOZ_ENABLE_WAYLAND=1 exec ~a $@\n"
|
||||||
|
|
||||||
;; Update this id with every firefox update to its release date.
|
;; Update this id with every firefox update to its release date.
|
||||||
;; It's used for cache validation and therefore can lead to strange bugs.
|
;; It's used for cache validation and therefore can lead to strange bugs.
|
||||||
(define %firefox-build-id "20240304165820")
|
(define %firefox-build-id "20240318140215")
|
||||||
|
|
||||||
(define-public firefox
|
(define-public firefox
|
||||||
(package
|
(package
|
||||||
(inherit firefox-esr)
|
(inherit firefox-esr)
|
||||||
(name "firefox")
|
(name "firefox")
|
||||||
(version "123.0.1")
|
(version "124.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 "073lbl2gs7c08kr9h6r2jvl3cvj84h3pdh6aj151c3synravkp6m"))))
|
(base32 "1n692gfy61j4f3y81lyk16nm5gs8x84szadlrp70in1s28si4nil"))))
|
||||||
(arguments
|
(arguments
|
||||||
(substitute-keyword-arguments (package-arguments firefox-esr)
|
(substitute-keyword-arguments (package-arguments firefox-esr)
|
||||||
((#:phases phases)
|
((#:phases phases)
|
||||||
#~(modify-phases #$phases
|
#~(modify-phases #$phases
|
||||||
(replace 'set-build-id
|
(replace 'set-build-id
|
||||||
(lambda _
|
(lambda _
|
||||||
(setenv "MOZ_BUILD_DATE" #$%firefox-build-id)))))))
|
(setenv "MOZ_BUILD_DATE" #$%firefox-build-id)))
|
||||||
|
(replace 'remove-cargo-frozen-flag
|
||||||
|
(lambda _
|
||||||
|
;; Remove --frozen flag from cargo invokation, otherwise it'll
|
||||||
|
;; complain that it's not able to change Cargo.lock.
|
||||||
|
;; https://bugzilla.mozilla.org/show_bug.cgi?id=1726373
|
||||||
|
(substitute* "build/RunCbindgen.py"
|
||||||
|
(("args.append\\(\"--frozen\"\\)") "pass"))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(modify-inputs (package-native-inputs firefox-esr)
|
(modify-inputs (package-native-inputs firefox-esr)
|
||||||
(replace "rust" rust-firefox)
|
(replace "rust" rust-firefox)
|
||||||
|
@ -562,7 +569,7 @@ MOZ_ENABLE_WAYLAND=1 exec ~a $@\n"
|
||||||
"Full-featured browser client built from Firefox source tree, without
|
"Full-featured browser client built from Firefox source tree, without
|
||||||
the official icon and the name \"firefox\".")))
|
the official icon and the name \"firefox\".")))
|
||||||
|
|
||||||
;; As of Firefox 121.0, Firefox uses Wayland by default. This means we no longer need a seperate package
|
;; As of Firefox 121.0, Firefox uses Wayland by default. This means we no
|
||||||
;; for Firefox on Wayland.
|
;; longer need a seperate package for Firefox on Wayland.
|
||||||
(define-public firefox-wayland
|
(define-public firefox-wayland
|
||||||
(deprecated-package "firefox-wayland" firefox))
|
(deprecated-package "firefox-wayland" firefox))
|
||||||
|
|
Loading…
Reference in a new issue