[FAQ Index]

Following -current

Table of Contents


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

If you wish to upgrade to 5.8-release or 5.8-stable from previous versions, see the upgrade guide instead, as what is here does not apply to 5.8.

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.

2015/08/22 - [xenocara] libdrm updated

libdrm has been updated to a new version, moving a few files around. As a consequence, old files should be removed:
         rm -f /usr/X11R6/include/intel_*.h
	 rm -f /usr/X11R6/include/r600_pci_ids.h
	 rm -f /usr/X11R6/include/radeon_*.h

2015/08/25 - [ports] security/cfs removed

The security/cfs ports has been removed, users are encouraged to use another data encryption method. Possible alternatives are softraid(4) CRYPTO, encrypted vnd(4) devices or the security/encfs port. To remove an existing cfs package, use:
	pkg_delete cfs

2015/09/11 - config(8) update

An up to date config(8) is needed to build kernels. After updating the source tree, a new config(8) can be built and installed:
	cd /usr/src/usr.sbin/config
	make obj && make cleandir && make depend && make && make install
Afterwards, any existing kernel compilation directories must be rebuilt after running config again. Refer to release(8) for details.

2015/09/12 - ifmedia extended to 64 bits

The ifmedia options word has been extended to 64 bits. This changes numbers of the SIOCSIFMEDIA and SIOCGIFMEDIA ioctls and grows struct ifmediareq. Upgrading from snapshots is recommended. Old ifconfig and dhclient binaries are able to configure addresses on interfaces but are unable to display or change media settings. When upgrading from source, ifconfig and dhclient must be recompiled with new headers to run properly on top of a new kernel. This will happen automatically during a normal 'make build'. In case neither snapshots nor 'make build' can be used, the manual steps are:
	install -m 444 -o root -g bin /usr/src/sys/net/if.h /usr/include/net/if.h
	install -m 444 -o root -g bin /usr/src/sys/net/if_media.h /usr/include/net/if_media.h
	install -m 444 -o root -g bin /usr/src/sys/sys/sockio.h /usr/include/sys/sockio.h
	cd /usr/src/sbin/ifconfig
	make obj
	make depend
	make install
	cd /usr/src/sbin/dhclient
	make obj
	make depend
	make install
Some additional libraries and applications must also be recompiled. Run a full 'make build' to ensure everything is in order.

2015/09/18 - [ports] php-fpm rc script renamed

To allow installing multiple versions of php-fpm on the same system, the rc script has been renamed to include the version number. If you are using this, modify references to php_fpm in /etc/rc.conf.local to e.g. php56_fpm.

2015/10/19 - [xenocara] freetype update

Freetype was updated to version 2.6.1, which causes header files to be moved around. As a result, some old files needs to be removed manually:
	cd /usr/X11R6/include/freetype2
	rm -rf config
	rm -f freetype.h ftadvanc.h ftbbox.h ftbdf.h ftbitmap.h ftbzip2.h \
            ftcache.h ftcffdrv.h ftchapters.h ftcid.h fterrdef.h \
            fterrors.h ftfntfmt.h ftgasp.h ftglyph.h ftgxval.h ftgzip.h \
            ftimage.h ftincrem.h ftlcdfil.h ftlist.h ftlzw.h ftmac.h \
            ftmm.h ftmodapi.h ftmoderr.h ftotval.h ftoutln.h ftpfr.h \
            ftrender.h ftsizes.h ftsnames.h ftstroke.h ftsynth.h \
            ftsystem.h fttrigon.h fttypes.h ftwinfnt.h t1tables.h \
            ttnameid.h tttables.h tttags.h ttunpat.h

2015/10/23 - ntpd.conf(5) remove rtable for server

In ntpd.conf(5), the rtable option was removed from the "server" and "servers". Users of "server * rtable X" will need to switch to launching ntpd with
# route -T X exec /usr/sbin/ntpd

2015/10/24 - [ports] node module ports removed

All modules for lang/node have been removed in favor of directly using npm.

Native modules need to be built with "-std=gnu++0x", so set CXX=eg++ when building native modules.

	env CXX=eg++ npm install sqlite3
To remove any installed modules:
	for i in node-always node-async node-bcrypt node-bindings \
		node-buffer-writer node-canvas node-cloned node-daemon \
		node-expresso node-fibers node-generic-pool node-gir \
		node-java node-mnm node-pg node-rmdir node-sqlite3 \
		node-syslog node-typescript coffeescript; do
		pkg_delete $i

2015/10/26 - [ports] puppetboard configuration update

The default configuration file (default_settings.py) format has been changed and needs to be merged with default_settings.py.dist before restarting the puppetboard service.

$OpenBSD: current.html,v 1.631 2015/10/26 18:08:16 jasper Exp $