diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-11-08 19:37:39 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-11-08 19:37:39 +0000 |
commit | eabe392689c3e08b4b5edfbf5e47fff1a991ab47 (patch) | |
tree | 4656dec87c6751bd802394d856c994832a91ffee /usr.sbin/pkg_install | |
parent | 4d90dca684672cb16fb5ffb3e8967303f44348b8 (diff) |
- Get rid of ".Sh OPTIONS" and always use the standard options list intro.
- Move some BUGS/CAVEATS to the end of the man pages where they should go.
- Correct some .Nm usage.
Diffstat (limited to 'usr.sbin/pkg_install')
-rw-r--r-- | usr.sbin/pkg_install/create/pkg_create.1 | 6 | ||||
-rw-r--r-- | usr.sbin/pkg_install/delete/pkg_delete.1 | 60 |
2 files changed, 32 insertions, 34 deletions
diff --git a/usr.sbin/pkg_install/create/pkg_create.1 b/usr.sbin/pkg_install/create/pkg_create.1 index dc7f7d895f2..1747aa304ad 100644 --- a/usr.sbin/pkg_install/create/pkg_create.1 +++ b/usr.sbin/pkg_install/create/pkg_create.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pkg_create.1,v 1.16 2000/10/23 22:23:34 espie Exp $ +.\" $OpenBSD: pkg_create.1,v 1.17 2000/11/08 19:37:36 aaron Exp $ .\" .\" FreeBSD install - a package for the installation and maintainance .\" of non-core utilities. @@ -62,8 +62,8 @@ It is more expected that you will use a front-end tool for the job rather than muddling through it yourself. Nonetheless, a short description of the input syntax is included in this document. -.Sh OPTIONS -The following command line options are supported: +.Pp +The options are as follows: .Bl -tag -width indent .It Fl f Ar packinglist Fetch diff --git a/usr.sbin/pkg_install/delete/pkg_delete.1 b/usr.sbin/pkg_install/delete/pkg_delete.1 index ea1ee68c799..6c49529425a 100644 --- a/usr.sbin/pkg_install/delete/pkg_delete.1 +++ b/usr.sbin/pkg_install/delete/pkg_delete.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pkg_delete.1,v 1.10 2000/04/15 02:15:19 aaron Exp $ +.\" $OpenBSD: pkg_delete.1,v 1.11 2000/11/08 19:37:36 aaron Exp $ .\" .\" FreeBSD install - a package for the installation and maintainance .\" of non-core utilities. @@ -43,35 +43,8 @@ Package names may be specified either as the package name itself, or as filename , or the .Dq .tar suffix. -.Sh WARNING -.Bf -emphasis -Since the -.Nm -command may execute scripts or programs provided by a package file, -your system may be susceptible to ``trojan horses'' or other subtle -attacks from miscreants who create dangerous package files. .Pp -You are advised to verify the competence and identity of those who -provide installable package files. -For extra protection, examine all -the package control files in the package record directory -.Pq Pa /var/db/pkg/<pkg-name>/ . -Pay particular -attention to any +INSTALL, +DEINSTALL, +REQUIRE or +MTREE_DIRS files, -and inspect the +CONTENTS file for -.Cm @cwd , -.Cm @mode -(check for setuid), -.Cm @dirrm , -.Cm @exec , -and -.Cm @unexec -directives, and/or use the -.Xr pkg_info 1 -command to examine the installed package control files. -.Ef -.Sh OPTIONS -The following command line options are supported: +The options are as follows: .Bl -tag -width indent .It Ar pkg-name Op Ar ... The named packages are deinstalled. @@ -187,5 +160,30 @@ most of the work .It "John Kohl" refined it for NetBSD .El -.Sh BUGS -Sure to be some. +.Sh WARNING +.Bf -emphasis +Since the +.Nm +command may execute scripts or programs provided by a package file, +your system may be susceptible to ``trojan horses'' or other subtle +attacks from miscreants who create dangerous package files. +.Pp +You are advised to verify the competence and identity of those who +provide installable package files. +For extra protection, examine all +the package control files in the package record directory +.Pq Pa /var/db/pkg/<pkg-name>/ . +Pay particular +attention to any +INSTALL, +DEINSTALL, +REQUIRE or +MTREE_DIRS files, +and inspect the +CONTENTS file for +.Cm @cwd , +.Cm @mode +(check for setuid), +.Cm @dirrm , +.Cm @exec , +and +.Cm @unexec +directives, and/or use the +.Xr pkg_info 1 +command to examine the installed package control files. +.Ef |