Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Document signed repos
Bryan Drewery committed 14 years ago
commit 0b5df5657d6eb3998e8a991c406624e60be3dfd8
parent 07e8521
2 files changed +21 -4
modified pkg/pkg-repo.8
@@ -15,7 +15,7 @@
.\"     @(#)pkg.8
.\" $FreeBSD$
.\"
-
.Dd February 16, 2012
+
.Dd May 2, 2012
.Dt PKG-REPO 8
.Os
.Sh NAME
@@ -23,7 +23,7 @@
.Nd creates a package database repository
.Sh SYNOPSIS
.Nm
-
.Ar <repo-path> <rsa-key>
+
.Ao Ar repo-path Ac Op Ar rsa-key
.Sh DESCRIPTION
.Nm
is used for creating package repositories of already
@@ -41,7 +41,11 @@ from
.Pp
When you want to create a package database repository you need to
specify at least the directory which contains packages in
-
.Ar <repo-path>
+
.Ar repo-path .
+
.Pp
+
To sign the repository, specify the path to an RSA private key for the
+
.Ar rsa-key
+
argument.
.Sh OPTIONS
The following options are supported by
.Nm :
modified pkg/pkg-update.8
@@ -15,7 +15,7 @@
.\"     @(#)pkg.8
.\" $FreeBSD$
.\"
-
.Dd March 26, 2012
+
.Dd May 2, 2012
.Dt PKG-UPDATE 8
.Os
.Sh NAME
@@ -37,6 +37,17 @@ repositories before doing a remote install via
.Xr pkg-install 8
or upgrades via
.Xr pkg-upgrade 8 .
+
.Pp
+
.Ss Signed repositories
+
If the repository is signed and
+
.Ev PUBKEY
+
is defined, it will be verified after being downloaded.
+
If
+
.Ev SIGNED_REPOS
+
is enabled, the repository will be required to be signed to be valid or it will be discarded.
+
See
+
.Xr pkg.conf 5
+
for more information on these variables.
.Sh OPTIONS
The following options are supported by
.Nm :
@@ -54,6 +65,8 @@ for further description.
.It Ev PACKAGESITE
.It Ev PKG_DBDIR
.It Ev PKG_MULTIREPOS
+
.It Ev SIGNED_REPOS
+
.It Ev PUBKEY
.El
.Sh FILES
See