Port Updates


Ensure the cvsup program is installed on your system. If so:


cp /usr/share/examples/cvsup/ports-supfile /usr/local/etc/ports-supfile


Edit /usr/local/etc/ports-supfile and change the line reading:


*default host=CHANGE_THIS.FreeBSD.org


to


*default host=cvsup.FreeBSD.org


You are now ready to run cvsup. Assuming cvsup is installed as /usr/local/bin/cvsup, run the following:


/usr/local/bin/cvsup -g -L 2 /usr/local/etc/ports-supfile


Many users choose to add this command to root's crontab so that they never forget to update their ports tree. Here is an entry to update /usr/ports every Friday:


0 12 * * 5 /usr/local/bin/cvsup -g -L 2 /usr/local/etc/ports-supfile > /dev/null 2>&1


This cvsup does not update your programs. It just downloads the latest ports.