aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>2002-04-20 12:27:18 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>2002-04-20 12:27:18 +0000
commit7f94b8deee60475f7d25f04484f36e824d2ce21d (patch)
tree7a4469332fc98c3b02f0549c6e419486d82bb24e /usr.sbin/pkg_install
parentc720dea0f22dd4b1c1f24d6881f2e529cebdcca1 (diff)
Notes
Diffstat (limited to 'usr.sbin/pkg_install')
-rw-r--r--usr.sbin/pkg_install/add/pkg_add.13
-rw-r--r--usr.sbin/pkg_install/delete/pkg_delete.12
-rw-r--r--usr.sbin/pkg_install/sign/pkg_sign.115
-rw-r--r--usr.sbin/pkg_install/version/pkg_version.13
4 files changed, 16 insertions, 7 deletions
diff --git a/usr.sbin/pkg_install/add/pkg_add.1 b/usr.sbin/pkg_install/add/pkg_add.1
index c0cf6030f029..cf03d72f97b3 100644
--- a/usr.sbin/pkg_install/add/pkg_add.1
+++ b/usr.sbin/pkg_install/add/pkg_add.1
@@ -206,8 +206,9 @@ passive mode
.Ef
ftp.
.Sh TECHNICAL DETAILS
+The
.Nm
-is fairly simple. It extracts each package's "packing list"
+utility is fairly simple. It extracts each package's "packing list"
into a special staging directory, parses it,
and then runs through the following sequence to fully extract the contents:
.Bl -enum
diff --git a/usr.sbin/pkg_install/delete/pkg_delete.1 b/usr.sbin/pkg_install/delete/pkg_delete.1
index 947939b8c480..fbcf752b9e9c 100644
--- a/usr.sbin/pkg_install/delete/pkg_delete.1
+++ b/usr.sbin/pkg_install/delete/pkg_delete.1
@@ -124,7 +124,9 @@ Recursive removal. In addition to specified packages, delete all
packages that depend on those packages as well.
.El
.Sh TECHNICAL DETAILS
+The
.Nm
+utility
does pretty much what it says. It examines installed package records in
.Pa /var/db/pkg/<pkg-name> ,
deletes the package contents, and finally removes the package records.
diff --git a/usr.sbin/pkg_install/sign/pkg_sign.1 b/usr.sbin/pkg_install/sign/pkg_sign.1
index 7fea4b7f1de1..9a117943d430 100644
--- a/usr.sbin/pkg_install/sign/pkg_sign.1
+++ b/usr.sbin/pkg_install/sign/pkg_sign.1
@@ -47,8 +47,9 @@
.Op Fl k Ar cert
.Op Ar
.Sh DESCRIPTION
+The
.Nm
-embeds a cryptographic signature within a gzip file
+utility embeds a cryptographic signature within a gzip file
.Ar file .
.Ar type
can be
@@ -72,8 +73,9 @@ you must supply an
which will be recorded as the name of the package, and printed as the
SHA1 checksum.
.Pp
+The
.Nm pkg_check
-checks that cryptographic signature.
+utility checks that cryptographic signature.
It currently disregards
.Ar type
and checks only the topmost signature.
@@ -126,10 +128,11 @@ signing scheme uses eight bytes markers such
+ length for its signatures (those markers are conveniently
eight bytes long).
.Sh DIAGNOSTICS
+The
.Nm
and
.Nm pkg_check
-return with an exit code >0 if anything went wrong for any
+utilities return with an exit code >0 if anything went wrong for any
.Ar file .
For
.Nm pkg_check ,
@@ -138,8 +141,9 @@ signature is forged.
.Bl -diag
.It "File %s is already signed"
There is a signature embedded within the gzip file already.
+The
.Nm
-currently does not handle multiple signatures.
+utility currently does not handle multiple signatures.
.It "File %s is not a signed gzip file"
This is an unsigned package.
.It "File %s is not a gzip file"
@@ -191,8 +195,9 @@ Default package verification certificate(s).
.Xr sha1 1
.Sh AUTHORS
.An -nosplit
+A
.Nm
-was created by
+utility was created by
.An Marc Espie
for the
.Ox
diff --git a/usr.sbin/pkg_install/version/pkg_version.1 b/usr.sbin/pkg_install/version/pkg_version.1
index 3a4d9a8f7bd9..da9a7035f96f 100644
--- a/usr.sbin/pkg_install/version/pkg_version.1
+++ b/usr.sbin/pkg_install/version/pkg_version.1
@@ -106,8 +106,9 @@ was unable to compare the version number of the installed package
with the corresponding entry in the index.
.El
.Sh OPTIONS
+The
.Nm
-supports several command-line arguments:
+utility supports several command-line arguments:
.Bl -tag -width indent
.It Fl c
Enable commands output. Commands output includes the commands you should