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

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

2013/03/10 - fontconfig update

Fontconfig in xenocara has been updated to version 2.10.91 and has switched to a BSD make build system. This new version of fontconfig deprecates the use of ~/.fonts.conf for local configuration. Make sure the users who have created this file move it to its new location:

    mkdir -p ~/.config/fontconfig
    mv ~/.fonts.conf ~/.config/fontconfig/fonts.conf
Until all ports have been updated to use the new fontconfig, expect some (mostly harmless) warnings about syntax of some of the new files in /etc/fonts/conf.d.

2013/03/11 - pf translation counter added

A separate "translation" counter was added to identify when NAT has failed due to a lack of ports in the range configured in the rule. Packages using PFIOCGETSTATUS (e.g. symon and pfstat) need to be updated to current versions (and as usual kernel and userland must be in sync). Package version numbers have been bumped so pkg_add -u will update them when new packages are available.

2013/03/25 - Perl update

Perl has been updated to 5.16.3. Please note that any packages using XS modules will need to be updated. If you are updating close to the time of this being committed and rely on such packages, you might like to wait for updated packages to become available to save the trouble of building them yourself.

2013/04/04 - com(4) devices on amd64 and i386

Device configuration lines for all four standard isa(4) serial ports have been added to the GENERIC kernel configuration on these platforms. As a result the numbering of com(4) devices may change on your system. Serial ports provided by puc(4) or other multi-port serial cards will now start at com4. If you are using any of these devices as serial console or in a console server setup, please review the appropriate configuration files.

2013/04/15 - struct statfs change

In order to complete the support for DUIDs, struct statfs and the system calls that use it have changed. To upgrade across this change, you must either The support is enabled by default, but you MUST run config(8) and build a clean kernel for it to be enabled. The manual upgrade steps are: Failure to do so may result in a system that cannot boot.

2013/04/16 - Ports: mail/roundcubemail update

Roundcube now uses PDO for database access. Be sure to follow the update instructions in /usr/local/share/doc/pkg-readmes/roundcubemail*.

2013/04/19 - struct swdevt change

Cleanup of diskless(8) code in the kernel moved sw_vp from struct swdevt to struct nfs_diskless.
An up to date config(8) is needed to build ramdisk kernels. Following release(8) takes care of this.

2013/04/29 - rc.conf(8) pre-rc.d(8) backward compatibility removed

As of today, rc.conf.local(8) only supports rc.d(8) variables to control daemons startup.

The following variables have been renamed to their _flags counterpart: amd inetd portmap rwhod.
    amd=YES becomes amd_flags=
    inetd=YES becomes inetd_flags=
    portmap=YES becomes portmap_flags=
    rwhod=YES becomes rwhod_flags=
The lockd variable has been removed. Similar functionality can be achieved by setting:
    lockd_flags=
    statd_flags=
The aucat_flags variable has been renamed to sndiod_flags.
    aucat_flags=NO becomes sndiod_flags=NO

2013/05/01 - Packages: sysutils/cfengine update

CFEngine has been updated to version 3.4; this is a major upgrade and is not a drop-in replacement for CFEngine 2. Existing users should see upstream's upgrade documentation for further information.

2013/06/01 - Directories in /usr/share/locale to delete

After upgrading, obsolete directories can be deleted from /usr/share/locale. Any directory that has a dot in its name is obsolete. The de_AT directory is obsolete as well.
rm -rf /usr/share/locale/*.*
rm -rf /usr/share/locale/de_AT

2013/06/01 - Removed /usr/include/spinlock.h header

After upgrading, the obsolete file /usr/include/spinlock.h can be deleted.
rm /usr/include/spinlock.h
rm /usr/libdata/perl5/site_perl/*/spinlock.ph

2013/06/02 - bgplg(8) and slowcgi(8) sockets moved to /var/www/run

When running a bgp looking glass or using bgplgsh(8) the restricted socket in /etc/bgpd.conf needs to be changed:
socket "/var/www/run/bgpd.rsock" restricted
Early adopters of slowcgi(8) need to update /etc/nginx/nginx.conf.

2013/06/02 - mg(1) dired commands

Some of the mg(1) editor's dired commands changed to be more in line with GNU Emacs dired commands.

OLD   NEW
dired-backup-unflag -> dired-unmark-backward
dired-copy-file -> dired-do-copy
dired-do-deletions -> dired-do-flagged-deletions
dired-flag-file-deleted -> dired-flag-file-deletion
dired-rename-file -> dired-do-rename
dired-unflag -> dired-unmark

2013/06/04 - Manpages to delete

A number of files should be deleted from your system. Note that these may not exist on all systems; that's ok. Copy and paste the following line:
rm -f /usr/share/man/man{9/{re,}lookup.9,/_Exit.3}

2013/06/07 - X server modules to delete

After the update to X server 1.14, a number of modules have been obsoleted or merged in the main server. Older versions sould be deleted:
cd /usr/X11R6/include/xorg
rm -f mibstore.h synaptics.h xaa.h xaalocal.h
cd /usr/X11R6/lib/modules
rm -f extensions/lib{dbe,dri,dri2,extmod,record}.{la,so}
rm -f libxaa.{la,so}

2013/06/07 - inteldrm(4) ABI break

Some of the GEM ioctls were changed to be more compatible with Linux. After updating your kernel, you should update libdrm as well:
cd /usr/xenocara/lib/libdrm
make obj
make build

2013/06/17 - KerberosV update needs build tools to be compiled first

Some of the build tools required by kerberosV need to be compiled and installed before kerberosV itself or a release can be built. To compile and install the required build tools (asn1_compile, compile_et, slc) please do the following:
cd /usr/src/kerberosV/tools
make obj
make
make install

2013/06/18 - Removed /usr/include/pcap-int.h header

After upgrading, the /usr/include/pcap-int.h header can be deleted.
rm /usr/include/pcap-int.h
rm /usr/libdata/perl5/site_perl/*/pcap-int.ph

2013/06/19 - Several files are not needed after the KerberosV update

After upgrading to the new KerberosV, the following files can be deleted:
rm -f /usr/bin/{afslog,kauth,kadmin,ksu,pagsh}
rm -f /usr/include/com_err.h
rm -f /usr/libexec/{kimpersonate,kdigest}
rm -f /usr/lib/libkafs*
rm -f /usr/libdata/perl5/site_perl/*-openbsd/{com_err.ph,kerberosV/hdb-private.ph,kerberosV/spnego_asn1.ph}

[back] www@openbsd.org
$OpenBSD: current.html,v 1.399 2013/06/19 07:16:44 ajacoutot Exp $