1 .\" Copyright (c) 1997 Robert Nordier
2 .\" All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
13 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS
14 .\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
15 .\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
16 .\" DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT,
17 .\" INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
18 .\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
19 .\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
21 .\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
22 .\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
23 .\" POSSIBILITY OF SUCH DAMAGE.
30 .Nd check software distributions
43 files (which are assumed to specify components
44 of a software distribution) and verifies the integrity of the
45 distribution by validating the checksum of each component file.
47 .Dq "message digest" )
51 formats are supported.
55 operands may refer to regular files or to directories.
64 assumed to be of the implied type, otherwise format is determined from
66 If a directory is specified, it is searched for
67 appropriately-named files only.
69 The options are as follows:
70 .\"Bl -tag -width ".Fl n Ar name"
71 .Bl -tag -width 8n -offset indent
73 Report on all distribution components, not just those in respect of
74 which errors are detected.
76 Ignore missing distribution components.
78 Search specified directories recursively.
80 Suppress complaints about inaccessible checksum files and directories.
82 Verify the existence of distribution components (and also check sizes,
85 files), but omit the more time-consuming step of
86 actually computing and comparing checksums.
88 Look for distribution components in the directory
91 Access distribution components using the filename
95 file components, append the appropriate
96 extension to the filename.
98 Assume that all specified checksum files are of the format
100 and search directories only for files in this format (where
110 utility exits with one of the following values:
111 .Bl -tag -width indent
113 No errors were detected.
115 Errors were found in a distribution.
117 Usage errors, inaccessible input files, or
118 other system errors were encountered.