Friday, September 20, 2019

FreeBSD: Downloading OS sources using SVN

First you need to install "subversion":
cd /usr/ports/devel/subversion
make install clean
rehash


Next run checkout for the desired OS branch, example for version 11:

Branch Release
svn checkout http://svn.freebsd.org/base/release/11.1.0/ /usr/src

Branch Release Engineering (branch Release with updates)
svn checkout http://svn.freebsd.org/base/releng/11.1/ /usr/src

Branch Stable
svn checkout http://svn.freebsd.org/base/stable/11/ /usr/src

Branch Currrent
svn checkout http://svn.freebsd.org/base/head/ /usr/src

If the OS does not have direct access to the Internet and only a proxy server is available, uncomment and write down the parameters "http-proxy-host", "http-proxy-port" in the section "[global]" in the configuration file "/root/.subversion/servers".

No comments:

Post a Comment