cd /usr/src && cvs -q update -Pd -r OPENBSD_3_5
groupadd -g 74 _pflogd
useradd -c “pflogd privsep” -d /var/empty -s /sbin/nologin -u 74 -g 74 _pflogd
groupadd -g 75 _bgpd
useradd -c “BGP daemon” -d /var/empty -s /sbin/nologin -u 75 -g 75 _bgpd
groupadd -g 76 _tcpdump
useradd -c “tcpdump” -d /var/empty -s /sbin/nologin -u 76 -g 76 _tcpdump
cd /usr/src/share/mk && make install
cd /usr/src && make includes
cd gnu/usr.bin/binutils &&
make -f Makefile.bsd-wrapper cleandir obj depend all &&
sudo make -f Makefile.bsd-wrapper install
build new kernel, install
cd /usr/src/sbin/ifconfig && make obj depend all &&
sudo make install
install -m 755 /usr/src/etc/netstart /etc
install -m 755 /usr/src/etc/etc.i386/MAKEDEV /dev
cd /dev
rm svnd* rsvnd*
./MAKEDEV vnd
reboot to new kernel
cd /usr/src && make build
install -m 755 /usr/src/etc/security /etc
Don’t forget to run mergemaster after this.