| PORTBUMP(1) | General Commands Manual | PORTBUMP(1) |
portbump — tweaks
port revisions and library versions
portbump |
[-lMmnrv] [-W
wlib] [-w
wlib] [portref ...] |
portbump |
-o file
[-lMmnrv] [-W
addlib] [-w
rmlib] [portref ...] |
portbump is used to increase ('bump')
REVISION and SHARED_LIBS
values in OpenBSD ports. It also can remove
REVISION marks and add, update or remove
WANTLIB items.
portref has the same syntax as
FULLPKGPATH port variable, see
bsd.port.mk(5). Actually, you can feed a list of pkgpaths
as parameters; flavor information will be ignored.
portbump doesn't care about actual subdirectory
portion of portref, so you can freely pass
., ../foo or anything else
like this.
If subpackage is not specified in port reference, then all subpackages of a port will be processed. If no port references are given, the port in current directory will be processed.
Default mode of operation is increasing
REVISION mark values ( -r).
Operations on REVISION marks and on
SHARED_LIBS could be combined by explicit specifying
corresponding flags, see below.
The following options are available:
-dREVISION marks in
Makefile. Mutually exclusive with
-r.-lWANTLIB items based on output of
‘make port-lib-depends-check’. If used twice or more, the
‘make lib-depends-check’ will be used instead. The
-l mode is incompatible with
-W and -w.-MSHARED_LIBS, resetting minor one to zero if
needed. Mutually exclusive with -m.-mSHARED_LIBS. Mutually exclusive with
-M.-n-o
file-rREVISION values for all subpackages, or
only for given ones. Mutually exclusive with
-d.-W
wlib-w
wlib-W flag) or removes (the
-w flag) WANTLIB items in
whole port, or in particular subpackages, if given. Both options could be
specified multiple times, accumulating corresponding lists. The
WANTLIB entries will be fully re-generated based
on previous contents. Those modes are incompatible with
-l.-vportbump first appeared in
OpenBSD 5.6.
| June 26, 2018 | Debian |