see attached. for -current

yaydn can port this to -stable


--
Company director, Minifree Ltd
Registered in England, No. 9361826 | VAT No. GB202190462
Registered Office: 19 Hilton Road, Canvey Island, Essex SS8 9QA, UK

From 2ba046d15de86f258109edb7be0700c68f205242 Mon Sep 17 00:00:00 2001
From: Leah Rowe <[email protected]>
Date: Wed, 25 Nov 2026 09:49:36 +0000
Subject: [PATCH 1/1] www/librewolf update: 161.0-1

for -current

backport to -stable to be done by yaydn

Signed-off-by: Leah Rowe <[email protected]>
---
 www/librewolf/Makefile                                    | 8 ++++----
 www/librewolf/distinfo                                    | 8 ++++----
 www/librewolf/files/pledge.socket                         | 7 -------
 www/librewolf/files/unveil.socket                         | 1 -
 .../patch-python_mozbuild_mozbuild_rust_commands_py       | 2 +-
 ...urity_manager_pki_resources_content_exceptionDialog_js | 2 +-
 .../patch-third_party_angle_angle_common_gn_moz_build     | 2 +-
 www/librewolf/pkg/PLIST                                   | 4 ----
 8 files changed, 11 insertions(+), 23 deletions(-)
 delete mode 100644 www/librewolf/files/pledge.socket
 delete mode 100644 www/librewolf/files/unveil.socket

diff --git a/www/librewolf/Makefile b/www/librewolf/Makefile
index c58513b3317..cf8ced6f480 100644
--- a/www/librewolf/Makefile
+++ b/www/librewolf/Makefile
@@ -13,7 +13,7 @@ ONLY_FOR_ARCHS =	amd64 aarch64 riscv64
 
 # If upstream adds revision number -x, it will become plx in OpenBSD, e.g.
 # librewolf-149.0.2-2 (upstream) becomes librewolf-149.0.2pl2 (patch level 2)
-MOZILLA_DIST_VERSION =	160.0.1-1
+MOZILLA_DIST_VERSION =	161.0-1
 MOZILLA_VERSION =	${MOZILLA_DIST_VERSION:C/-([0-9]+)$/pl\1/}
 
 MOZILLA_PROJECT =	librewolf
@@ -23,13 +23,13 @@ MAINTAINER =		Leah Rowe <[email protected]> \
 
 # LibreWolf doesn't provide PGO data, but we use the data
 # provided by FireFox releases, re-using the OpenBSD distfile
-MOZILLA_PROFDATA_TASKID =	QEgBdgvWQNiOpGa2Po540A
+MOZILLA_PROFDATA_TASKID =	U6uPqU2IT0-NLTh2W2O5dA
 FFVERSION =			${MOZILLA_DIST_VERSION:C/-([0-9]+)$//}
 FFDIST =			firefox-${FFVERSION}.source
 DISTFILES.profdata = ${FFDIST}-profdata.tar.xz{profdata.tar.xz}
 
 HOMEPAGE =	https://librewolf.net/
-SO_VERSION =	9.0
+SO_VERSION =	10.0
 # Bump minor ver if shlibs deleted in components dir to avoid pkg_add -r issues
 MOZILLA_LIBS =	mozavcodec mozavutil mozgtk mozinference mozwayland xul \
 		clearkey gkcodecs lgpllibs mozsqlite3
@@ -204,7 +204,7 @@ post-install:
 	${SUBST_DATA} ${FILESDIR}/all-openbsd.js ${MOZPREF}/all-openbsd.js
 
 .for f in pledge unveil
-.for t in content gpu main rdd socket utility
+.for t in content gpu main rdd utility
 	${INSTALL_DATA} ${FILESDIR}/${f}.${t} ${MOZPREF}/
 .endfor
 .endfor
diff --git a/www/librewolf/distinfo b/www/librewolf/distinfo
index c5cf69cba7a..a3db2050897 100644
--- a/www/librewolf/distinfo
+++ b/www/librewolf/distinfo
@@ -1,4 +1,4 @@
-SHA256 (mozilla/firefox-160.0.1.source-profdata.tar.xz) = H0A9gPZ//ErW+iGNrONuU1An2mDX+KAefuQEePcDk58=
-SHA256 (mozilla/librewolf-160.0.1-1.source.tar.gz) = vNXWp4L3E0WHlM04EJ7Tt+jlfyNSMznuePmveNDHGZA=
-SIZE (mozilla/firefox-160.0.1.source-profdata.tar.xz) = 19178076
-SIZE (mozilla/librewolf-160.0.1-1.source.tar.gz) = 1180354700
+SHA256 (mozilla/firefox-161.0.source-profdata.tar.xz) = YKU+P+2AZaT/8aWj/UQpOCQmVxlYbPAuMF25yQPv46o=
+SHA256 (mozilla/librewolf-161.0-1.source.tar.gz) = gWRv9dD9pYI5Jw7elYvWZV9QKy44kcx+nOlcM2KWQNM=
+SIZE (mozilla/firefox-161.0.source-profdata.tar.xz) = 19134408
+SIZE (mozilla/librewolf-161.0-1.source.tar.gz) = 1183573109
diff --git a/www/librewolf/files/pledge.socket b/www/librewolf/files/pledge.socket
deleted file mode 100644
index bc2d3b476a7..00000000000
--- a/www/librewolf/files/pledge.socket
+++ /dev/null
@@ -1,7 +0,0 @@
-# wait until network.process.enabled and network.http.network_access_on_socket_process.enabled
-stdio
-rpath # at least for /etc/resolv.conf & /etc/localtime
-recvfd
-sendfd
-inet
-dns
diff --git a/www/librewolf/files/unveil.socket b/www/librewolf/files/unveil.socket
deleted file mode 100644
index 4bd339fd76c..00000000000
--- a/www/librewolf/files/unveil.socket
+++ /dev/null
@@ -1 +0,0 @@
-# disable
diff --git a/www/librewolf/patches/patch-python_mozbuild_mozbuild_rust_commands_py b/www/librewolf/patches/patch-python_mozbuild_mozbuild_rust_commands_py
index 4d37f57bebe..25251755a5a 100644
--- a/www/librewolf/patches/patch-python_mozbuild_mozbuild_rust_commands_py
+++ b/www/librewolf/patches/patch-python_mozbuild_mozbuild_rust_commands_py
@@ -5,7 +5,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1640982
 Index: python/mozbuild/mozbuild/rust_commands.py
 --- python/mozbuild/mozbuild/rust_commands.py.orig
 +++ python/mozbuild/mozbuild/rust_commands.py
-@@ -434,7 +434,7 @@ def _rustc_flags(cmd, substs, invocation):
+@@ -440,7 +440,7 @@ def _rustc_flags(cmd, substs, invocation):
          flags += substs.get("MOZ_RUST_LIBRARY_RUSTCFLAGS")
  
      if applies_library_lto(cmd.kind, cmd.lto, substs):
diff --git a/www/librewolf/patches/patch-security_manager_pki_resources_content_exceptionDialog_js b/www/librewolf/patches/patch-security_manager_pki_resources_content_exceptionDialog_js
index c434b91530e..a7d456db620 100644
--- a/www/librewolf/patches/patch-security_manager_pki_resources_content_exceptionDialog_js
+++ b/www/librewolf/patches/patch-security_manager_pki_resources_content_exceptionDialog_js
@@ -2,7 +2,7 @@ Focus the 'add exception' button in the unknown ssl cert warning window
 Index: security/manager/pki/resources/content/exceptionDialog.js
 --- security/manager/pki/resources/content/exceptionDialog.js.orig
 +++ security/manager/pki/resources/content/exceptionDialog.js
-@@ -223,6 +223,7 @@ function updateCertStatus() {
+@@ -211,6 +211,7 @@ function updateCertStatus() {
        }
        // In these cases, we do want to enable the "Add Exception" button
        gDialog.getButton("extra1").disabled = false;
diff --git a/www/librewolf/patches/patch-third_party_angle_angle_common_gn_moz_build b/www/librewolf/patches/patch-third_party_angle_angle_common_gn_moz_build
index ac02328f005..71266263cfb 100644
--- a/www/librewolf/patches/patch-third_party_angle_angle_common_gn_moz_build
+++ b/www/librewolf/patches/patch-third_party_angle_angle_common_gn_moz_build
@@ -4,7 +4,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=2057158
 Index: third_party/angle/angle_common_gn/moz.build
 --- third_party/angle/angle_common_gn/moz.build.orig
 +++ third_party/angle/angle_common_gn/moz.build
-@@ -149,6 +149,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
+@@ -150,6 +150,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
      DEFINES["__STDC_CONSTANT_MACROS"] = True
      DEFINES["__STDC_FORMAT_MACROS"] = True
  
diff --git a/www/librewolf/pkg/PLIST b/www/librewolf/pkg/PLIST
index c73c905d5b8..51aa49d9bf0 100644
--- a/www/librewolf/pkg/PLIST
+++ b/www/librewolf/pkg/PLIST
@@ -24,8 +24,6 @@ lib/${MOZILLA_PROJECT}/browser/defaults/preferences/pledge.main
 @sample ${SYSCONFDIR}/${MOZILLA_PROJECT}/pledge.main
 lib/${MOZILLA_PROJECT}/browser/defaults/preferences/pledge.rdd
 @sample ${SYSCONFDIR}/${MOZILLA_PROJECT}/pledge.rdd
-lib/${MOZILLA_PROJECT}/browser/defaults/preferences/pledge.socket
-@sample ${SYSCONFDIR}/${MOZILLA_PROJECT}/pledge.socket
 lib/${MOZILLA_PROJECT}/browser/defaults/preferences/pledge.utility
 @sample ${SYSCONFDIR}/${MOZILLA_PROJECT}/pledge.utility
 lib/${MOZILLA_PROJECT}/browser/defaults/preferences/unveil.content
@@ -36,8 +34,6 @@ lib/${MOZILLA_PROJECT}/browser/defaults/preferences/unveil.main
 @sample ${SYSCONFDIR}/${MOZILLA_PROJECT}/unveil.main
 lib/${MOZILLA_PROJECT}/browser/defaults/preferences/unveil.rdd
 @sample ${SYSCONFDIR}/${MOZILLA_PROJECT}/unveil.rdd
-lib/${MOZILLA_PROJECT}/browser/defaults/preferences/unveil.socket
-@sample ${SYSCONFDIR}/${MOZILLA_PROJECT}/unveil.socket
 lib/${MOZILLA_PROJECT}/browser/defaults/preferences/unveil.utility
 @sample ${SYSCONFDIR}/${MOZILLA_PROJECT}/unveil.utility
 lib/${MOZILLA_PROJECT}/browser/omni.ja
-- 
2.56.1

Attachment: OpenPGP_0x5C654067D383B1FF.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to