One of the advantages of FreeBSD is that it is very easy to adapt to one's own needs, without decoupling oneself from the main FreeBSD development. Over the time, I collected my own local patches and ports. These are things are not in the official soure tree, as they are either too specific (i.e., hardly any users), unfinished, or it is simply someone else to bring them into the official sources, but I want it now already. People asked for this collection nevertheless. So here you are. Download
aehlig-patches.cvs.tar.gzand use at your own risk.
It is a gzipped tar archive of a cvs repository. So you can unpack it and then
cvs -d /path/to/where/you/unpacked/aehlig-patches checkout site-patchesto obtain a checkout of my site-patches directory. On my machines, I have a checkout under /usr/local. I use it in the following ways.
For some ports I want custom modifications. The way to hook them in is to add a line
.include "/usr/local/site-patches/aehlig.mk"in my /etc/make.conf. No need to touch the actual ports tree.
I've got some ports that are not in the official ports tree or want to override with a specific version. Since I use pu as upgrade tool, the only thing I have to do is to set
export PU_SECONDARY_PORTSDIR=/usr/local/site-patches/localports export PU_OVERRIDE_PORTSDIR=/usr/local/site-patches/overridein the configuration for root's shell. Again, no need to touch the ports tree.
These are just the standard patches to ctm. The handling is more manual. My update routine for the source tree is
cd /usr/src && svn update && /bin/sh /usr/local/site-patches/aehlig-src.sh
If you have any comments of suggestions regarding these patches, feel free to send my an email.