Category: FreeBSD
Anything related to FreeBSD
FreeBSD 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
Python 2.7.18 on FreeBSD
Update 2020-05-06 Python 2.7.18 was officially added to the ports collection in r534040. I didn’t even bother searching for a PR on the matter, and sure enough, PR 245776 exists and did a more thorough job than my own efforts. While Python 2.x.y is EoL, Python 2.7.18 was released a week ago, on 2020-04-20.
Read More → Python 2.7.18 on FreeBSDBuilding devel/bitkeeper on stable/12 using ports-mgmt/synth
Building devel/bitkeeper on stable/12 using ports-mgmt/synth isn’t straight forward as of r532246.
Read More → Buildingdevel/bitkeeper on stable/12 using ports-mgmt/synth
net/ntopng and net/geoipupdate
I’ve been experimenting with net/ntopng and net/geoipupdate. The former comes with a shell script, ntopng-geoip2update.sh, which is stuck in the past. Instead, run these commands, creating the necessary symlinks:
Read More →net/ntopng and net/geoipupdate
exec=on for /usr/src after base/head r359260
Update 2020-03-30: r359426 fixed this issue. We may again set exec=off or have noexec set in our /etc/fstab. If you mount /usr/src as noexec or have set the ZFS exec property to off, now is the time to allow executables to be run. r359260 added contrib/kyua/doc/manbuild.sh, which is run as part of make buildworld in […]
Read More →exec=on for /usr/src after base/head r359260