First you need to get fresh sources from AnonCVS or one
of ftp mirrors:
# cd /usr
# setenv CVSROOT anoncvs@anoncvs1.usa.openbsd.org:/cvs or
other mirrors see the OpenBSD website for more info.
# cvs -q get -r OPENBSD_3_3 -P src
or you can get them from the ftp mirrors like:
# ftp ftp://ftp.openbsd.org/pub/OpenBSD/3.3/src.tar.gz
There are few new groups that has to be added:
# groupadd -g 63 _radius
# chgrp _radius /etc/raddb /etc/raddb/servers
# chmod g+x /etc/raddb
# chmod g+r /etc/raddb/servers
# groupadd -g 64 _token
# chgrp _token /etc/activ.db /etc/crypto.db /etc/snk.db
# chmod 0640 /etc/activ.db /etc/crypto.db /etc/snk.db
# groupadd -g 65 _shadow
# chgrp _shadow /etc/spwd.db
# chmod 0640 /etc/spwd.db
# groupadd -g 61 _lkm
# chgrp _lkm /dev/lkm
New user and group _spamd:
# groupadd -g 62 _spamd
# vipw
_spamd:*:62:62::0:0:Spam daemon:/var/empty:/sbin/nologin
New line has to be added in /etc/protocols for ipv6-icmp:
ipv6-icmp 58 IPv6-ICMP icmp6 # ICMP for IPv6
Some more preparations before building the entire system:
# cd /usr/src
# make obj
# cd /usr/src/gnu/usr.bin/ld/rtld
# make depend && make && make install
# cd /usr/src/include
# make prereq && make includes
# cd /usr/src/lib/libc
# make depend && make NOMAN=1 && make NOMAN=1
install
# cd /usr/src/gnu/usr.bin/binutils
# make -f Makefile.bsd-wrapper cleandir
# make -f Makefile.bsd-wrapper obj
# make -f Makefile.bsd-wrapper depend
# make -f Makefile.bsd-wrapper
# make -f Makefile.bsd-wrapper install
Building gcc with included ProPolice code twice:
# rm -r /usr/obj/gnu/egcs/gcc/*
# cd /usr/src/gnu/egcs/gcc
# make -f Makefile.bsd-wrapper clean
# make -f Makefile.bsd-wrapper obj
# make -f Makefile.bsd-wrapper depend
# make -f Makefile.bsd-wrapper
# make -f Makefile.bsd-wrapper install
# make -f Makefile.bsd-wrapper clean
# make -f Makefile.bsd-wrapper depend
# make -f Makefile.bsd-wrapper
# make -f Makefile.bsd-wrapper install
It is time to recompile the kernel:
# cd /usr/src/sys/arch/i386/conf
# /usr/sbin/config GENERIC
# cd ../compile/GENERIC
# make clean - just to make sure you don;t have old files
# make depend
# make
# make install
# reboot
After that step you are ready to start building your new
system:
# cd /usr/src
# make build
# reboot
Congratulations you now have OpenBSD 3.3 stable with ProPolice
included by default.