From: yaydn@protonmail.com Subject: [update] www/librewolf 157.0.1-1 To: Leah Rowe , "ports@openbsd.org" Date: Fri, 09 Oct 2026 19:11:24 +0000 Tested on current/amd64. An assist on for this update including security patch. I did the patch-lw_policies_json manually for this to build. Please let me know if something is missing. Have run it for tens of hours now. It was running so much faster on my potato that I rebuilt again to make sure all as in order. This fine? Comments, concerns, and/or testing welcome. Hope this helps. May you all have a good one. -- yaydn Index: Makefile =================================================================== RCS file: /cvs/ports/www/librewolf/Makefile,v diff -u -p -u -p -r1.21 Makefile --- Makefile 8 Oct 2026 08:47:45 -0000 1.21 +++ Makefile 8 Oct 2026 19:09:53 -0000 @@ -13,9 +13,8 @@ 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 = 157.0-1 +MOZILLA_DIST_VERSION = 157.0.1-1 MOZILLA_VERSION = ${MOZILLA_DIST_VERSION:C/-([0-9]+)$/pl\1/} -REVISION = 0 MOZILLA_PROJECT = librewolf MOZILLA_CODENAME = browser @@ -23,7 +22,7 @@ MAINTAINER = Leah Rowe arenaSize(); Index: patches/patch-lw_policies_json =================================================================== RCS file: /cvs/ports/www/librewolf/patches/patch-lw_policies_json,v diff -u -p -u -p -r1.7 patch-lw_policies_json --- patches/patch-lw_policies_json 30 Aug 2026 19:17:10 -0000 1.7 +++ patches/patch-lw_policies_json 8 Oct 2026 19:09:53 -0000 @@ -3,7 +3,7 @@ perhaps send these to librewolf upstream Index: lw/policies.json --- lw/policies.json.orig +++ lw/policies.json -@@ -1,26 +1,47 @@ +@@ -1,27 +1,46 @@ { "__COMMENT__ More Information": "https://github.com/mozilla/policy-templates/blob/master/README.md", "policies": { @@ -18,48 +18,47 @@ Index: lw/policies.json + }, + "AIControls": { + "Default": { -+ "Value": "blocked", -+ "Locked": true ++ "Value": "blocked", ++ "Locked": true + }, "Translations": { - "Value": "available" -+ "Value": "blocked", -+ "Locked": false ++ "Value": "blocked", ++ "Locked": false }, "PDFAltText": { - "Value": "blocked" -+ "Value": "blocked", -+ "Locked": false ++ "Value": "blocked", ++ "Locked": false }, "SmartTabGroups": { - "Value": "blocked" -+ "Value": "blocked", -+ "Locked": true ++ "Value": "blocked", ++ "Locked": true }, "LinkPreviewKeyPoints": { - "Value": "blocked" -+ "Value": "blocked", -+ "Locked": true ++ "Value": "blocked", ++ "Locked": true }, "SidebarChatbot": { - "Value": "blocked" -+ "Value": "blocked", -+ "Locked": true ++ "Value": "blocked", ++ "Locked": true }, "SmartWindow": { - "Value": "blocked" -+ "Value": "blocked", -+ "Locked": true ++ "Value": "blocked", ++ "Locked": true + }, + "SpeechRecognition": { +- "Value": "blocked" ++ "Value": "blocked", ++ "Locked": true } -- }, -+ -+ }, -+ -+ + }, "AppUpdateURL": "https://localhost", - "DisableAppUpdate": true, - "DisableDefaultBrowserAgent": true, -@@ -73,6 +94,7 @@ +@@ -76,6 +95,7 @@ "EnablePrompting": true }, "NoDefaultBookmarks": true, @@ -67,7 +66,7 @@ Index: lw/policies.json "OverridePostUpdatePage": "", "SkipTermsOfUse": true, "SupportMenu": { -@@ -84,6 +106,11 @@ +@@ -87,6 +107,11 @@ "SkipOnboarding": true, "MoreFromMozilla": false, "FirefoxLabs": false Index: patches/patch-mozconfig =================================================================== RCS file: /cvs/ports/www/librewolf/patches/patch-mozconfig,v diff -u -p -u -p -r1.3 patch-mozconfig --- patches/patch-mozconfig 1 Sep 2026 16:18:18 -0000 1.3 +++ patches/patch-mozconfig 8 Oct 2026 19:09:53 -0000 @@ -29,8 +29,8 @@ Index: mozconfig ac_add_options --disable-updater ac_add_options --disable-cargo-incremental ac_add_options --enable-hardening -@@ -13,8 +20,9 @@ ac_add_options --enable-release - ac_add_options --enable-rust-simd +@@ -14,8 +21,9 @@ ac_add_options --enable-rust-simd + ac_add_options --enable-proxy-bypass-protection # allow replacing malloc manually, will not affect regular systems # not compatible with ac_add_options --disable-jemalloc, which only works when preloading custom malloc -ac_add_options --enable-replace-malloc @@ -41,7 +41,7 @@ Index: mozconfig ac_add_options --with-app-name=librewolf ac_add_options --with-branding=browser/branding/librewolf -@@ -33,7 +41,19 @@ mk_add_options MOZ_TELEMETRY_REPORTING=0 +@@ -35,7 +43,19 @@ mk_add_options MOZ_TELEMETRY_REPORTING=0 export CFLAGS="-ftrivial-auto-var-init=zero -fwrapv -Wno-backend-plugin $CFLAGS" export CXXFLAGS="-ftrivial-auto-var-init=zero -fwrapv -Wno-backend-plugin $CXXFLAGS" Index: patches/patch-third_party_llama_cpp_moz_build =================================================================== RCS file: /cvs/ports/www/librewolf/patches/patch-third_party_llama_cpp_moz_build,v diff -u -p -u -p -r1.1 patch-third_party_llama_cpp_moz_build --- patches/patch-third_party_llama_cpp_moz_build 28 Aug 2026 19:04:38 -0000 1.1 +++ patches/patch-third_party_llama_cpp_moz_build 8 Oct 2026 19:09:53 -0000 @@ -17,7 +17,7 @@ Example error at compile time: Index: third_party/llama.cpp/moz.build --- third_party/llama.cpp/moz.build.orig +++ third_party/llama.cpp/moz.build -@@ -135,6 +135,18 @@ if CONFIG["OS_TARGET"] == "Linux": +@@ -174,6 +174,18 @@ if CONFIG["OS_TARGET"] == "Linux": OS_LIBS += [ "dl", ]