FreeBSD ports source

In a FreeBSD environment, sometimes, we need to setup the source code repository these the commands for do it :

#cp /usr/share/example/cvsup/stable-supfile /root/stable-sup

setup the repository

#vi /root/stable-sup

and check/edit these rows

*default *default base=/var/db 
*default prefix=/usr
*default release=cvs tag=RELENG_9
*default delete use-rel-suffix

after all we can fire-up

#csup /root/stable-sup

on the console we’ll read a long list of checking, loading etc. at the end of all we’ll have the source code repos activated 🙂