This article describes by examples how a ?pkgsrc developer can update a package to a later version.

You may be looking for How to update a package with pkgsrc

Contents

  1. Preparation
  2. Trivial: games/gogui from 0.9.1 to 0.9.3
    1. Part 1: Get the new package to build
    2. Part 2: Install the new package
    3. Part 3: Committing the update
  3. Simple: devel/rapidsvn from 0.9.3 to 0.9.4
    1. Part 1: Get the new package to build
    2. Part 2: Install the new package
    3. Part 3: Committing the update
    4. Part 4: Sending the patches to the upstream authors

Preparation

Please install pkgtools/pkgdiff. This tools helps creating patches for pkgsrc. It contains pkgvi, mkpatches and patchdiff.

Trivial: games/gogui from 0.9.1 to 0.9.3

Part 1: Get the new package to build

Part 2: Install the new package

Part 3: Committing the update

Simple: devel/rapidsvn from 0.9.3 to 0.9.4

Part 1: Get the new package to build

Part 2: Install the new package

Part 3: Committing the update

Part 4: Sending the patches to the upstream authors

Add a comment