Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60201 - QMail-Scanner 1.22 fail to detect f-prot antivirus, path error in configure script
Summary: QMail-Scanner 1.22 fail to detect f-prot antivirus, path error in configure s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-13 02:21 UTC by GRIMLER Nicolas
Modified: 2004-08-14 14:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Diff file of configure script for path correction (fprot_path.diff,770 bytes, patch)
2004-08-13 02:23 UTC, GRIMLER Nicolas
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description GRIMLER Nicolas 2004-08-13 02:21:13 UTC
When emergeing qmail-scanner 1.22-r1, the configure script inspect the system in order to find installed scanners (antivirus, spam filter, ...).

If f-prot is installed in /opt/f-prot (default directory from f-prot ebuild) qmail-scanner don't detect it.

After emerging various versions of f-prot (from 4.3.1 up to 4.4.2) and qmail-scanner (from 1.16 up to 1.22-r1) and trying to install manually the qmail-scanner 1.23 from sources (http://qmail-scanner.sourceforge.net) I've take a look at the configure script in order to find where it's looking for F-Prot.

In the script, the path for f-prot is /usr/local/f-prot but Portage install it in /opt/f-prot. So I've change path to the right location and qmail-scanner detect and modify qmail-scanner-queue.pl correctly with good things.

Reproducible: Always
Steps to Reproduce:
1. emerge f-prot
2. emerge >=qmail-scanner-1.16


Actual Results:  
During the configure, you can see something like this:

Content/Virus Scanners installed on your System
fast_spamassassin=/usr/bin/spamc
Qmail-Scanner details.

and above:

silent-viruses='klez',<...>,'winevar'
scanners="fast_spamassassin"

Expected Results:  
Content/Virus Scanners installed on your System
fprot=/opt/f-prot/f-prot
fast_spamassassin=/usr/bin/spamc
Qmail-Scanner details.

and above:

silent-viruses='klez',<...>,'winevar'
scanners="fprot_scanner","fast_spamassassin"

Portage 2.0.50-r5 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.26-gentoo-r7)
=================================================================
System uname: 2.4.26-gentoo-r7 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="apache2 bzlib crypt gdbm gpm imap libwww maildir mysql ncurses nls openssh
pam perl python readline sasl slang sockets spamassassin sse ssl tcpd vhosts x86
zlib"
Comment 1 GRIMLER Nicolas 2004-08-13 02:23:20 UTC
Created attachment 37332 [details, diff]
Diff file of configure script for path correction

The .diff file attached show you where to change the path in the configure
script or can be user to modify the .ebuild of qmail-scanner.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-08-14 14:55:40 UTC
f-prot is detected perfectly fine for me.
we specify it in the PATH statement inside the ebuild.

qmail-scanner 1.23 is in CVS now.
The additional spamassassin patch is not yet available for this version, so I've dropped it for the moment.