REVBUMP(1)

NAME
revbump - tool to help bump PKGREVISIONs automatically

SYNOPSIS
revbump [-h] [-p pkgsrcdir] [cat1/pkg1 ... catN/pkgN]

DESCRIPTION
revbump is a perl script for pkgsrc developers that simplifies bumping PKGREVISIONs automatically. Given a package (in category/package format) on the command line or stdin, it will try to increase the PKGREVISION for that package automatically.

revbump -h displays a short usage.

If -p is given, pkgsrcdir is used instead of the default /usr/pkgsrc.

revbump reports successful updates on stdout, and prints the package name (in category/package form) on stdout for each package where it failed.

EXAMPLES
    revbump devel/gmake x11/glib2

would bump the PKGREVISIONs of gmake and glib2, as would

    revbump  EOF
    devel/gmake
    x11/glib2
    EOF

The complete procedure for a recursive dependency bump for category/package using revbump and blbump(1) would be:

    cd /usr/pkgsrc
    finddepends category/package  allbump
    grep buildlink3.mk allbump | sed 's/.buildlink3.mk//'  bl3bump
    grep -e Makefile.common -e mozilla-common.mk allbump > commonbump
    [read commonbump and replace entries with all packages including the
     corresponding Makefile.common or mozilla-common.mk file]
    cat allbump commonbump | sed 's,/[^/]*$,,' | sort -u  makebump
    revbump  makebump  makebump.manual
    [if a package is listed in makebump.manual outside a line
    "Updated ... from ... to ...", handle the PKGREVISION bump manually]
    blbump  bl3bump  bl3bump.manual
    [handle the *ABI_DEPENDS* bumps in bl3bump.manual manually, usually none]
    cvs diff `cat makebump` | less
    [look for PYPKGPREFIX - py27
     and RUBY_PKGPREFIX - ruby19 expansions
     in buildlink files and any unrelated diffs you have in your
     local tree, and fix them]
    cvs diff `cat bl3bump makebump` | less
    cvs commit `cat bl3bump makebump`
    rm allbump bl3bump* makebump* commonbump

SEE ALSO
blbump(1), finddepends(1)