Hi everyone,
I hereby announce that I am resuming my regular work maintaining the LibreWolf port in OpenBSD. I announced two months ago that I was taking a brief hiatus from the work, and I left yaydn exclusively in charge of maintaining the port.
I would like to continue working with yaydn, as this person has done stellar work while I was away, so maybe we can work something out.
Anyway:Here is a patch (sorry, I still haven't learned CVS. I patched the GitHub mirror).
It fixes the following:* Brings AI policy in line with www/mozilla-firefox. LibreWolf already turned off AI the same way OpenBSD's ff port does, but the OpenBSD ff also locked those toggles. I've locked them accordingly in the LibreWolf port, as applied in the ff port.
* Minor update to mozconfig (MOZ_APP_REMOTINGNAME is now properly exported as per upstream policy)
* Redundant WANTLIB entries removed from the Makefile I say again:I'm back. I shall continue maintaining this port full-time now. I'm early. I said I'd be back in October, but that I might be back in late August or so. The "might" clause has been executed :)
-- Company director, Minifree Ltd Registered in England, No. 9361826 | VAT No. GB202190462 Registered Office: 19 Hilton Road, Canvey Island, Essex SS8 9QA, UK
From 7b0886d7e7c6d63fc1f7faef442eba62b21c4547 Mon Sep 17 00:00:00 2001 From: Leah Rowe <[email protected]> Date: Sat, 29 Aug 2026 13:43:03 +0100 Subject: [PATCH 1/1] Update LibreWolf policy and mozconfig Recent updates to LibreWolf did not incorporate the new disablement policy regarding AI. It should be noted that LibreWolf upstream already disabled these the same way, but did not lock these settings the same way. I have made OpenBSD's LibreWolf port configure AI the same way as the FireFox port (turn it all off and lock the toggles). A minor change to mozconfig has also been made, exporting the MOZ_APP_REMOTINGNAME string correctly. This change is imported from upstream's newest mozconfig. I also removed two unnecessary WANTLIB entries. Xtst and freebl3 are not used by www/mozilla-firefox. I'm not sure why freebl3 was added by yaydn (it was not explained), so I've simply removed it. The firefox port already removed Xtst several updates ago. As the current LibreWolf version in OpenBSD is up to date, this patch is therefore a revision only. REVISION has been updated in the Makefile accordingly. Signed-off-by: Leah Rowe <[email protected]> --- www/librewolf/Makefile | 3 +- www/librewolf/files/mozconfig-openbsd | 4 ++ www/librewolf/patches/patch-lw_policies_json | 75 +++++++++++++++++--- 3 files changed, 72 insertions(+), 10 deletions(-) diff --git a/www/librewolf/Makefile b/www/librewolf/Makefile index 9a215e1e3ab..7ad98e9ae31 100644 --- a/www/librewolf/Makefile +++ b/www/librewolf/Makefile @@ -15,6 +15,7 @@ ONLY_FOR_ARCHS = amd64 aarch64 riscv64 # librewolf-149.0.2-2 (upstream) becomes librewolf-149.0.2pl2 (patch level 2) MOZILLA_DIST_VERSION = 154.0.1-3 MOZILLA_VERSION = ${MOZILLA_DIST_VERSION:C/-([0-9]+)$/pl\1/} +REVISION = 0 MOZILLA_PROJECT = librewolf MOZILLA_CODENAME = browser @@ -59,7 +60,7 @@ BUILD_DEPENDS += devel/py-setuptools RUN_DEPENDS = graphics/ffmpeg # uses pledge() -WANTLIB += Xrandr Xtst freebl3 +WANTLIB += Xrandr CONFIGURE_STYLE = simple CONFIGURE_SCRIPT = ${MODPY_BIN} ${WRKSRC}/configure.py diff --git a/www/librewolf/files/mozconfig-openbsd b/www/librewolf/files/mozconfig-openbsd index 2ef2958106d..eb5b8aebe8f 100644 --- a/www/librewolf/files/mozconfig-openbsd +++ b/www/librewolf/files/mozconfig-openbsd @@ -45,8 +45,12 @@ ac_add_options --with-l10n-base=$PWD/lw/l10n # OpenBSD www/firefox doesn't use this, so we won't. Disabling. # ac_add_options --enable-bootstrap +# upstream does: MOZ_TELEMETRY_REPORTING= # upstream does: MOZ_REQUIRE_SIGNING= # upstream does: MOZILLA_OFFICIAL=1 +# upstream does: export MOZ_APP_REMOTINGNAME=LibreWolf + +export MOZ_APP_REMOTINGNAME=LibreWolf mk_add_options MOZ_CRASHREPORTER=0 mk_add_options MOZ_DATA_REPORTING=0 diff --git a/www/librewolf/patches/patch-lw_policies_json b/www/librewolf/patches/patch-lw_policies_json index f4d54544311..2aea6f6bafe 100644 --- a/www/librewolf/patches/patch-lw_policies_json +++ b/www/librewolf/patches/patch-lw_policies_json @@ -3,14 +3,71 @@ perhaps send these to librewolf upstream as well Index: lw/policies.json --- lw/policies.json.orig +++ lw/policies.json -@@ -30,6 +30,10 @@ - "DisableSetDesktopBackground": false, - "DisableTelemetry": true, - "DontCheckDefaultBrowser": true, +@@ -1,26 +1,39 @@ + { + "__COMMENT__ More Information": "https://github.com/mozilla/policy-templates/blob/master/README.md", + "policies": { +- "AIControls": { ++ "AIControls": { ++ "Default": { ++ "Value": "blocked", ++ "Locked": true ++ }, + "Translations": { +- "Value": "available" ++ "Value": "blocked", ++ "Locked": false + }, + "PDFAltText": { +- "Value": "blocked" ++ "Value": "blocked", ++ "Locked": false + }, + "SmartTabGroups": { +- "Value": "blocked" ++ "Value": "blocked", ++ "Locked": true + }, + "LinkPreviewKeyPoints": { +- "Value": "blocked" ++ "Value": "blocked", ++ "Locked": true + }, + "SidebarChatbot": { +- "Value": "blocked" ++ "Value": "blocked", ++ "Locked": true + }, + "SmartWindow": { +- "Value": "blocked" ++ "Value": "blocked", ++ "Locked": true + } +- }, ++ ++ }, ++ ++ + "AppUpdateURL": "https://localhost", + "DisableAppUpdate": true, + "DisableDefaultBrowserAgent": true, +@@ -73,6 +86,7 @@ + "EnablePrompting": true + }, + "NoDefaultBookmarks": true, + "GoToIntranetSiteForSingleWordEntryInAddressBar": true, -+ "GenerativeAI": { -+ "Enabled": false + "OverridePostUpdatePage": "", + "SkipTermsOfUse": true, + "SupportMenu": { +@@ -84,6 +98,11 @@ + "SkipOnboarding": true, + "MoreFromMozilla": false, + "FirefoxLabs": false + }, - "WebsiteFilter": { - "Block": [ - "https://localhost/*" ++ "SearchEngines": { ++ "Remove": [ ++ "Perplexity" ++ ] + } + } + } -- 2.47.3
OpenPGP_0x5C654067D383B1FF.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature
