Quote:
Originally Posted by jaymax
|
That article is 5 years old and unfortunately none/little of the information is still particularly correct.
Don't use cvsup to sync ports; use csup. It's included in the base install of FreeBSD-6.2+/FreeBSD-7.0+. It works exactly like cvsup.
Better yet, don't even use csup, but use portsnap. Examples:
For the first time you ever run portsnap (this will take a while):
Code:
# portsnap fetch extract
For future updates, you can run the much faster:
Code:
# portsnap fetch update
This is far faster than c[v]sup and uses much less bandwidth.
In terms of portupgrade, I don't recommend using it. I don't even have it on my system and haven't for quite some time. Its database is slow and breaks easily. Use portmaster, I've never had it complain about "broken dependencies." See ports-mgmt/portmaster, and issue:
and see how easy life can be.
In short, here is everything I do to update my ports tree:
Code:
# portsnap fetch update
# portmaster -uad
And then I go have a tea.