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

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

2011/09/19 - [alpha, landisk] thread model posix enabled for gcc 3

Thread model posix has been enabled for gcc 3 which makes dwarf2 exception handling thread safe and enables thread safety for libstdc++. This only applies to alpha and landisk platforms. To upgrade follow these steps:

2011/09/23 - [ports] PostgreSQL update

Major upgrade to PostgreSQL 9.1.0. A dump/restore is required.

2011/10/13 - [ports] Subversion update

Major upgrade to Subversion 1.7.0. Existing working copies need to be upgraded manually. See the Subversion 1.7 release notes for details.

2011/10/15 - [xenocara] xkeyboard-config update

Update to xkeyboard-config 2.4.1 replaces the /usr/X11R6/share/X11/xkb/symbols/srvr_ctrl by a bare file. When updating from source, you need to remove that directory before building Xenocara:
  # cd /usr/X11R6/share/X11/xkb/symbols
  # rm -rf srvr_ctrl

2011/10/17 - midicat hardlink to aucat(1) removed

MIDI files can be manipulated and MIDI thru boxes can be created with aucat(1) thus midicat was removed. For instance, to create a MIDI thru box:
  # aucat -M
and to record a MIDI file:
  # aucat -M -o dump.syx
Consequently, sndio(7) MIDI thru box port names have the "aucat" prefix instead of "midithru". User scripts and MIDI application settings using the old port name should be updated to use new "aucat" prefix if possible.

The old midicat binary and its manual page could be removed:

  # rm -f /usr/bin/midicat /usr/share/man/man1/midicat.1

2011/11/19 - bogus lib/libssl/src/src directory

When importing OpenSSL 1.0.0e, a bogus src/lib/libssl/src/src directory was imported. This has been fixed manually by removing this extra directory from the master CVS repository.

If a src tree was checked-out or updated with that directory, it needs to be removed manually:

 # rm -rf /usr/src/lib/libssl/src/src
to avoid a warning from CVS server on future updates.

2011/11/24 - [alpha] gcc4 for alpha

alpha has 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.

2011/12/12 - [ports] QEMU binary name change

As of QEMU 1.0 the i386 target has been renamed from qemu to qemu-system-i386, you will need to change scripts/command lines as necessary.

2012/01/12 - [ports] php 5.3

(As of November) the primary PHP version used in ports was switched to 5.3. This change means that if you run PHP applications packaged in ports, you will need to switch your webserver config to use the newer version of PHP. If you are currently using PHP with Apache in base, you will need to adjust your configuration:
cd /var/www/conf/modules
ln -fs /var/www/conf/modules.sample/php-5.3.conf /var/www/conf/modules/php.conf
You will also need to check for links to any active PHP extension modules in /etc/php-5.2 and re-create them in /etc/php-5.3, e.g.
cd /etc/php-5.3
ls -l ../php-5.3.sample
ln -s ../php-5.3.sample/pdo_mysql.ini .
# (etc)
Note that mhash is now part of the main php-5.3 package so an existing mhash.ini symbolic link can be ignored.

2012/01/20 - apropos/whatis change reverted

Activation of the new makewhatis(8), apropos(1), whatis(1) suite had to be reverted because of insufficient speed and because of some other regressions. No matter which version you are coming from and how you updated, some files can be removed:
  # rm -f /usr/bin/makewhatis /usr/bin/mandocdb /usr/share/man/man8/mandocdb.8
In contrast to some old versions of this FAQ, do not remove /usr/libdata/perl5/OpenBSD/Makewhatis* or any whatis.db files. If you update from source by running make build, rebuild the whatis databases afterwards:
  # /usr/libexec/makewhatis

2012/01/23 - [ports] courier-imap 4.10

Courier-imap has reset its epoch for the internal sequence number generator for new mail folders. Please read the UPGRADING section of the INSTALL notes for details.

2012/01/23 - npppd/pipex ingress filter is now configurable

Users of pipex and npppd (which is not currently built by default) should note that the ingress filter is now configurable. Previously it was always enabled. It is no longer enabled by default; if it is needed, add the following to /etc/npppd/npppd.conf:
  ppp.ingress_filter: true

2012/01/25 - xf86-video-ati update

The radeon(4) driver has been updated to version 6.14.3. The radeonhd driver is now deprecated. A few users may be affected by a bug is zaphod mode support in the new radeon driver, so the radeonold(4) driver is now providing a frozen version of the last working driver, until zaphod mode support in the main driver is fixed.

2012/01/26 - [ports] www/ntlmaps removed

www/ntlmaps has been removed. You can use www/cntlm as a replacement.

2012/02/04 - nsd update; rebuild database

NSD was updated to v3.2.9. The binary database format has changed; after upgrading, you will need to rebuild it from the zone files and re-start nsd:
  # nsdc rebuild
  # /etc/rc.d/nsd restart

2012/02/07 - revert the xf86-video-ati update

The radeon driver update has been reverted. So xorg.conf modifications described there should be undone.


[back] www@openbsd.org
$OpenBSD: current.html,v 1.315 2012/02/07 07:53:46 matthieu Exp $