Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
pkg-repo(8): document -g, -h and -s
Baptiste Daroussin committed 2 months ago
commit 7d6730674c400d108a32fcd78e72c49f6f80276f
parent 9bc574f
1 file changed +19 -2
modified docs/pkg-repo.8
@@ -22,13 +22,15 @@
.Nd create a package repository catalogue
.Sh SYNOPSIS
.Nm
-
.Op Fl lq
+
.Op Fl hlqs
+
.Op Fl g Ar groups
.Op Fl m Ar meta-file
.Op Fl o Ar output-dir
.Ao Ar repo-path Ac Op Ar signer-type: Ns Ao Ar keyfile Ac | signing_command: Ao Ar the command Ac
.Pp
.Nm
-
.Op Cm --{list-files,quiet}
+
.Op Cm --{hash,list-files,quiet,symlink}
+
.Op Cm --groups Ar groups
.Op Cm --meta-file Ar meta-file
.Op Cm --output-dir Ar output-dir
.Ao Ar repo-path Ac Op Ar signer-type: Ns Ao Ar keyfile Ac | signing_command: Ao Ar the command Ac
@@ -232,6 +234,14 @@ Signing the catalogue is strongly recommended.
The following options are supported by
.Nm :
.Bl -tag -width quiet
+
.It Fl g Ar groups , Cm --groups Ar groups
+
Set the group ownership of the repository files to
+
.Ar groups .
+
.It Fl h , Cm --hash
+
Append a short hash of the package contents to the package filename.
+
This is the same as setting the
+
.Ev PKG_REPO_HASH
+
environment variable.
.It Fl l , Cm --list-files
Generate list of all files in repo as filesite.txz archive.
.It Fl m Ar meta-file , Cm --meta-file Ar meta-file
@@ -240,6 +250,13 @@ Use the specified file as repository meta file instead of the default settings.
Create the repository in the specified directory instead of the package directory.
.It Fl q , Cm --quiet
Force quiet output.
+
.It Fl s , Cm --symlink
+
Create a symlink between the hashed filename and the regular filename.
+
Only useful in combination with
+
.Fl h .
+
This is the same as setting the
+
.Ev PKG_REPO_SYMLINK
+
environment variable.
.El
.Sh FILES
See