On 11/15/11 2:46 PM, David F. Skoll wrote:

> Well... really?  What about:
> 
> $Features{'Virus:CLAMD'} = (-f '/usr/sbin/clamd' || -f 
> '/usr/local/sbin/clamd' || -f '/opt/SUNWoracle/sbin/clamd);
> 
> The point of the ./configure script is to search all those weird and wonderful
> paths at build time.

Well, right. But the build target isn't always the same as the run-target.  
Especially for RPM-based builds.

That's pretty much my point.

> I don't like the idea of MIMEDefang suddenly leveraging other packages
> just by virtue of their being installed.  Instead, I recommend ignoring
> the whole compile-time $Features{...} mess and putting explicit
> $Features{...} assignments in your filter so you know exactly what you're
> getting.

Yes, there's that... except that I don't like to modify scripts themselves in 
/usr/bin... since that's a "program" and not "configuration data".

Yes, I'm a holdover from the days of diskless Sun workstations were /usr was 
mounted read-only...

-Philip

_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to