Clamav for old kolabd-1.9.4

Gelpi Andrea liste at gelpi.it
Tue Apr 20 10:44:17 CEST 2010


Michael Harnden ha scritto:
> On Sunday 18 April 2010 06:45:03 am Gelpi Andrea wrote:
>> Johannes Graumann ha scritto:
>>> Liutauras Adomaitis wrote:
>>>> On Fri, Apr 16, 2010 at 4:43 PM, Vladislav Tchernev
>>>>
>>>> <vtchernev at gmail.com>wrote:
>>>>> Hi All,
>>>>> Sorry if this message has been sent twice.
>>>>> I have an old kolab 1.9.4 installation and the clamav(0.88.4) stopped
>>>>> working
>>>>> last nigh complaining that "This version of the ClamAV engine is
>>>>>
>>>>> outdated" and finally failing with:
>>>>> | LibClamAV Error: Problem parsing signature at line 742
>>>>> | LibClamAV Error: Problem parsing database at line 742
>>>>>
>>>>> | LibClamAV Error: Can't load /tmp/clamav-bc1fd1cd6ce0e0d4/daily.ndb:
>>>>> Malformed database
>>>>>
>>>>> | /tmp/rc-20100416084255-22634/rc.tmp: line 200: 23847 Segmentation
>>>>>
>>>>> fault      /kolab/sbin/clamd --config-file=$clamav_cfgfile
>>>>>
>>>>> I guess upgrading the clamav will fix the issue. My question is can
>>>>> Idownload the latest clamav src rpm from kolab's security-updates,
>>>>> build and install  the package on my old kolab setup.
>>>>>
>>>>> We' have several old qmail servers and clamav stoped on them as well.
>>>> Clamav on Kolab 2.2.2 works. it seems that format of clamdb has changed
>>>> and erlder versions of clamav doesn't understands it. It doesn't answer
>>>> your question, but it may be a problem for lots of clamav users.
>>> According to an ongoing debian security discussion, clamav below 0.95(?)
>>> was inactivated by the last signature-update it loaded. This has been
>>> announced long ago by the clamav team (http://tinyurl.com/y7rxco8) ...
>>> upgrade!
>>>
>>> Joh
>> For Kolab 2.1.0 where is possible to get a clamav 0.95 ?
>> I try clamav 0.95.1 but it requires a new openpkg version.
>> Upgrading kolab is the only solution?
> I used the upgrade instructions on the wiki with no problems to upgrade my clamav 
> http://wiki.kolab.org/index.php/Upgrading_Clamav
> Mike

On kolab 2.1.0 the wiki instruction doesn't solve the problem.

I suppose a step is missing.

cp clamav.spec /kolab/RPM/SRC/clamav


Openpkg version don't match.

$ /kolab/bin/openpkg rpmbuild -bb ./clamav.spec
error: Failed build dependencies:
         openpkg >= 20060823 is needed by clamav-0.96-20100420

 From spec file

BuildPreReq:  OpenPKG, openpkg >= 20060823, gcc, bzip2, pkgconfig, bc
PreReq:       OpenPKG, openpkg >= 20060823

$ /kolab/bin/openpkg -v
OpenPKG-2.5-RELEASE (2.5.4)

Is it safe to change it in spec cfile?
If yes how?


-- 
ing. Andrea Gelpi
***************************************************
La Terra non la abbiamo ereditata dai nostri avi,
ma la abbiamo presa in prestito dai nostri bambini.
***************************************************
We do not inherit the Earth from our parents,
but borrow it from our children.
***************************************************




More information about the users mailing list