CKDIST(1) FreeBSD Reference Manual CKDIST(1) NNAAMMEE cckkddiisstt - check software distributions SSYYNNOOPPSSIISS cckkddiisstt [--aaiirrssxx] [--dd _d_i_r] [--nn _n_a_m_e] [--tt _t_y_p_e] _f_i_l_e _._._. DDEESSCCRRIIPPTTIIOONN The cckkddiisstt utility reads "checksum" files (which are assumed to specify components of a software distribution) and verifies the integrity of the distribution by validating the checksum of each component file. Both MD5 (128-bit "message digest") and .inf (32-bit CRC) checksum formats are supported. The _f_i_l_e operands may refer to regular files or to directories. Regular files named "md5", or which have an ".md5" or an ".inf" extension, are assumed to be of the implied type, otherwise format is determined from content. If a directory is specified, it is searched for appropriately- named files only. Options are as follows: --aa Report on all distribution components, not just those in respect of which errors are detected. --ii Ignore missing distribution components. --rr Search specified directories recursively. --ss Suppress complaints about inaccessible checksum files and directories. --xx Verify the existence of distribution components (and also check sizes, in the case of .inf files), but omit the more time-consuming step of actually computing and com- paring checksums. --dd _d_i_r Look for distribution components in the directory _d_i_r. --nn _n_a_m_e Access distribution components using the filename _n_a_m_e. (When accessing .inf file components, append the appro- priate extension to the filename.) --tt _t_y_p_e Assume that all specified checksum files are of the for- mat _t_y_p_e, and search directories only for files in this format (where _t_y_p_e is either "md5" or "inf"). SSEEEE AALLSSOO cksum(1), md5(1) DDIIAAGGNNOOSSTTIICCSS Exit status is 0 if no errors were detected, 1 if errors were found in a distribution, and 2 if usage errors, inaccessible input files, or other system errors were encountered. NNOOTTEESS Both BSD and DOS versions of cckkddiisstt are available. BSD January 20, 1997 1