summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Eure <ian@retrospec.tv>2026-06-30 18:54:22 -0700
committerIan Eure <ian@retrospec.tv>2026-07-02 17:25:39 -0700
commit647956378ef748fa677b9c3b13bbcb8cda63ea37 (patch)
tree91fc781bfddc5d592e04a1bf8ccd0811459cfd2c
parentf8771f7500aac98c04182bb00f7f440096421707 (diff)
gnu: librewolf: Update to 152.0.4-1 [security-fixes].
Contains fixes for: CVE-2026-14241: Memory safety bugs fixed in Firefox 152.0.4 * gnu/packages/librewolf.scm (librewolf): Update to 152.0.4-1. * gnu/packages/patches/librewolf-neuter-locale-download.patch: Adjust to apply cleanly. Change-Id: I80a5b8be81fc178cac1bd7a102cd48ba7b8c72d7
-rw-r--r--gnu/packages/librewolf.scm8
-rw-r--r--gnu/packages/patches/librewolf-neuter-locale-download.patch7
2 files changed, 8 insertions, 7 deletions
diff --git a/gnu/packages/librewolf.scm b/gnu/packages/librewolf.scm
index 36574a272f1..f7e357022a2 100644
--- a/gnu/packages/librewolf.scm
+++ b/gnu/packages/librewolf.scm
@@ -245,17 +245,17 @@
245;; It's used for cache validation and therefore can lead to strange bugs. 245;; It's used for cache validation and therefore can lead to strange bugs.
246;; ex: date '+%Y%m%d%H%M%S' 246;; ex: date '+%Y%m%d%H%M%S'
247;; or: (format-time-string "%Y%m%d%H%M%S") 247;; or: (format-time-string "%Y%m%d%H%M%S")
248(define %librewolf-build-id "20260623152004") 248(define %librewolf-build-id "20260630184620")
249 249
250(define-public librewolf 250(define-public librewolf
251 (package 251 (package
252 (name "librewolf") 252 (name "librewolf")
253 (version "152.0.2-1") 253 (version "152.0.4-1")
254 (source 254 (source
255 (make-librewolf-source 255 (make-librewolf-source
256 #:version version 256 #:version version
257 #:firefox-hash "0fsxg857d8lpypzgn3np1r1mqi751x8l60pn1zpmxiwywxag9wvr" 257 #:firefox-hash "1fqna8xych2pslv9w73dsiv6bm02i7a8az9h4wx3b9fd08i9i2gx"
258 #:librewolf-hash "0zw1nyp4mhx3ircspamywyghdb9wyfzj9k4z643xlvadxcfg808a" 258 #:librewolf-hash "01llbmc5nh1pfa4fyvpkzg27f18yrv8ny8c6yc9fqscqkjazgcmi"
259 #:l10n firefox-l10n)) 259 #:l10n firefox-l10n))
260 (build-system gnu-build-system) 260 (build-system gnu-build-system)
261 (arguments 261 (arguments
diff --git a/gnu/packages/patches/librewolf-neuter-locale-download.patch b/gnu/packages/patches/librewolf-neuter-locale-download.patch
index da300542f52..2f6c86638cb 100644
--- a/gnu/packages/patches/librewolf-neuter-locale-download.patch
+++ b/gnu/packages/patches/librewolf-neuter-locale-download.patch
@@ -2,16 +2,17 @@ diff --git a/scripts/librewolf-patches.py b/scripts/librewolf-patches.py
2index 48dc6bc..01a6c58 100755 2index 48dc6bc..01a6c58 100755
3--- a/scripts/librewolf-patches.py 3--- a/scripts/librewolf-patches.py
4+++ b/scripts/librewolf-patches.py 4+++ b/scripts/librewolf-patches.py
5@@ -147,12 +147,6 @@ def librewolf_patches(): 5@@ -150,12 +150,6 @@
6 with open(file, "w") as f: 6 with open(file, "w") as f:
7 f.write("{}-{}".format(version,release)) 7 f.write("{}-{}".format(version,release))
8 8
9- print("-> Downloading locales from https://github.com/mozilla-l10n/firefox-l10n") 9- print("-> Downloading locales from https://github.com/mozilla-l10n/firefox-l10n")
10- with TemporaryDirectory() as tmpdir: 10- with TemporaryDirectory() as tmpdir:
11- exec(f"wget -qO {tmpdir}/l10n.zip 'https://codeload.github.com/mozilla-l10n/firefox-l10n/zip/refs/heads/main'") 11- exec(f"curl -so {tmpdir}/l10n.zip 'https://codeload.github.com/mozilla-l10n/firefox-l10n/zip/refs/heads/main'")
12- exec(f"unzip -qo {tmpdir}/l10n.zip -d {tmpdir}/l10n") 12- exec(f"unzip -qo {tmpdir}/l10n.zip -d {tmpdir}/l10n")
13- exec(f"mv {tmpdir}/l10n/firefox-l10n-main lw/l10n") 13- exec(f"mv {tmpdir}/l10n/firefox-l10n-main lw/l10n")
14- 14-
15 print("-> Patching appstrings.properties") 15 print("-> Patching appstrings.properties")
16 # Why is "Firefox" hardcoded there??? 16 # Why is "Firefox" hardcoded there???
17 exec("find . -path '*/appstrings.properties' -exec sed -i s/Firefox/LibreWolf/ {} \;") 17 exec("find . -path '*/appstrings.properties' -exec sed -i s/Firefox/LibreWolf/ {} \\;")
18