gnu: librewolf: Update to 134.0.1-1 [security fixes].

New upstream release.  Some minor tweaks needed, like switching from gzip to
pigz, updating icu4c, and ensuring it builds with the correct Rust version.

CVE-2025-0237: WebChannel APIs susceptible to confused deputy attack
CVE-2025-0238: Use-after-free when breaking lines in text
CVE-2025-0239: Alt-Svc ALPN validation failure when redirected
CVE-2025-0240: Compartment mismatch when parsing JavaScript JSON
               module
CVE-2025-0241: Memory corruption when using JavaScript Text
               Segmentation
CVE-2025-0242: Memory safety bugs fixed in Firefox 134, Thunderbird
               134, Firefox ESR 115.19, Firefox ESR 128.6, Thunderbird
               115.19, and Thunderbird 128.6
CVE-2025-0243: Memory safety bugs fixed in Firefox 134, Thunderbird
               134, Firefox ESR 128.6, and Thunderbird 128.6
CVE-2025-0244: Address bar spoofing using an invalid protocol scheme
               on Firefox for Android
CVE-2025-0245: Lock screen setting bypass in Firefox Focus for Android
CVE-2025-0246: Address bar spoofing using an invalid protocol scheme
               on Firefox for Android
CVE-2025-0247: Memory safety bugs fixed in Firefox 134 and Thunderbird
               134

* gnu/packages/librewolf.scm (librewolf): Update to 134.0.1-1.

Change-Id: I027bf6f1541b0e7bec9116b2d6b39ab606813b23
This commit is contained in:
Ian Eure 2024-12-15 10:51:58 -08:00
parent 066bb7bd00
commit 18338b8524
No known key found for this signature in database
GPG key ID: 8499AC88F1A71CF2

View file

@ -154,7 +154,7 @@
#+(canonical-package xz) #+(canonical-package xz)
#+(canonical-package sed) #+(canonical-package sed)
#+(canonical-package grep) #+(canonical-package grep)
#+(canonical-package gzip) #+(canonical-package pigz)
#+(canonical-package tar))) #+(canonical-package tar)))
(set-path-environment-variable (set-path-environment-variable
"PYTHONPATH" "PYTHONPATH"
@ -194,26 +194,28 @@
"torbrowser-compare-paths.patch" "torbrowser-compare-paths.patch"
"librewolf-use-system-wide-dir.patch"))))) "librewolf-use-system-wide-dir.patch")))))
;; Define the versions of rust needed to build librewolf, trying to match ;;; Define the versions of rust needed to build firefox, trying to match
;; upstream. See the file taskcluster/ci/toolchain/rust.yml at ;;; upstream. See table at [0], `Uses' column for the specific version.
;; https://searchfox.org under the particular firefox release, like ;;; Using `rust' will likely lead to a newer version then listed in the table,
;; mozilla-esr102. ;;; but since in Guix only the latest packaged Rust is officially supported,
(define rust-librewolf rust) ; 1.75 is the default in Guix, 1.65 is the minimum. ;;; it is a tradeoff worth making.
;;; 0: https://firefox-source-docs.mozilla.org/writing-rust-code/update-policy.html
(define rust-librewolf rust-1.81)
;; Update this id with every update to its release date. ;; Update this id with every 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.
;; ex: date '+%Y%m%d%H%M%S' ;; ex: date '+%Y%m%d%H%M%S'
(define %librewolf-build-id "20241130102406") (define %librewolf-build-id "20250121184331")
(define-public librewolf (define-public librewolf
(package (package
(name "librewolf") (name "librewolf")
(version "133.0-1") (version "134.0.1-1")
(source (source
(make-librewolf-source (make-librewolf-source
#:version version #:version version
#:firefox-hash "0q6cqfnwc2x09frdvsndmhck8ixrnbl281j9rqw5w8bd7fd2qas9" #:firefox-hash "1rb54b62zcmhabmx3rsd5badv9wwih6h19a0g80c03qgwwy8b8g3"
#:librewolf-hash "1xf7gx3xm3c7dhch9gwpb0xp11lcyim1nrbm8sjljxdcs7iq9jy4")) #:librewolf-hash "0bcjk3pkyq2w39n022kcpl8nqd8ng9653jc8gklfrfw9avwmpmk2"
#:l10n firefox-l10n)) #:l10n firefox-l10n))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
@ -666,7 +668,7 @@
gtk+ gtk+
gtk+-2 gtk+-2
hunspell hunspell
icu4c-73 icu4c-75
jemalloc jemalloc
libcanberra libcanberra
libevent libevent