Package: cfv
Version: 1.18-2.2
Severity: wishlist
Some friends of mine run FreeBSD, and therefore had checksum files produced
by their md5 command. The default output is already supported, but using
the switch -r it outputs something that's almost but not quite identical
to md5sum. Example:
md5 $(which md5) => "MD5 (/sbin/md5) = 18eacbe50f75f0221195d16a5967bf7e"
md5 -r $(which md5) => "18eacbe50f75f0221195d16a5967bf7e /sbin/md5"
As far as I can tell, all that's needed to support verification of such
files is changing [ *] to [ *]? in this regex (class MD5):
_foosum_rem=re.compile(r'([0-9a-fA-F]{32}) ([ *])([^\r\n]+)[\r\n]*$')
Writing, however, would require an additional switch. The difference is
merely the absence of the text/binary specifier (either a space or *,
always written as * by cfv).
The -r switch (for FreeBSD) is poorly documented. Apparently NetBSD has
the same function as -n. The OpenBSD man page says that it matches
cksum, which uses yet another format.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.18-4-k7 (SMP w/1 CPU core)
Locale: LANG=sv_SE.ISO-8859-15, LC_CTYPE=sv_SE.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash
Versions of packages cfv depends on:
ii python 2.4.4-2 An interactive high-level object-o
ii python-support 0.6.3 automated rebuilding support for p
Versions of packages cfv recommends:
ii bittorrent 3.4.2-10 Scatter-gather network file transf
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]