[OpenBSD]

The maintainer's guide to Updating ports

Since OpenBSD 3.8, pkg_add can update packages. So maintainers have to be aware of one simple fact: update is not instantaneous. Even if a user just goes from release to release, each time they run pkg_add -ui, the system will replace each package with a new version, one package at a time. So the user will run a mixed system, even if it is for just a few minutes.

There are basically two update models of which maintainers must be aware.

You should note that part of the update process, especially the macroscopic changes for users who update every six months, is not yet automated. The global update mechanism is still a work in progress, and pkg_add will be able to cope with more issues in the future. As of now, you should focus on making sure the system updates correctly, one port at a time, and that one port's update takes other ports into account, as far as conflicts and other issues are concerned.

Naming packages and the update process

Conflicts, planning for the future

The icky business of renames and branches

Configuration files and update issues

Shared libraries issues

Update checklist

Part of the work is to be done when making the port itself. Ports often need minor updates without a new version upstream. Part of the work will happen before the update itself. And then the update. OpenBSD www@openbsd.org
$OpenBSD: update.html,v 1.4 2006/11/05 18:19:20 espie Exp $