Index | Thread | Search

From:
Leah Rowe <info@minifree.org>
Subject:
new port: LibreWolf Web browser
To:
ports@openbsd.org
Date:
Sat, 18 Apr 2026 16:32:13 +0100

Download raw body.

Thread
Hello OpenBSD ports team

I've recently ported LibreWolf web browser to OpenBSD. I have attached a 
tarball of my port, which is created for -current.

I recently decided I wanted to switch to OpenBSD on my main system, but 
was annoyed that LibreWolf wasn't available, so I ported it. It's a 
modified FireFox that removes telemetry/spyware and adds a bunch of 
privacy and security hardening features, and also comes with an 
adblocker turned on by default. An ideal port for OpenBSD in my opinion. 
You can find info about that in the port files themselves, or on the 
LibreWolf website.

This version is from the following Git repository, in branch "submit1", 
which I've created for review:

https://codeberg.org/vimuser/librewolf-openbsd-port/commits/branch/submit1

The "submit1" branch is what I'm submitting to OpenBSD, for their CVS 
-current tree (and potentially 7.9 if feasible). The "master" branch, in 
my Git repository, is where I commit changes, but submit1 is for OpenBSD 
review; if OpenBSD then wants further changes, I will create submit2, 
submit3, etc, until it gets merged.

You can see there the work I did on the port. Specifically, I copied 
www/mozilla-firefox first, then made the initial change on top of that, 
implementing the LibreWolf port.

The initial changes that I made, relative to www/mozilla-firefox, can be 
found here:

https://codeberg.org/vimuser/librewolf-openbsd-port/commit/b66909dff671dfae9350b3db84c60b0a32cff9e9

And fixed a few stragglers after the fact:

https://codeberg.org/vimuser/librewolf-openbsd-port/commit/4df54dd11d4b640cf8346db6a496be0989675bfc

https://codeberg.org/vimuser/librewolf-openbsd-port/commit/ba82e8699a2ff8bd3b840e67fd0a25ad3a9c67a0

https://codeberg.org/vimuser/librewolf-openbsd-port/commit/89862e961183bd097760111ddc90a9c05a8f15e9

https://codeberg.org/vimuser/librewolf-openbsd-port/commit/4d3fa0b23173116df9d91c580f4e86a3652d74c3

https://codeberg.org/vimuser/librewolf-openbsd-port/commit/786d3c38bb2f3eacc5acb2cfe4d0729683dd45d2

This port is designed to track all versioning, patching and other 
revisions made to the FireFox port, since LibreWolf is very similar to 
FireFox and closely maintains sync with upstream versioning at all times.

There are some idiosyncrasies of my LibreWolf port, unlike the FireFox port:

* LibreWolf uses a mozconfig, so CONFIGURE_ARGS and DEBUG_CONFIGURE_ARGS 
have no effect; my port uses a modified mozconfig, further patching it 
at build time via logic in pre-configure

* My mozconfig is copied from LibreWolf and then modified lightly; most 
configuration is done from the Makefile, in pre-configure

* I track upstream changes (LibreWolf) and adapt whatever changes they 
make, in my mozconfig

* Upstream (LibreWolf) tracks FireFox versions, but adds -REVISION, e.g. 
149.0.2 FireFox upstream becomes LibreWolf 149.0.2-1, and then LibreWolf 
might later do -2 instead, for certain revisions on top.

* I intend to regard LibreWolf -REVISION changes as the same major 
version in an OpenBSD context, because the OpenBSD LibreWolf package 
strips -REVISION, so e.g. 149.0.2-2 becomes just 149.0.2 in OpenBSD. If 
I change from e.g. -1 to -2, then I would update REVISION= in the 
OpenBSD port Makefile, but then later if LibreWolf released LibreWolf 
150, I would reset/remove REVISION, then reintroducing it for 150.0.X-1, 
-2 -3 and so on. This ensures that the LibreWolf version number on 
OpenBSD packages will always match the Mozilla FireFox version number, 
and only the REVISION (e.g. p1, p2, p3 etc) would potentially diverge.

At this time, my LibreWolf 149.0.2-2 port, as in this submission, 
perfectly matches the FireFox port in terms of logic/behaviour, 
including extra patching and configuration on top. The only difference 
is that I'm building the LibreWolf tarball, with LibreWolf branding.

In other words, I've only made the most surgical, least invasive changes 
possible. I aim to have this merged for the OpenBSD 7.9 release if that 
is possible, though I realise that I'm cutting it a bit close to release 
time, so it's possible that this will only be in -current for a while, 
and later merged in 8.0 instead.

I therefore ask for review. Thank you!

And here are some posts on my Mastodon, showing the LibreWolf build 
running on OpenBSD:

https://mas.to/@libreleah/116425868880318576

https://mas.to/@libreleah/116414547563747898

Everything should already work perfectly, including pledge/unveil and so 
on - as I said, I was extremely surgical, in my modifications relative 
to the FireFox port. I've based this directly on the FireFox port, and 
it even re-uses the www/mozilla module for example.

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