FreeBSD gives the user an option of installing the file /usr/local/etc/screenrc with some sensible defaults along with GNU Screen, aka sysutils/screen. Among the defaults are a format string for the hardstatus line. It shows the date using yy/dd/mm notation and the time as a 12 hour clock. That may be fine in the English speaking […]

Read More → Adding 24 hour clock to FreeBSD’s hardstatus string for GNU Screen

When upgrading from one major version of FreeBSD to another, in my case from FreeBSD/amd64 stable/9 to FreeBSD/amd64 stable/10, it’s customary to upgrade the installed ports afterwards, beginning with ports-mgmt/pkg. I forcefully upgraded all installed ports using portupgrade -afpv, but the upgrade of lang/ruby21 failed miserably. I removed all traces of Ruby 2.1, i.e. ports-mgmt/portupgrade […]

Read More → Ascertaining installed ports for a specific architecture

The 20150220 entry in /usr/ports/UPDATING contains no instructions for upgrading lang/php5 to lang/php56, at least not for us compiling our own ports. I learned the hard way using portupgrade what needs to be done. I have summarised my steps into the script below. Use the script as a guide, and if you do run my […]

Read More → Upgrading lang/php5 to lang/php56

dns/bind910 gained native chroot support in r382109. Those of us who used to store the BIND files in /var/named/etc/namedb and ran BIND with /var/named as the chroot environment, must do five things: Rename the /var/named directory to something else, like /var/Named. This is to avoid upsetting make -C /usr/src delete-old and still retain the meaning […]

Read More → Running dns/bind910 within a chroot after r382109

The removal of BIND from base in stable/10 left us with the option of running BIND from ports either in a jail, or as an ordinary service. The old BIND in base was able to run in a chroot environment, isolated from the rest of the system. Some of us believe a chroot is a […]

Read More → Missing chroot for dns/bind9{9,10}?

The 20141214 entry in ports/head/UPDATING says: 20141214: AFFECTS: users of TeXLive AUTHOR: hrs@FreeBSD.org Several scripts in print/texlive-base have been moved to devel/tex-kpathsea. Upgrading them can fail because texlive-base depends on tex-kpathsea, and the new ex-kpathsea tries to install files which were installed by the old texlive-base. The following error message indicates this situation: pkg-static: tex-kpathsea-6.2.0_1 […]

Read More → Solving conflicts between print/texlive-base and devel/tex-kpathsea

devel/gettext, as of version 0.19.3, has been split into three ports: devel/gettext, the meta-port depending the two next ports; devel/gettext-runtime, the runtime libraries; and devel/gettext-tools, the tools for managing the message catalogs. In my case, as I build my own ports, making the transition required manual intervention using both portupgrade and the ports collection tree:

Read More → gettext 0.19.3 in FreeBSD