[OpenBSD]

[FAQ Index]

Following -current


Table of Contents


Introduction

This document is for people who wish to follow -current. It contains information about changes from 4.7-release to -current, and should NOT be used by anyone upgrading from 4.6 or earlier, or people wishing to follow -stable.

If you wish to update to 4.6-release or 4.6-stable from previous versions, see the upgrade guide.

Make sure you have read and understood FAQ 5 - Building the System from Source before using -current and the instructions below.

You should ALWAYS use a snapshot as the starting point for running -current. Upgrading by compiling your own source code is not supported.

Most of these changes will have to be performed as root.

If you wish to see upgrade information for earlier versions of OpenBSD, see upgrade-old.html. This is provided as a historical record -- it should NOT be used as an upgrade procedure guide.

2010/03/23 - [Ports] Major Dovecot upgrade

Dovecot has been updated from 1.1.20 to 1.2.11. The configuration file changed and the old cmusieve plugin has been removed in favor of the new Dovecot sieve implementation. The commit log entry has more details.

2010/03/26 - softraid(4) metadata changes

The softraid(4) metadata format has changed and is not compatible with previous versions. As a result, any softraid volumes created with older kernels will not assemble. Data on existing volumes should be backed up before upgrading. The volume should then be recreated and the data restored.

This is no longer relevant because a transparent metadata upgrade is performed automatically when moving to current. In the future certain softraid features might not be enabled because of this however this will be documented.

2010/04/03 - mandoc(1) required now

mandoc(1) has been added to the build tree, and is now required for building the system. If you do not have it, either install a snapshot or:
cd /usr/src/usr.bin/mandoc
make obj
NOMAN= make && NOMAN= make install

2010/04/17 - ahci(4) no longer attaches to RAID-mode disks

To avoid risk of corrupting metadata on certain Intel RAID devices, ahci(4) no longer attaches to the PCI device IDs used by these controllers when set to RAID mode. If you lose access to your disks, you'll need to change the controller type from RAID to AHCI in the BIOS to get them back.

2010/04/21 - removal of libevent evdns.h

As part of updating libevent from 1.3 to 1.4, the asynchronous DNS component was removed. You should delete the headers manually:
rm /usr/include/evdns.h
rm /usr/libdata/perl5/site_perl/*-openbsd/evdns.ph

2010/04/24 - new user and group for aucat(1) and midicat(1)

The following needs to be run:
useradd -u 99 -g =uid -c "sndio privsep" -d /var/empty -s /sbin/nologin _sndio

2010/04/26 - [ports] samba default user db backend changed

The default user database backend for the Samba port has changed. If you currently use smbpasswd, you must either adjust your configuration, or convert your database. See README.OpenBSD for more information.

2010/05/09 - system Makefile changes

Makefiles now assume the COMPILER_VERSION variable is set. The following needs to be run before building userland:
cd /usr/src/share/mk
make install

2010/05/10 - Intel X driver changes

The new Intel X driver now requires a GEM kernel. if X is out of date the following config fragment is necessary in the driver section of xorg.conf:
Option "AccelMethod" "UXA"
Preferable is to update X at the same time as updating the kernel.

2010/05/15 - X.Org libs updates and removal

Several X libraries have been deprecated recenlty (Xp, Xtrap, Xevie, lbxutil) and an other has undergone a major clean-up (Xext). As a result, several old headers and autotools configuration files have been removed. You should remove them manually from your system to prevent them from interfering with your ports (or other software) builds.
cd /usr/X11R6/include/X11
rm Xaw/Print.h Xaw/PrintSP.h
rm -r XprintAppUtil XprintUtil
cd extensions
rm Print.h Printstr.h XEVIstr.h Xagstr.h Xcupstr.h Xdbeproto.h Xevie.h \
   Xeviestr.h dpmsstr.h lbxdeltastr.h lbxopts.h lbxstr.h lbxzlib.h \
   mitmiscstr.h multibufst.h securstr.h shapestr.h shmstr.h syncstr.h \
   xteststr.h xtrapbits.h xtrapddmi.h xtrapdi.h xtrapemacros.h \
   xtraplib.h xtraplibp.h xtrapproto.h
cd /usr/X11R6/lib/pkgconfig
rm evieproto.pc lbxutil.pc printproto.pc trapproto.pc xaw8.pc \
   xevie.pc xp.pc xprintapputil.pc xprintutil.pc xtrap.pc
rm /usr/X11R6/share/aclocal/xaw.m4

2010/05/25 - Need new config(8) for kernel builds

A new version of config(8) is needed to build kernels. Rebuild it using
cd /usr/src/usr.sbin/config
make obj && make depend && make && make install

2010/05/26 - gcc4 for amd64 and sparc64

amd64 and sparc64 have changed from gcc3 to gcc4. Updated makefiles, gcc, cpp and libstdc++ must be installed with these four steps.

Firstly, gcc4 must be compiled with the existing compiler:

rm -rf /usr/obj/*
cd /usr/src/share/mk && make install
cd /usr/src/gnu/usr.bin/cc
make obj && make depend && make && make install
Secondly, gcc4 must be rebuilt with itself:
rm -rf /usr/obj/*
cd /usr/src/usr.bin/cpp
make obj && make && make install
cd /usr/src/gnu/usr.bin/cc
make obj && make depend && make && make install
Thirdly, libstdc++-v3 must be installed after removing the old C++ headers:
rm -rf /usr/include/g++/*
cd /usr/src/gnu/lib/libstdc++-v3
make obj && make includes && make depend && make && make install
And lastly the entire system rebuilt with the usual procedure documented in release(8).

For people updating using snapshots, don't forget to:

rm -rf /usr/include/g++/*
before installing newer snapshot.

2010/05/26 - f77 moved to ports

The Fortran compiler has moved from the base OS to ports. Remove the following files after updating:
rm -f /usr/bin/f77 /usr/bin/g77 /usr/include/f2c.h /usr/include/g2c.h \
   /usr/lib/gcc-lib/*-unknown-openbsd*/3.3.5/f771 /usr/lib/libfrtbegin.a \
   /usr/lib/libfrtbegin_p.a /usr/lib/libfrtbegin_pic.a /usr/lib/libg2c.a \
   /usr/lib/libg2c_p.a /usr/lib/libg2c_pic.a /usr/share/info/g77.info \
   /usr/share/man/cat1/f77.0 /usr/share/man/cat1/g77.0

2010/06/07 - new users and groups for ldapd(8) and iked(8)

Newly added daemons ldapd(8) and iked(8) require the following users/groups to be created:
useradd -u 100 -g =uid -c "LDAP Daemon" -d /var/empty -s /sbin/nologin _ldapd
useradd -u 101 -g =uid -c "IKEv2 Daemon" -d /var/empty -s /sbin/nologin _iked

2010/06/27 - bgpd(8) options moved to config

bgpd(8) command-line options -s and -r to set the paths of the control socket and the restricted control socket have been replaced with settings in the configuration file.

Replace -s /path/to/bgpd.sock with socket "/path/to/bgpd.sock" in bgpd.conf
Replace -r /path/to/bgpd.rsock with socket "/path/to/bgpd.rsock" restricted in bgpd.conf

If the -s/-r options are used on the command-line or in rc.conf.local, bgpd will not start up.

2010/07/05 - aucat options order changes

aucat(1) command line options ordering has become more strict in order to support multiple devices. Per-stream parameters (-Ccehjmrtvx) must precede stream definitions (-ios) and per-device parameters (-abz) and stream definitions (-ios) must precede device definitions (-f).

2010/07/08 - gcc4 for hppa, i386 and powerpc

hppa, i386 and the various powerpc architectures (macppc, mvmeppc, socppc) have moved to gcc4. Please refer to the amd64 and sparc64 instructions for the procedure.
[back] www@openbsd.org
$OpenBSD: current.html,v 1.231 2010/07/13 01:18:27 sthen Exp $