Re: trainbogo.sh tune

"Matthias Andree" <[email protected]>
Newsgroups gmane.mail.bogofilter.general
Message-ID <[email protected]>
Am 16.02.2009, 20:47 Uhr, schrieb Vasiliy G Tolstov <[email protected]>:

> On Mon, 2009-02-16 at 20:41 +0100, Matthias Andree wrote:
>> Am 16.02.2009, 19:52 Uhr, schrieb Vasiliy G Tolstov
>> <[email protected]>:
>>
>> > Hello! Today i'm switch from gentoo linux to freebsd and saw, that
>> > trainbogo.sh does not work bacouse md5sum not found, may bee best
>> > solution - use openssl to generate md5 hash?
>> >
>> > to generate md5 with openssl You must pass enc -e -base64 to openssl
>> > like this
>> > echo 'test' | openssl enc -e -base64
>> >
>> > simple patch to bogofilter-sqlite-1.1.7_1 (freebsd)
>>
>> Can you install sysutils/coreutils and retry? If that helps, I'll
>> simply
>> depend on that port/package so as to provide md5sum.
>
> But why? All *nix operating systems have openssl by default (openssh
> need them), i think much better to use openssl and not use md5sum...

Stability of interfaces. I've seen openssl change incompatibly before  
where fetchmail depended on it, for extracting key finger prints, and some  
systems may have gnutls instead.

My options are:
- depend on coreutils for FreeBSD (so we have md5sum)
- patch scripts for md5 (for FreeBSD, possible in the port)
- do nothing and let people deal with it (such as: install coreutils)

Best regards,

-- 
Matthias Andree
_______________________________________________
Bogofilter mailing list
[email protected]
http://www.bogofilter.org/mailman/listinfo/bogofilter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.