Add a man page for abump

This commit is contained in:
Hugo Osvaldo Barrera 2023-11-19 23:54:06 +08:00 committed by Natanael Copa
parent 17648366cc
commit d65a054bc5
2 changed files with 54 additions and 1 deletions

View File

@ -11,7 +11,7 @@ SCRIPTS := abuild abuild-keygen abuild-sign newapkbuild \
abump apkgrel buildlab apkbuild-cpan apkbuild-pypi checkapk \
apkbuild-gem-resolver
USR_BIN_FILES := $(SCRIPTS) abuild-tar abuild-gzsplit abuild-sudo abuild-fetch abuild-rmtemp
MAN_1_PAGES := newapkbuild.1 abuild.1
MAN_1_PAGES := newapkbuild.1 abuild.1 abump.1
MAN_5_PAGES := APKBUILD.5
SAMPLES := sample.APKBUILD sample.initd sample.confd \
sample.pre-install sample.post-install

53
abump.1.scd Normal file
View File

@ -0,0 +1,53 @@
abump(1)
# NAME
*abump* - bump pkgver in an APKBUILD file
# SYNOPSIS
*abump* [-s _CVE-1_,...] [-f _ISSUE_] [-k|--keep] _PKGNAME-1.2.3_
# DESCRIPTION
*abump* updates the *pkgver* in an APKBUILD file, updates its checksums,
rebuilds it, and finally creates a new commit commit with the changes resulting.
*abump* operates looks for the specified package in nested directories inside
the current working, assuming a layout like that of the aports repository.
# OPTIONS
*-s, --security CVE1,...*
Include CVE in the *secfixes* comment section.
*-f, --fixes ISSUE*
Include *Fixes #ISSUE* in the commit message. This will close the upstream
issue when the commit is merged into the aports master branch.
*-k, --keep*
Keep existing packages.
*-h, --help*
Print help information and exit.
# ENVIRONMENT
APORTSDIR
Force operating on an alternate directory.
# EXAMPLES
```
abump mml-1.0.0
abump glibmm2.68-2.78.0
abump telegram-desktop-4.11.8
```
# SEE ALSO
abuild(1), apkgrel(1), newapkbuild(1), APKBUILD(5), apk(8).
# AUTHORS
Natanael Copa <_ncopa@alpinelinux.org_> and open source contributors.