diff options
author | charnier <charnier@FreeBSD.org> | 2002-04-20 12:27:18 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 2002-04-20 12:27:18 +0000 |
commit | fdbc3fd42a5dc889e8c27bdd9f3a79026e096e03 (patch) | |
tree | 7a4469332fc98c3b02f0549c6e419486d82bb24e /usr.sbin/pkg_install | |
parent | c9db9bb4184eaea2c607acd8e11305f7014d71db (diff) | |
download | FreeBSD-src-fdbc3fd42a5dc889e8c27bdd9f3a79026e096e03.zip FreeBSD-src-fdbc3fd42a5dc889e8c27bdd9f3a79026e096e03.tar.gz |
Use `The .Nm utility'
Diffstat (limited to 'usr.sbin/pkg_install')
-rw-r--r-- | usr.sbin/pkg_install/add/pkg_add.1 | 3 | ||||
-rw-r--r-- | usr.sbin/pkg_install/delete/pkg_delete.1 | 2 | ||||
-rw-r--r-- | usr.sbin/pkg_install/sign/pkg_sign.1 | 15 | ||||
-rw-r--r-- | usr.sbin/pkg_install/version/pkg_version.1 | 3 |
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 c0cf603..cf03d72 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 947939b..fbcf752 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 7fea4b7..9a11794 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 3a4d9a8..da9a703 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 |