Index | Thread | Search

From:
Leah Rowe <info@minifree.org>
Subject:
Re: PATCH www/librewolf: make it a standalone port
To:
"ports@openbsd.org" <ports@openbsd.org>
Date:
Sat, 5 Sep 2026 15:04:17 +0100

Download raw body.

Thread
please ignore this patch

i will keep librewolf using www/mozilla for now

i have an improved version of the patch that is much cleaner, but still 
needs some tweaking.

for now, i will simply update librewolf as always, using tnhe current 
design. i'm about to send a simple patch that just updates it to 
librewolf 155.0.1-1


Am 03.09.26 um 11:13 schrieb Leah Rowe:
> Hi everyone,
>
> the following patch makes www/librewolf a standalone port, instead of 
> re-using www/mozilla. it's the opposite of what i was going for earlier.
>
> librewolf makes a number of extensive changes to firefox, and i want 
> to make a lot more changes in the future to how it builds, in ways 
> that make treading carefully around the www/mozilla architecture a bit 
> troublesome.
>
> i removed mozconfig, now i generate it programatically
>
> i removed the policy patch because it's redundant. librewolf already 
> does all of openbsd's hardening. my patch to it only locked the AI 
> settings, but AI is still turned off by default in librewolf. i think 
> the user should have a choice whether to turn it back on if they want 
> to anyway. it's not for me to decide what someone does with their 
> computer, which by extension means their web browser.
>
> to make it standalone, i cherry-picked only what i needed from the 
> mozilla/ module
>
> i removed some global variables in the makefile (MOZ ones that i had 
> introduced), because they were ugly. the logic now looks more similar 
> to the firefox port
>
> this is basically a massive cleanup patch for librewolf. this is how i 
> should have implemented the port originally, and in fact was how i 
> implemented an earlier version of the port before openbsd merged it. i 
> will of course still sync with changes to the firefox port where 
> appropriate, but this new design gives me a lot more flexibility to 
> modify the port without stepping on Landry's toes
>
> it builds and runs perfectly.
>
> some of those hardened configure options could be added to the firefox 
> port, and i will investigate this at a later date
>
-- 
Company director, Minifree Ltd
Registered in England, No. 9361826 | VAT No. GB202190462
Registered Office: 19 Hilton Road, Canvey Island, Essex SS8 9QA, UK