summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install/files/admin/pkg_admin.1
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools/pkg_install/files/admin/pkg_admin.1')
-rw-r--r--pkgtools/pkg_install/files/admin/pkg_admin.115
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.