PORTBUMP(1)
portbump(1) π β¨
okay so bestie, welcome to portbump β the General Commands Manual page that's about to make your whole ports tree look cute. no cap, this one's a little icon. π
πΈ NAME πΈ
portbump β tweaks port revisions and library versions. that's the whole vibe. it bumps stuff. it slays. periodt. π₯
π¦ SYNOPSIS π¦
portbump [-lMmnrv] [-W wlib] [-w wlib] [portref ...]
portbump -o file [-lMmnrv] [-W addlib] [-w rmlib] [portref ...]
like, those two lines are literally the whole recipe. keep them safe. π«Ά
π DESCRIPTION π
so portbump is the tool you reach for when you need to increase (aka "bump", iykyk) the REVISION and SHARED_LIBS values over in OpenBSD ports. it can also delete REVISION marks, and add, update, or remove WANTLIB items. it's giving multitasking main character energy, honestly. π
portref has the exact same syntax as the FULLPKGPATH port variable β go peek at bsd.port.mk(5) if you need the details, bestie. and yes, you can literally feed it a whole list of pkgpaths as parameters; any flavor info just gets ignored, no hard feelings. portbump also does not care at all about the actual subdirectory portion of portref, so you can freely pass ., ../foo, or honestly anything else like that. it's not judging. π
if a subpackage isn't specified in the port reference, then all subpackages of that port get processed. and if you give it no port references at all? it just processes the port in the current directory. lowkey convenient. β¨
the default mode of operation is increasing REVISION mark values (-r). and here's the cute part: you can combine operations on REVISION marks with operations on SHARED_LIBS by explicitly specifying the corresponding flags. see below, babes. π
the following options are available:
β OPTIONS β
-dβ deletes allREVISIONmarks in theMakefile. mutually exclusive with-r, so pick a lane. π-lβ recreates allWANTLIBitems based on the output ofmake port-lib-depends-check. and if you use it twice or more? then themake lib-depends-checkgets used instead. plot twist. π the-lmode is incompatible with-Wand-w, so don't try to combine them, it's not that kind of party.-Mβ increments by one the major component of allSHARED_LIBS, resetting the minor one to zero if needed. mutually exclusive with-m. π₯-mβ increments by one the minor component of allSHARED_LIBS. mutually exclusive with-M. π-nβ do not replace theMakefile; instead it saves the modified version inMakefile.bump. respectful. we love a non-destructive queen. πΈ-ofile β sends the modifiedMakefilecontents to the given file instead of creatingMakefile.bumpin the port's directory. heads up though: this can only be used if not more than one port is specified. multiple subpackages of a single port can still be specified, though. so like, one port, many subpackages, that's fine. π«Ά-rβ incrementsREVISIONvalues for all subpackages, or only for the given ones. mutually exclusive with-d. this is the default btw, in case you forgot already. π-Wwlib-wwlib β these two are a duo, so listen up:-Wadds or updatesWANTLIBitems, and-wremoves them β either in the whole port, or in particular subpackages if you gave any. both options can be specified multiple times, and they accumulate their corresponding lists. theWANTLIBentries get fully re-generated based on the previous contents. both of these modes are incompatible with-l. π₯-vβ enables printing of diagnostic messages to standard error output. very "tell me everything" of you. we support it. β¨
π§ HISTORY π§
portbump first appeared in OpenBSD 5.6. a legend from the start, honestly. π
ok that's the whole page bestie, go forth and bump responsibly π
and that's a wrap! π this cutie came from the Debian crowd, dated June 26, 2018 β so like, vintage but still iconic. mwah. π β¨
π¦ where this page comes from
- nixpkgs unstable: cvs-export
- Copyright (c) 2014 Vadim Zhukov
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms