FreeBSD: svnup


install svnup

pkg install svnup

edit /usr/local/etc/svnup.conf

/usr/local/etc/svnup.conf
# $FreeBSD$
#

[defaults]
work_directory=/var/tmp/svnup
host=svn0.eu.freebsd.org
protocol=http
verbosity=2
trim_tree=1
extra_files=0

[release]
branch=base/releng/11.2
target=/usr/src

[ports]
branch=ports/head
target=/usr/ports

[stable]
branch=base/stable/11
target=/usr/src

[current]
branch=base/head
target=/usr/src

examples

svnup ports
svnup current
svnup release

use svnup for updating src and build world / kernel

modify the /etc/make.conf

/etc/make.conf
KERNCONFDIR=/home/gmarco
KERNCONF=FREEBSD
SUP_UPDATE=
SUPFLAGS=
SUPHOST=        svn.FreeBSD.org
SUPFILE=        -b base/stable/11 -l /usr/src
PORTSSUPFILE=   -b ports/head -l /usr/ports
SUP=            /usr/local/bin/svnup

copy your kernel conf file (FREEBSD) in a different place than sys/{arch}/conf, i.e.:

cp /sys/amd64/conf/FREEBSD /home/gmarco/
cd /usr/src
make update 
make world && make kernel && mergemaster -U


return to gimbo wiki home page