diff options
author | jlam <jlam@pkgsrc.org> | 2005-02-04 01:19:03 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-02-04 01:19:03 +0000 |
commit | 92762b96b0a303d69f8a2395b735320c81b6121c (patch) | |
tree | 8ec54005b34356042f7dc756ad0598031474313c /pkgtools/pkg_install/files/admin/pkg_admin.1 | |
parent | 591eff33b75ab70a03afef8ae6f668b136881a9b (diff) | |
download | pkgsrc-92762b96b0a303d69f8a2395b735320c81b6121c.tar.gz |
Pull in documentation/whitespace fixes and improvements from the HEAD
revision of src/usr.sbin/pkg_install as of 20050204. I ran:
cd pkgsrc/pkg_install/files
./pkg_install2nbcompat .
Then I ran "cvs diff" and looked for portability-related changes that
were removed as a result of the import and resurrected them from the
repository.
Diffstat (limited to 'pkgtools/pkg_install/files/admin/pkg_admin.1')
-rw-r--r-- | pkgtools/pkg_install/files/admin/pkg_admin.1 | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/pkgtools/pkg_install/files/admin/pkg_admin.1 b/pkgtools/pkg_install/files/admin/pkg_admin.1 index e8acd26a023..9257522409f 100644 --- a/pkgtools/pkg_install/files/admin/pkg_admin.1 +++ b/pkgtools/pkg_install/files/admin/pkg_admin.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: pkg_admin.1,v 1.8 2004/08/20 20:09:53 jlam Exp $ +.\" $NetBSD: pkg_admin.1,v 1.9 2005/02/04 01:19:03 jlam Exp $ .\" .\" Copyright (c) 1999-2002 Hubert Feyrer. All rights reserved. .\" @@ -102,14 +102,17 @@ The following commands are supported: .Bl -tag -width indent .It Cm add Ar pkg ... For each listed package, write the absolute pathnames of the files listed in -its +CONTENTS file together with the package they belong to into the package -database. +its +.Pa +CONTENTS +file together with the package they belong to into the package database. This should be used only by .Xr pkg_view 1 . .It Cm check Op Ar pkg ... Use this command to check the files belonging to some or all of the packages installed on the local machine against the checksum -which was recorded in the +CONTENTS files at package installation time. +which was recorded in the +.Pa +CONTENTS +files at package installation time. Symbolic links also have their integrity checked against the recorded value at package installation time. If no additional argument is given, the files of all installed packages @@ -117,7 +120,9 @@ are checked, else only the named packages will be checked (wildcards can be used here, see .Xr pkg_info 1 ) . .Pp -The packages' +CONTENTS files will be parsed and the +The packages' +.Pa +CONTENTS +files will be parsed and the checksum will be checked for every file found. A warning message is printed if the expected checksum differs from the checksum of the file on disk. |