Home arrow Journal arrow Getting FreeBSD Base Source Code when RELENG TAG is not yet in cvsup/svn
Getting FreeBSD Base Source Code when RELENG TAG is not yet in cvsup/svn PDF
Thursday, 10 November 2011
A basic cvs config file for getting FreeBSD kernel and base from CVS server is:

cvs-supfile1
*default host=cvsup11.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs
*default delete use-rel-suffix
*default tag=RELENG_8_2
*default compress
src-all
ports-all tag=.

But what we will gonna do if for example we want RELENG_9_0 version but there's not there yet?
In that case we could fetch FreeBSD current using:

  *default release=cvs tag=.

instead of:

  *default tag=RELENG_9_0

So our file will be:

cvs-supfile2
*default host=cvsup11.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs
*default delete use-rel-suffix
*default release=cvs tag=.
*default compress
src-all
ports-all tag=.


For the same purpose we can also use SVN which is more modern/actual rather than CVS:

  svn checkout svn://svn.freebsd.org/base/head /usr/src

But be carefull when doing that, because a newer version might be in head, like for example FreeBSD 10.0.

If the source tree for releng is in SVN we can get it with:

  svn checkout svn://svn.freebsd.org/base/releng/9.0 /usr/src

To use svn you must install it from ports (since is not in base):

  cd /usr/ports/devel/subversion
  make install clean; rehash


You can find more info related to fetching FreeBSD sources from SVN here:
http://wiki.freebsd.org/SubversionPrimer

Last Updated ( Saturday, 12 November 2011 )
 
< Prev   Next >

Other BSD Systems

OpenBSD

Misc

Solaris

Polls

Best BSD firewall?