update regarding my librewolf openbsd port: everything i said earlier about mozilla's allocator is a load of bollocks.
-
in other words: I said it was bollocks, but it probably wasn't. there *is* an incompatibility with mozilla's custom allocator, on openbsd, but www/mozilla-firefox isn't using it. www/librewolf is! because librewolf is awesome, and cares about its linux users, so wants to give them a 0.5% performance increase. yes.
yes.
yes
librewolf 143's lw/mozconfig.new doesn't have --enable-replace-malloc and --enable-jemalloc in it. but that same file *does* have these, in librewolf 149.
-
librewolf 143's lw/mozconfig.new doesn't have --enable-replace-malloc and --enable-jemalloc in it. but that same file *does* have these, in librewolf 149.
ALSO FUN FACT:
in that same file, lw/mozconfig.new, librewolf is enabling a bunch of hardening options that openbsd *also enables* on www/mozilla-firefox, but they seem to be entirely redundant on the openbsd port. i can remove most of the extra autoconf options in www/librewolf since librewolf is already applying them!
yes
-
ALSO FUN FACT:
in that same file, lw/mozconfig.new, librewolf is enabling a bunch of hardening options that openbsd *also enables* on www/mozilla-firefox, but they seem to be entirely redundant on the openbsd port. i can remove most of the extra autoconf options in www/librewolf since librewolf is already applying them!
yes
+ac_add_options --enable-application=browser
+
+ac_add_options --allow-addon-sideload
+ac_add_options --disable-crashreporter
+ac_add_options --disable-debug
+ac_add_options --disable-default-browser-agent
+ac_add_options --disable-tests
+ac_add_options --disable-updater
+ac_add_options --disable-cargo-incremental
+ac_add_options --enable-hardening
+ac_add_options --enable-stl-hardening
+ac_add_options --enable-optimize
+ac_add_options --enable-release
+ac_add_options --enable-rust-simd -
+ac_add_options --enable-application=browser
+
+ac_add_options --allow-addon-sideload
+ac_add_options --disable-crashreporter
+ac_add_options --disable-debug
+ac_add_options --disable-default-browser-agent
+ac_add_options --disable-tests
+ac_add_options --disable-updater
+ac_add_options --disable-cargo-incremental
+ac_add_options --enable-hardening
+ac_add_options --enable-stl-hardening
+ac_add_options --enable-optimize
+ac_add_options --enable-release
+ac_add_options --enable-rust-simdbut the actual place to patch is mozconfig (file) in the root of the extracted tarball directory
i... couldn't find this in git grep earlier, because of .gitignore. so i found it manually. librewolf's build system was still adding the malloc-replace options. it should work now.
this is literally the only problem with the librewolf port. needing to disable mozjemalloc. then it should work.
-
but the actual place to patch is mozconfig (file) in the root of the extracted tarball directory
i... couldn't find this in git grep earlier, because of .gitignore. so i found it manually. librewolf's build system was still adding the malloc-replace options. it should work now.
this is literally the only problem with the librewolf port. needing to disable mozjemalloc. then it should work.
FUN FACT: i hate mozilla.
-
FUN FACT: i hate mozilla.
absolutely bird-brained build system. gnu autotools, plus mozilla = pain
i feel like the french guy in the matrix, when he just keeps saying "ass of shit, motherfucker, piece of shit" and so on, repeatedly, in french (that's what he's saying to neo when he says he loves the french language because of how cursing with it is like, and i quote, "rubbing your ass in silk")
Nom de Dieu de putain de bordel de merde de saloperie de connard d'enculรฉ de ta mรจre, firefox.
yes.
-
absolutely bird-brained build system. gnu autotools, plus mozilla = pain
i feel like the french guy in the matrix, when he just keeps saying "ass of shit, motherfucker, piece of shit" and so on, repeatedly, in french (that's what he's saying to neo when he says he loves the french language because of how cursing with it is like, and i quote, "rubbing your ass in silk")
Nom de Dieu de putain de bordel de merde de saloperie de connard d'enculรฉ de ta mรจre, firefox.
yes.
Adding configure options from /home/leah/portdev/ports-pobj/librewolf-149.0.2/librewolf-149.0.2-2/mozconfig
--enable-application=browser
--allow-addon-sideload
--disable-crashreporter
--disable-debug
--disable-default-browser-agent
--disable-tests
--disable-updater
--disable-cargo-incremental
--enable-hardening
--enable-stl-hardening
--enable-optimize
--enable-release
--enable-rust-simd
--with-app-name=librewolf^ no --enable-replace-malloc or --enable-jemalloc
yay
-
Adding configure options from /home/leah/portdev/ports-pobj/librewolf-149.0.2/librewolf-149.0.2-2/mozconfig
--enable-application=browser
--allow-addon-sideload
--disable-crashreporter
--disable-debug
--disable-default-browser-agent
--disable-tests
--disable-updater
--disable-cargo-incremental
--enable-hardening
--enable-stl-hardening
--enable-optimize
--enable-release
--enable-rust-simd
--with-app-name=librewolf^ no --enable-replace-malloc or --enable-jemalloc
yay
because librewofl uses a mozconfig, the cli-based configure options in www/mozilla-firefox are useless for librewolf.
but i can't just patch mozconfig, because variables like e.g. $PREFIX are used by openbsd ports.
what i have to do then: put a custom mozconfig is files/
have e.g. @PREFIX@ in there, and sed search/replace with the variable
do this in pre-configure, in the Makefile. that's my next job.
yes. i *will* tame this ungodly build system.
-
because librewofl uses a mozconfig, the cli-based configure options in www/mozilla-firefox are useless for librewolf.
but i can't just patch mozconfig, because variables like e.g. $PREFIX are used by openbsd ports.
what i have to do then: put a custom mozconfig is files/
have e.g. @PREFIX@ in there, and sed search/replace with the variable
do this in pre-configure, in the Makefile. that's my next job.
yes. i *will* tame this ungodly build system.
there is a lot of overlap. openbsd's firefox port already adds a bunch of hardened autoconf (./configure) options, that librewolf also does. librewolf and openbsd are two peas in a pod.
it baffles me that nobody tried porting librewolf before i did. i mean, someone did, but i'm unsure if they sent it to openbsd. they simply maintained a package repo themselves, but stopped after obsd 7.1
i couldn't find their sources anymore, so i started from scratch, with my own fresh librewolf port.
-
there is a lot of overlap. openbsd's firefox port already adds a bunch of hardened autoconf (./configure) options, that librewolf also does. librewolf and openbsd are two peas in a pod.
it baffles me that nobody tried porting librewolf before i did. i mean, someone did, but i'm unsure if they sent it to openbsd. they simply maintained a package repo themselves, but stopped after obsd 7.1
i couldn't find their sources anymore, so i started from scratch, with my own fresh librewolf port.
Wow. Nice!


I do need to try one of the BSD's one day.
Which one would be better for someone unfamiliar with this OS?

-
R relay@relay.infosec.exchange shared this topic