From 8eaa065f3ad28909b9d860ee01ed67ff34e580e4 Mon Sep 17 00:00:00 2001 From: Hugo Osvaldo Barrera Date: Sun, 23 Jun 2024 15:52:37 +0200 Subject: [PATCH] Add a man page for abuild.conf For those familiar with abuild all this content is obvious. For newcomers, the only way to figure this out is by reading abuild's source code. --- Makefile | 2 +- abuild.1.scd | 2 +- abuild.conf.5.scd | 29 +++++++++++++++++++++++++++++ 3 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 abuild.conf.5.scd diff --git a/Makefile b/Makefile index 4b0c8e2..b2d581a 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ SCRIPTS := abuild abuild-keygen abuild-sign newapkbuild \ apkbuild-gem-resolver USR_BIN_FILES := $(SCRIPTS) abuild-tar abuild-gzsplit abuild-sudo abuild-fetch abuild-rmtemp MAN_1_PAGES := newapkbuild.1 abuild.1 abump.1 -MAN_5_PAGES := APKBUILD.5 +MAN_5_PAGES := APKBUILD.5 abuild.conf.5 SAMPLES := sample.APKBUILD sample.initd sample.confd \ sample.pre-install sample.post-install MAN_PAGES := $(MAN_1_PAGES) $(MAN_5_PAGES) diff --git a/abuild.1.scd b/abuild.1.scd index cebb4ae..989a1ec 100644 --- a/abuild.1.scd +++ b/abuild.1.scd @@ -209,7 +209,7 @@ abuild -rc # SEE ALSO SPDX license reference (on the Web at ), -newapkbuild(1), apk(8), APKBUILD(5). +newapkbuild(1), apk(8), APKBUILD(5), abuild.conf(5). # AUTHORS diff --git a/abuild.conf.5.scd b/abuild.conf.5.scd new file mode 100644 index 0000000..9797074 --- /dev/null +++ b/abuild.conf.5.scd @@ -0,0 +1,29 @@ +abuild.conf(5) + +# NAME + +*abuild.conf* - configuration file for abuild + +# DESCRIPTION + +*abuild.conf* is the configuration for the *abuild(1)* program. + +# FORMAT + +The configuration file is parsed as a shell script; variables are defined as +regular shell variables. + +For a list of supported variables, see the ENVIRONMENT section of the +*abuild(1)* manual page. + +# EXAMPLE + +``` +PACKAGER_PRIVKEY="/home/jane/.abuild/jane@example.com-87ac18ca.rsa" +PACKAGER="Jane Doe " +USE_COLORS=1 +``` + +# SEE ALSO + +abuild(1)