Category: FreeBSD ports collection
Migrating 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 3devel/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
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
Recompile sysutils/htop
after upgrading to base/head
r358063
Somewhere between r357572 and r358062 something changed so dramatically in base/head that sysutils/htop didn’t display anything useful other than CPU and memory usage.
Read More → Recompilesysutils/htop
after upgrading to base/head
r358063
Lessons learned switching from Python 3.6 to 3.7
If you use synth from ports-mgmt/synth and switch from Python 3.6 to 3.7 after having updated the ports tree and after synth have updated its own flavour index, you might see strange error messages such as:
Read More → Lessons learned switching from Python 3.6 to 3.7Switching main Python versions in FreeBSD
In my infinite (and possibly questionable) wisdom, I usually lock down various software to particular versions. This time I wanted to change the main Python from version 2.7 to version 3.6 on the FreeBSD builder at ${WORK}.
Read More → Switching main Python versions in FreeBSDBad distinfo for mail/dcc-dccd
synth(8) made the following complaint: The quick fix is: Someone else created PR 238734. Their patch matches mine except for the TIMESTAMP value:
Read More → Bad distinfo formail/dcc-dccd