Category: FreeBSD ports collection
graphics/py-pygraphviz renamed from graphics/py-graphviz
graphics/py-graphviz was renamed to graphics/py-pygraphviz in r408353. Run these two commands to get back on track:
Read More → graphics/py-pygraphviz renamed from graphics/py-graphvizTeX Live 2015 on FreeBSD
Revision 392534 of the FreeBSD ports tree added TeX Live 2015. In the process, print/texlive-infra was replaced with print/texlive-tlmgr. If you already have TeX Live 2014 installed, e.g. print/texlive-full, then print/texlive-base conflicts with print/texlive-texmf and vice versa.
Read More → TeX Live 2015 on FreeBSDAdding 24 hour clock to FreeBSD’s hardstatus string for GNU Screen
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 ScreenUpgrading PostgreSQL 9.2.10 to 9.4.1
I decided to upgrade my PostgreSQL server today. I did this upgrade slightly different than the last time. All commands were done as the root user unless indicated.
Read More → Upgrading PostgreSQL 9.2.10 to 9.4.1Ascertaining installed ports for a specific architecture
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 architectureUpgrading lang/php5
to lang/php56
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 → Upgradinglang/php5
to lang/php56
Running dns/bind910
within a chroot after r382109
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 → Runningdns/bind910
within a chroot after r382109
Missing chroot for dns/bind9{9,10}?
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}?Solving conflicts between print/texlive-base and devel/tex-kpathsea
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-kpathseagettext 0.19.3 in FreeBSD
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