Correct syntax of "supfile" to keep ports upgraded?

Ed Flecko edflecko at gmail.com
Fri Jul 30 17:21:22 UTC 2010


Hi folks,
I'm trying to learn how to keep my FreeBSD 8.0 updated (patched with
security updates) the "correct" (I know that's subjective) way.

Here's what my supfile looks like now:

# If you add any of the ports or doc collections to this file, be sure to
# specify them with a "tag" value set to ".", like this:
#
#   ports-all tag=.
#   doc-all tag=.

*default host=cvsup10.us.freebsd.org
*default base=/var/db
*default prefix=/usr

# The following line is for 8-stable.  If you want 7-stable, 6-stable,
# 5-stable, 4-stable, 3-stable, or 2.2-stable, change to "RELENG_7",
# "RELENG_6", "RELENG_5", "RELENG_4", "RELENG_3", or "RELENG_2_2"
# respectively.

*default release=cvs tag=RELENG_8_0
*default delete use-rel-suffix

## Main Source Tree.
#
# The easiest way to get the main source tree is to use the "src-all"
# mega-collection.  It includes all of the individual "src-*" collections.
# Please note:  If you want to track -STABLE, leave this uncommented.
src-all

To keep my "ports" up to date, do I simply need to add:

ports-all tag=.

to this file before running csup or cvsup?

Thank you,
Ed


More information about the freebsd-questions mailing list