From 15941299ff677c8a17dbb7b73b3f811eba7cd69c Mon Sep 17 00:00:00 2001 From: Alexis Date: Fri, 1 May 2020 16:18:44 +1000 Subject: [PATCH] xbps.d.5: Multiple changes. * Mention which keywords can have multiple entries. * Mention sample configuration file. * Fix typo. --- data/xbps.d.5 | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/data/xbps.d.5 b/data/xbps.d.5 index f127a6eef..c594f5b2a 100644 --- a/data/xbps.d.5 +++ b/data/xbps.d.5 @@ -1,4 +1,4 @@ -.Dd February 05, 2020 +.Dd May 04, 2020 .Dt XBPS-D 5 .Sh NAME .Nm xbps.d @@ -33,15 +33,24 @@ Only files with the .Em .conf extension will be processed in alphabetical order. .Pp -The configuration files can set multiple -.Em keywords -that are pairs of keys and values, such as +The configuration files can set various +.Em keywords , +using the syntax .Sy `key=value` . No whitespace between the .Em key and its .Em value is allowed, nor trailing whitespaces after its value. +Multiple entries are permitted for the +.Sy ignorepkg , +.Sy include , +.Sy noextract , +.Sy preserve , +.Sy repository +and +.Sy virtualpkg +keywords, but each entry must specify only one value. .Sh KEYWORDS .Bl -tag -width -x .It Sy architecture=string @@ -57,7 +66,7 @@ remote repositories, as well as its signatures. If path starts with '/' it's an absolute path, otherwise it will be relative to .Ar rootdir . .It Sy ignorepkg=pkgname -Declares a ignored package. +Declares an ignored package. If a package depends on an ignored package the dependency is always satisfied, without installing the ignored package. .It Sy noextract=pattern @@ -157,6 +166,8 @@ Package files metadata. Default package database (0.38 format). Keeps track of installed packages and properties. .It Ar /var/cache/xbps Default cache directory to store downloaded binary packages. +.It Ar /usr/share/xbps.d/xbps.conf +Annotated sample configuration file. .El .Sh SEE ALSO .Xr xbps-checkvers 1 ,