Category: FreeBSD
Anything related to FreeBSD
Migrating to Python 3.8
Edit /etc/make.conf and /usr/local/etc/synth/LiveSystem-make.conf, changing DEFAULT_VERSIONS+=python=3.7 to DEFAULT_VERSIONS+=python=3.8, and DEFAULT_VERSIONS+=python3=3.7 to DEFAULT_VERSIONS+=python3=python3.8.
Read More → Migrating to Python 3.8FreeBSD 13 and W^X memory mapping policy for user processes
FreeBSD 13.0-RELEASE is out, and one of the new features is W^X memory mapping policy for user processes. This feature is also naturally available for users of 13.0-STABLE and 14.0-CURRENT.
Read More → FreeBSD 13 and W^X memory mapping policy for user processesFreeBSD with UEFI in Oracle VirtualBox 6.1.18
After upgrading a test VM to 14.0-CURRENT this week, I was greeted with a large Terminus font.
Read More → FreeBSD with UEFI in Oracle VirtualBox 6.1.18libdialog.so.8 → libdialog.so.9
Commit 0b7f1af804f06a285717b490bef80e24648adcbe for src/main and commit 6e1fe6d26ea2939656c8286ccbd105a89d3349a3 for src/stable/13 bumped the version number for gnu/lib/libdialog from 8 to 9. Software such as ports-mgmt/dialog4ports complain when run, but make config doesn’t care when dialog4ports is being run around in the ports tree.
Read More → libdialog.so.8 → libdialog.so.9FreeBSD is moving to Git
The FreeBSD Project is slowly moving away from Subversion to Git. This poses questions like how do I do a checkout, and how do I get the equivalent of Subversion’s revision numbers for use in scripts and filenames? This is not the official documentation, merely some notes for myself as I tag along.
Read More → FreeBSD is moving to GitMigrating to Mailman 3
Mailman 2.1 has served its purpose at work for several years. Python 2 is at its end of life in FreeBSD. It’s time to move on to Mailman 3 and Python 3, or to Sympa if I’m unsuccessful in getting Mailman 3 up & running. I’ll try and document each step along the way.
Read More → Migrating to Mailman 3Don’t use loader_color="YES"
in /boot/loader.conf
on stable/11
The bootloader in recent stable/11 always gave me trouble booting the kernel due to having loader_color=”YES” in my /boot/loader.conf. Strangely enough, the same setting is harmless in recent stable/12.
Read More → Don’t useloader_color="YES"
in /boot/loader.conf
on stable/11
devel/git
and make config-conditional
r554306 fixed the problem, as users of Poudriere was equally affected.
Read More →devel/git
and make config-conditional
shells/starship
and custom
modules for SVN
I recently discovered Starship cross-shell prompt, available in the FreeBSD ports collections as shells/starship. Since there’s no dedicated module for handling Subversion working copies, I added three custom modules to my configuration file. This way I can see the global and the local revision numbers, and a summary of the status flags of the files […]
Read More →shells/starship
and custom
modules for SVN
/etc/kboot.conf
Just to remind myself that spaces are allowed before the equals sign. FreeBSD Install=’/boot/kernel/kernel vfs.root.mountfrom=cd9660:/dev/iso9660/13_0_CURRENT_POWERPC64_CD’
Read More →/etc/kboot.conf