FreeBSD: update portage tree

Create config for update portage tree via csup

[root@shell]# cat >> /etc/csup/ports-all << END
*default host=cvsup5.ru.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
*default compress ports-all
END

run update:

[root@shell]# csup /etc/csup/ports-all

add this command to /etc/crontab for daily update

next, update system and kernel sources:

[root@shell]# cat >> /etc/csup/src-all << END
*default host=cvsup5.ru.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_8_0
*default delete use-rel-suffix
*default compress src-all
END

tag=RELENG_8_0 — pointing to a branch source of freebsd need to merge

tag=. — pointing to last sources (CURRENT, not STABLE)

only for kernel:

[root@shell]# cat >> /etc/csup/src-sys << END
*default host=cvsup5.ru.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_8_0
*default delete use-rel-suffix
*default compress src-sys
END