[users] Mail::ClamAV update now available

Michael Mansour mic at npgx.com.au
Fri Jan 18 13:17:11 CET 2008


> Hi Dries,
> 
> > On Tuesday 15 January 2008 02:15:20 am Michael Mansour wrote:
> > > Hi Dag/Dries,
> > >
> > > The update is now available:
> > >
> > > http://search.cpan.org/~sabeck/Mail-ClamAV-0.21/ClamAV.pm
> > 
> > Hello Michael,
> > I've updated the spec file.
> 
> I've checked here:
> 
> http://dries.ulyssis.org/rpm/packages/perl-Mail-ClamAV/perl-Mail-
> ClamAV-spec.html
> 
> and here:
> 
> http://dries.ulyssis.org/rpm/packages/perl-Mail-ClamAV/info.html
> 
> and can't find 0.21 anywhere??

Ok, I think your email reply referred to this:

Rpmforge Subversion URL:
http://svn.rpmforge.net/svn/trunk/rpms/perl-Mail-ClamAV/perl-Mail-ClamAV.spec

So I grabbed that spec and attempted compilation (on an el4.5 server).

The only errors I saw were:

cpio: Mail-ClamAV-0.21/_Inline/build/Mail/ClamAV/ClamAV.c: No such file or
directory
cpio: Mail-ClamAV-0.21/_Inline/build/Mail/ClamAV/ClamAV.xs: No such file or
directory

but the file was created:

Wrote: /usr/src/redhat/RPMS/i386/perl-Mail-ClamAV-0.21-1.i386.rpm

I installed it, then compared it to the perl-Mail-ClamAV 0.20 from rpmforge:

# rpm -ql perl-Mail-ClamAV
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/Mail
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/Mail/ClamAV.pm
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/auto/Mail
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/auto/Mail/ClamAV
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/auto/Mail/ClamAV/ClamAV.bs
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/auto/Mail/ClamAV/ClamAV.so
/usr/share/doc/perl-Mail-ClamAV-0.21
/usr/share/doc/perl-Mail-ClamAV-0.21/Changes
/usr/share/doc/perl-Mail-ClamAV-0.21/INSTALL
/usr/share/doc/perl-Mail-ClamAV-0.21/MANIFEST
/usr/share/doc/perl-Mail-ClamAV-0.21/META.yml
/usr/share/doc/perl-Mail-ClamAV-0.21/README
/usr/share/man/man3/Mail::ClamAV.3pm.gz

compared to:

# rpm -ql perl-Mail-ClamAV
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/Mail
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/Mail/ClamAV.pm
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/auto/Mail
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/auto/Mail/ClamAV
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/auto/Mail/ClamAV/ClamAV.bs
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/auto/Mail/ClamAV/ClamAV.so
/usr/share/doc/perl-Mail-ClamAV-0.20
/usr/share/doc/perl-Mail-ClamAV-0.20/Changes
/usr/share/doc/perl-Mail-ClamAV-0.20/INSTALL
/usr/share/doc/perl-Mail-ClamAV-0.20/MANIFEST
/usr/share/doc/perl-Mail-ClamAV-0.20/META.yml
/usr/share/doc/perl-Mail-ClamAV-0.20/README
/usr/share/man/man3/Mail::ClamAV.3pm.gz

Looks ok. I ran it through a MailScanner lint and the eicar was detected by
the clamavmodule.

I now wish to upgrade clamav and clamav-db (where I have both rpm's from
rpmforge using 0.91.2 versions), and got the following error when trying to
update to 0.92:

# yum --enablerepo=dag -y update clamav clamav-db
Loading "kernel-module" plugin
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package clamav-db.i386 0:0.92-1.el4.rf set to be updated
---> Package clamav.i386 0:0.92-1.el4.rf set to be updated
--> Running transaction check
--> Processing Dependency: libclamav.so.2 for package: perl-Mail-ClamAV
--> Processing Dependency: clamav = 0.91.2-1.el4.rf for package: clamav-devel
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package clamav-devel.i386 0:0.92-1.el4.rf set to be updated
--> Running transaction check
--> Processing Dependency: libclamav.so.2 for package: perl-Mail-ClamAV
--> Finished Dependency Resolution
Error: Missing Dependency: libclamav.so.2 is needed by package perl-Mail-ClamAV

Hmm... 

# yum whatprovides libclamav.so.2
Loading "kernel-module" plugin
Searching Packages:
Setting up repositories
Reading repository metadata in from local files
Importing Additional filelist information for packages
filelists.xml.gz          100% |=========================| 1.6 MB    00:00
sl-errata : ################################################## 728/728
Added 728 new packages, deleted 0 old in 46.71 seconds
filelists.xml.gz          100% |=========================| 2.0 MB    00:00
sl-base   : ################################################## 1750/1750
Added 1750 new packages, deleted 0 old in 47.42 seconds


clamav.i386                              0.91.2-1.el4.rf        installed
Matched from:
/usr/lib/libclamav.so.2
/usr/lib/libclamav.so.2.0.8
libclamav.so.2

Ok.. so does this mean that 0.92 doesn't have libclamav.so.2 ? let's see:

# rpm -qlp clamav-0.92-1.el4.rf.i386.rpm |grep lib
/usr/lib/libclamav.so.3
/usr/lib/libclamav.so.3.0.3
/usr/lib/libclamunrar.so.3
/usr/lib/libclamunrar.so.3.0.3
/usr/lib/libclamunrar_iface.so.3
/usr/lib/libclamunrar_iface.so.3.0.3

This is a problem, what's the way forward now?

Michael.

> Am I doing something wrong?
> 
> Michael.
> 
> > kind regards,
> > Dries
> ------- End of Original Message -------
> 
> _______________________________________________
> users mailing list
> users at lists.rpmforge.net
> http://lists.rpmforge.net/mailman/listinfo/users
------- End of Original Message -------



More information about the users mailing list