Re: OpenSSL's MD5?

Ossi Herrala <[email protected]> Tue, 3 Jan 2006 19:45:35 +0200
Newsgroups gmane.mail.spam.spamprobe.general
Message-ID <[email protected]>
On Tue, Jan 03, 2006 at 03:00:12PM +0100, Stefan Walter wrote:
> Brian Burton, 03.01.06, 14:29h CET:
> 
> > release.  I plan to add support for jpg and png as well.  Do you think 
> > these should be enabled/disabled separately?  Or maybe as a single 
> > option such as --without-images or --disable-images?
> 
> Hm...I don't have a strong opinion on this. I don't know if there are
> scenarios in which people would want to check only GIF attachments, but
> not JPEGs or PNGs. A single option would probably be enough.
> 

There might be a case where only libraries for GIF support are in the
system. Or there might be GIF libraries and PNG libraries in different
places. How should it work then?

Some softwares seems use configure options like this (some kind of defacto?):

 --with-jpg
 --with-png=/path/to/png-library
 --without-gif

For software packagers (like me for NetBSD's pkgsrc) it's convenient
to have such wide range of options. This way it's easy to build binary
packages with wanted depencies (and not to get ghost depencies from
softwares autodetection features) and users building packages from
sources can use the package framework to adjust the wanted depencies.

Example:

$ cd /usr/pkgsrc/mail/spamprobe/ 
$ make show-options              
Any of the following general options may be selected:
        bdb
        gif      Enable GIF support.

These options are enabled by default: gif
These options are currently enabled: gif

$ make PKG_OPTIONS.spamprobe=bdb show-options 
<clipeticlip, same text as before>

These options are enabled by default: gif
These options are currently enabled: bdb gif

$ make PKG_OPTIONS.spamprobe=-gif show-options
<clipeticlip, same text as before>

These options are enabled by default: gif
These options are currently enabled: 


With such an easy switches in package framework everyone can build a
package with options they want.


-- 
Ossi Herrala, OH8HUB
PGP: 0x78CD0337 / D343 F9C4 C739 DFFF F619  6170 8D28 8189 78CD 0337 

Hi! I am a .signature virus.  Copy me into your .signature to join in!


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click