[Mimedefang] Simplifying installations re: $Features{}
Tilman Schmidt
t.schmidt at phoenixsoftware.de
Wed Nov 16 04:07:37 EST 2011
Am 16.11.2011 02:31, schrieb Philip Prindeville:
> On 11/15/11 2:46 PM, David F. Skoll wrote:
>>
>> 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.
Correct. So it's reasonable to default to "not installed".
>> [...] 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".
You shouldn't. The assignments should go into the filter script. I had
the same situation with CentOS and put this in mimedefang-filter:
#***********************************************************************
# Configure Virus Scanners
#***********************************************************************
$ClamdSock = "/var/run/clamav/clamd.sock";
$Features{'Virus:CLAMD'} = '/usr/sbin/clamd';
$Features{'Virus:CLAMAV'} = '/usr/bin/clamscan';
Works great.
HTH
Tilman
--
Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany
More information about the MIMEDefang
mailing list