Commit graph

4 commits

Author SHA1 Message Date
Mikhail Teterin
bd40f13590 Don't use the bundled md5.c and getopt1.c in favor of OpenSSL and
USE_GETOPT_LONG respectively. This reduces the executable's size
considerably. (More ports should be doing this.)

When comparing md5 checksums (used to detect duplicates in the
input), treat each as a pair of 8-byte integers instead of calling
strncmp, which was just plain buggy. Memcmp should've been used
instead, but two integer comparisions are even faster.

Re-work the resizable array of checksums removing a separate malloc
call for each md5 checksum. This reduces the runtime memory consumption
considerably. (Tried using a hashtable instead of linearly searching
through the array, but did not see a speed-gain even over a large
collection of messages.)

Vendor notified, but has not responded (the software's last release
is several years old).

Bump PORTREVISION.

Approved by:	maintainer
2007-03-09 08:05:08 +00:00
Anders Nordby
3f0a665050 Update to version 0.7.6a. 2002-04-07 02:06:13 +00:00
Anders Nordby
7cc14f6ef8 Update to 0.7.4. 2002-01-21 02:57:57 +00:00
Anton Berezin
60d0e9fd8d Add mboxgrep 0.7.0, a utility to scan mailboxes for messages matching a
regular expression.

PR:		31550
Submitted by:	Anders Nordby <anders@fix.no>
2001-10-30 22:49:54 +00:00