summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-01-18 20:02:45 +0000
committerru <ru@FreeBSD.org>2005-01-18 20:02:45 +0000
commitc05985f13f215ea0060080637a64b09c3cff6233 (patch)
treefcf95075ec47428572774cbb5d2f7bbdf690ed94 /usr.sbin/pkg_install
parent4c9a185523b963e32b04d8114b4b3f1e582b7c6f (diff)
downloadFreeBSD-src-c05985f13f215ea0060080637a64b09c3cff6233.zip
FreeBSD-src-c05985f13f215ea0060080637a64b09c3cff6233.tar.gz
Sort sections.
Diffstat (limited to 'usr.sbin/pkg_install')
-rw-r--r--usr.sbin/pkg_install/sign/pkg_sign.170
-rw-r--r--usr.sbin/pkg_install/version/pkg_version.122
2 files changed, 46 insertions, 46 deletions
diff --git a/usr.sbin/pkg_install/sign/pkg_sign.1 b/usr.sbin/pkg_install/sign/pkg_sign.1
index 6831294..ff73cf5 100644
--- a/usr.sbin/pkg_install/sign/pkg_sign.1
+++ b/usr.sbin/pkg_install/sign/pkg_sign.1
@@ -128,6 +128,23 @@ signing scheme uses eight bytes markers such
.Sq CKSHA1
+ length for its signatures (those markers are conveniently
eight bytes long).
+.Sh FILES
+.Bl -tag -width "/usr/local/bin/pgp" -compact
+.It Pa file.sign
+Temporary file built by
+.Nm
+from
+.Ar file .
+.It Pa /usr/local/bin/pgp
+Default path to
+.Xr pgp 1 .
+.It Pa /var/db/pkgs/SHA1
+Recorded checksums.
+.It Pa /etc/ssl/pkg.key
+Default package signing key.
+.It Pa /etc/ssl/pkg.crt
+Default package verification certificate(s).
+.El
.Sh EXIT STATUS
The
.Nm
@@ -156,41 +173,6 @@ The extended area of the gzip file has been used for an unknown purpose.
The gzip file uses a very early version of package signing that was
substantially slower.
.El
-.Sh BUGS
-The
-.Xr pgp 1
-utility is an ill-designed program, which is hard to interface with.
-For instance, the `separate signing scheme' it pretends to offer is
-useless, as it can't be used with pipes, so that
-.Nm pgp_sign
-needs to kludge it by knowing the length of a pgp signature, and invoking
-pgp in `seamless' signature mode, without compression of the main file,
-and just retrieving the signature.
-.Pp
-The checking scheme is little less convoluted, namely we rebuild the file
-that pgp expects on the fly.
-.Pp
-Paths to
-.Nm pgp
-and
-the checksum file are hard-coded to avoid tampering and hinder flexibility.
-.Sh FILES
-.Bl -tag -width "/usr/local/bin/pgp" -compact
-.It Pa file.sign
-Temporary file built by
-.Nm
-from
-.Ar file .
-.It Pa /usr/local/bin/pgp
-Default path to
-.Xr pgp 1 .
-.It Pa /var/db/pkgs/SHA1
-Recorded checksums.
-.It Pa /etc/ssl/pkg.key
-Default package signing key.
-.It Pa /etc/ssl/pkg.crt
-Default package verification certificate(s).
-.El
.Sh SEE ALSO
.Xr gzip 1 ,
.Xr pgp 1 ,
@@ -209,3 +191,21 @@ X.509 signatures and
.Fx
support added by
.An Wes Peters Aq wes@softweyr.com .
+.Sh BUGS
+The
+.Xr pgp 1
+utility is an ill-designed program, which is hard to interface with.
+For instance, the `separate signing scheme' it pretends to offer is
+useless, as it can't be used with pipes, so that
+.Nm pgp_sign
+needs to kludge it by knowing the length of a pgp signature, and invoking
+pgp in `seamless' signature mode, without compression of the main file,
+and just retrieving the signature.
+.Pp
+The checking scheme is little less convoluted, namely we rebuild the file
+that pgp expects on the fly.
+.Pp
+Paths to
+.Nm pgp
+and
+the checksum file are hard-coded to avoid tampering and hinder flexibility.
diff --git a/usr.sbin/pkg_install/version/pkg_version.1 b/usr.sbin/pkg_install/version/pkg_version.1
index 5665476..feb391f 100644
--- a/usr.sbin/pkg_install/version/pkg_version.1
+++ b/usr.sbin/pkg_install/version/pkg_version.1
@@ -195,17 +195,6 @@ file is specified on the command line,
.Pa /usr/ports/INDEX-6
is used.
.El
-.Sh COMPATIBILITY
-The
-.Fl c
-option has been deprecated and is no longer supported.
-.Sh SEE ALSO
-.Xr fetch 1 ,
-.Xr pkg_add 1 ,
-.Xr pkg_create 1 ,
-.Xr pkg_delete 1 ,
-.Xr pkg_info 1 ,
-.Xr portupgrade 8
.Sh FILES
.Bl -tag -width /usr/ports/INDEX-6 -compact
.It Pa /usr/ports/INDEX-6
@@ -227,6 +216,17 @@ the version numbers in the on-line ports collection:
The following command compares two package version strings:
.Pp
.Dl % pkg_version -t 1.5 1.5.1
+.Sh COMPATIBILITY
+The
+.Fl c
+option has been deprecated and is no longer supported.
+.Sh SEE ALSO
+.Xr fetch 1 ,
+.Xr pkg_add 1 ,
+.Xr pkg_create 1 ,
+.Xr pkg_delete 1 ,
+.Xr pkg_info 1 ,
+.Xr portupgrade 8
.Sh AUTHORS
The
.Nm
OpenPOWER on IntegriCloud