Merge from vendor branch TNF:
[pkgsrcv2.git] / pkgtools / rdigest / DESCR
1 This utility is a wrapper for the md5(3), sha1(3), rmd160(3), and
2 tiger hash routines.  It is remarkably similar to the digest package,
3 except that it can recursively checksum directory trees.
4
5 While a simple checksum on a tar file is usually satisfactory, once
6 said archive has been extracted, it is virtually impossible to
7 repackage the extracted tree in a form that can yield a repeatable
8 checksum.  To be specific, changes in timestamps and ownership, and
9 changes in file ordering within directories can affect the checksum of
10 the archive, while not really impacting the actual code at all.
11
12 The algorithm used to checksum a directory in this implementation
13 is considers only the files' pathnames, the files' types (ie,
14 directory vs.  file vs. symbolic link), and their contents (for
15 the latter two).  It is described in greater detail in the man
16 page.