Things look quiet here. But I've been doing a lot of blogging at
dan.langille.org because I prefer WordPress now.
Not all my posts there are FreeBSD related.
I am in the midst of migrating The FreeBSD Diary over to WordPress
(and you can read about that here).
Once the migration is completed, I'll move the FreeBSD posts into the
new FreeBSD Diary website.
I was trying to make Midnight Commander. But it wasn't working.
Here's the message I was getting:
[root@ns:/usr/ports/misc/mc] # make clean
Cleaning for mc-4.1.35
[root@ns:/usr/ports/misc/mc] # make
mc-4.1.35 is marked as broken: mountlist.c.
I was told that 4.1.35 was not the latest version and that I should get 4.5.1.
CVSup provides an easy way to update these ports.
The template
I started with /usr/share/examples/cvsup/ports-supfile. I copied this
file to /usr/home/ports-supfile and then modified it to match my
requirements. Here is the change I made:
*default host=cvsup.au.FreeBSD.org
I changed my server to one near me.
NOTE: Don't worry about releases/version when cvsup'ing your ports. There is only
one version of the Ports collection. All versions of FreeBSD use the same ports
collection. Therefore, when updating your ports use this tag:
tag=.
Different needs - different ports
The stock example file will give you all of the ports. But I didn't want that.
So I also commented out the "ports-all" line and uncommented the
"ports-misc" line. Actually, when I do this update, I often modify the
file according to my needs at the time.
I'm thinking about using one file for my regular port updates (every day) and another
file for the give-them-to-me-NOW occasions which so often occur. With this
approach, I can keep my regular ports refreshed and ready to upgrade but still be able to
cvsup specific ports collections as and when needed.