FreeBSD Portsnap & CVSup
I just tried FreeBSD Portsnap, another tools to maintain FreeBSD port tree. The result is rocking, update on the port tree is extremely fast, it may take some time when you first perform portsnap fetch
, extract
and update
. The command to perform the update is simple and straight forward.
FreeBSD’s portsnap isavailable on FreeBSD 4.x and above, if you can’t get it from port, may be you got to do cvsup first. Installing portsnap;
cd /usr/ports/sysutils/portsnap
make && make install
or if you have portinstall, run the command;
portinstall /usr/ports/sysutils/portsnap
After the installation, you might want to make some changes on the config file which located at /usr/local/etc/portsnap.conf.sample
, make a copy to portsnap.conf
. After that, run the command portsnap fetch
, it might take some time to fetch the update from mirror website and after that portsnap extract/update
.
That’s it, you can tick away portsdb -uU and spend 15-30mins to wait for the port tree updated. Try portsnap now and you won’t regret of using it.
Visit official portsnap website for more more more information and tips.
Just run portsnap fetch extract for the 1st time, then following by portsnap fetch update for each update.
Lazy bum like me still stick to cvsup as it fetches src update too. Further, as there are many fbsd boxes within LAN, local cvsup / distfile ftp server was set up to reduce the demand for traffic when updating.
i just tried portsnap too.. its’ pretty cool stuff
how often do u reckon is a good interval to update the ports tree using port snap?
I do it every morning 😀