AVG Support

Rick Cooper rcooper at DWFORD.COM
Fri Apr 2 18:02:18 IST 2004


> -----Original Message-----
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
> Behalf Of Rob Freeman
> Sent: Friday, April 02, 2004 11:23 AM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: AVG Support
>
>
> I am getting closer:
>
> Hunk #1 FAILED at 352.
> Hunk #3 succeeded at 2434 with fuzz 2 (offset -1 lines).
> 1 out of 3 hunks FAILED -- saving rejects to file
> /usr/lib/MailScanner/MailScanner/SweepViruses.pm.rej
>
> I used my original SweepViruses.pm to get to this point.  I am running
> MailScanner 4.29.7 on fedora
>
> The reject message is:
>

What is located at line 352 - 359 in you SweepViruses.pm?
it would appear something is missing or added  between those lines.

> ***************
> *** 352,359 ****
>       ProcessOutput     => \&NeverHappens,
>       SupportScanning   => $S_NONE,
>       SupportDisinfect  => $S_NONE,
>     },
>   );
>
>   # Initialise the Sophos SAVI library if we are using it.
>   sub initialise {
> --- 352,370 ----
>       ProcessOutput     => \&NeverHappens,
>       SupportScanning   => $S_NONE,
>       SupportDisinfect  => $S_NONE,
>     },
> +   "avg"   => {
> +     Name              => 'Avg',
> +     Lock                => 'AvgBusy.lock',
> +     CommonOptions       => '-arc -ext=*',
> +     DisinfectOptions    => '',
> +     ScanOptions         => '',
> +     InitParser          => \&InitAvgParser,
> +     ProcessOutput       => \&ProcessAvgOutput,
> +     SupportScanning     => $S_SUPPORTED,
> +     SupportDisinfect    => $S_SUPPORTED,
> +   },
>   );
>
>   # Initialise the Sophos SAVI library if we are using it.
>   sub initialise {
>
> The patch command I ran was:
>
> patch /usr/lib/MailScanner/MailScanner/SweepViruses.pm
> ./SweepVirusesAvg.diff
>
<snip>



More information about the MailScanner mailing list