[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.8-release to -current, and should NOT be used by anyone upgrading from 4.7 or earlier, or people wishing to follow -stable.

If you wish to update to 4.8-release or 4.8-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.

2010/09/23 - [ports] ruby split into 1.8/1.9

The ruby port was split into two separate ports for ruby 1.8 and ruby 1.9, similar to how the python port is handled. The ruby 1.8 binaries are now installed with a 18 suffix, and the ruby 1.9 binaries are installed with a 19 suffix. The ruby-gems and ruby-rake packages also install the binaries with a 18 suffix, as those packages are included in ruby 1.9. If you want to make ruby 1.8 (or 1.9) the default system ruby, you need to follow the instructions that are displayed after installing/updating the package.

2010/09/24 - gcc4 for mips64 and mips64el

The various mips64 architectures (loongson, sgi) have moved to gcc4. /usr/libexec/ld.so has a bug that is exposed by gcc4, so make sure it's up-to-date (rebuild it after updating the sources):
cd /usr/src/libexec/ld.so
make clean
make depend && make && make install
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/10/19 - groff moved to ports

The groff(1) document formatting system (notably used to render manual pages) has been replaced in base with mandoc(1). First update /etc/man.conf (sysmerge recommended if you have modified it; otherwise install a new file from etc48.tgz or updated /usr/src/etc) which switches to using mandoc(1) to render installed unformatted manpages. Then remove old groff files:
cd /usr/bin
rm addftinfo afmtodit eqn grodvi groff grog grohtml grolj4 grops grotty \
hpftodit indxbib lkbib lookbib neqn nroff pfbtops pic psbb refer soelim \
tbl tfmtodit troff
cd /usr/share
rm -r dict/eign groff_font tmac doc/psd doc/smm doc/usd groff
cd /usr/share/man/cat1
rm addftinfo.0 afmtodit.0 eqn.0 grodvi.0 groff.0 grog.0 grohtml.0 grolj4.0 \
grops.0 grotty.0 hpftodit.0 indxbib.0 lkbib.0 lookbib.0 neqn.0 nroff.0 \
pfbtops.0 pic.0 psbb.0 refer.0 soelim.0 tbl.0 tfmtodit.0 troff.0
cd ../cat5
rm groff_font.0 groff_out.0
cd ../cat7
rm groff_char.0 groff_me.0 groff_mm.0 groff_mmse.0 groff_ms.0 groff_msafer.0 \
me.0 mm.0 ms.0
If you require groff reinstall it from /usr/ports/textproc/groff or install the groff package.

2010/10/23 - vgrind(1) moved to ports

The vgrind(1) source file formatter has moved to ports after the groff removal from the base system. You should remove the old vgrind files:

cd /usr/bin/
rm vgrind
cd /usr/share/man/cat1
rm vgrind.0
cd /usr/share/man/cat5
rm vgrindefs.0
cd /usr/share/
rm misc/vgrindefs  misc/vgrindefs.db

You can install vgrind from /usr/ports/textproc/vgrind or pkg_add vgrind.

2010/10/29 - colcrt removal

The colcrt(1) utility has been removed as it is only useful on very old (glass) terminals. You should remove the old colcrt files:

rm /usr/bin/colcrt /usr/share/man/cat1/colcrt.0

2010/10/29 - checknr removal

The checknr(1) utility has been removed after the groff removal from the base system. Man pages can now be checked for common errors by running mandoc -Tlint. You should remove the old checknr files:

rm /usr/bin/checknr /usr/share/man/cat1/checknr.0

2010/10/29 - soelim removal

The soelim(1) utility has been removed after the groff removal from the base system. The groff package includes its own copy of soelim(1). You should remove the old soelim files:

rm /usr/bin/soelim /usr/share/man/cat1/soelim.0

2010/10/31 - wpa configuration changes

wpa-psk(8) was deleted because wpakey support is now built directly into ifconfig(8). Inspect your /etc/hostname.* files for wireless devices using WPA and replace:

nwid myssid wpapsk `wpa-psk myssid wpapassword`
with the simpler form:

nwid myssid wpakey wpapassword

2010/11/08 - PostgreSQL update

PostgreSQL has been updated to 9.0.1. It's a major upgrade and you need to dump/restore your databases. You can look at this small howto if you want more details about this. Note that pkg_add will warn you about this upgrade.

2010/11/11 - Xenocara updates

libXft and libXext have been updated. You should remove those obsoleted files:

rm /usr/X11R6/bin/xft-config  /usr/X11R6/man/man1/xft-config.1 \
   /usr/X11R6/include/X11/extensions/lbxbuf.h \
   /usr/X11R6/include/X11/extensions/lbxbufstr.h \
   /usr/X11R6/include/X11/extensions/lbximage.h

2010/12/08 - Ruby on Rails update

Ruby on Rails has been updated to 3.0.3. It's a major upgrade and you need to make significant changes to your Rails app to update it from the previous version (2.3.4). The Rails 3 Release Notes have a lot of helpful information about the upgrade process.

2011/01/07 - OpenLDAP update

OpenLDAP has been updated to 2.4.23. It's a major upgrade and you need to backup all your data before this upgrade. Please read this message for more details.
[back] www@openbsd.org
$OpenBSD: current.html,v 1.250 2011/01/10 13:09:06 pea Exp $