mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
e6280f9d48
PR: ports/83181 Submitted by: Vsevolod Stakhov <vsevolod@highsecure.ru>
17 lines
857 B
Plaintext
17 lines
857 B
Plaintext
This utility is a wrapper for the md5(3), sha1(3), rmd160(3), and
|
|
tiger hash routines. It is remarkably similar to the digest package,
|
|
except that it can recursively checksum directory trees.
|
|
|
|
While a simple checksum on a tar file is usually satisfactory, once
|
|
said archive has been extracted, it is virtually impossible to
|
|
repackage the extracted tree in a form that can yield a repeatable
|
|
checksum. To be specific, changes in timestamps and ownership, and
|
|
changes in file ordering within directories can affect the checksum of
|
|
the archive, while not really impacting the actual code at all.
|
|
|
|
The algorithm used to checksum a directory in this implementation
|
|
is considers only the files' pathnames, the files' types (ie,
|
|
directory vs. file vs. symbolic link), and their contents (for
|
|
the latter two). It is described in greater detail in the man
|
|
page.
|