-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jan ONDREJ (SAL) wrote:
>>> Why it is still named libclamav.so.1, if it is not binary and also not
>>> source compatible?
>> That's a known issue and will be fixed in the next version.
> 
> Thanks.
> 
>>> And another question: Why these aliases are good for, if compatibility with
>>> older version is broken?
>>>
>>> /* aliases for backward compatibility */
>>> #define CL_RAW          CL_SCAN_RAW
>>> #define CL_ARCHIVE      CL_SCAN_ARCHIVE
>>> #define CL_MAIL         CL_SCAN_MAIL
>>> #define CL_OLE2         CL_SCAN_OLE2
>>> #define CL_ENCRYPTED    CL_SCAN_BLOCKENCRYPTED
>>> #define cl_node         cl_engine
>>>
>>> Please, remove these old aliases or add some other to keep compatibility
>>> in source
>> With this one you should be able to compile some old stuff:
>>
>> #define cl_perror cl_strerror
> 
> I think it's not enough for most of applications.
> Are these old constants still needed?
> 
>>> If it is not possible, is there ability to add my libclamav module for
>>> python to clamav sources? It is hard to build proper version of this module,
>>> if you don't know which clamav is installed on system.
>>> It requires Pyrex and python-devel to build.
>> You should use clamav-config:
>>
>> $ clamav-config --version
>> 0.90
> 
> Yes, but there is no "#ifdef" or something similiar in pyrex so it is not
> possible to fork code on this base. I have to add two versions of
> libclamav.pyx into source, keep up to date both versions and compile that
> one, which is required for currently installed clamav.
> 
> Another problem is, that constants must be declared in pyrex code after an
> "include". Sagator's libclamav aims to be a simple binary package
> with full libclamav functionality.
> 
> Development of this library can be easier, if it will be a part of clamav
> distribution and it can be updated after each change.
> 
> Can you look at this code and tell me, if there is any possibility to
> include it in clamav distribution? It's URL is:
>   http://www.salstar.sk/pub/antivir/sagator/libclamav/
> or package at:
>   
> http://www.salstar.sk/pub/sagator/unstable/sagator-libclamav-1.2.0-0rc2.tar.bz2
> 

debian sid already changed the libname to from libclamav1 libclamav2 and added 
conflicts,
it's reasonable that upstream addons developers update their software,
I think 0.8x it's discontinued so it's not a good idea to have ifdefs and fork
the code

Bye

- --
Gianluigi Tiesi <[EMAIL PROTECTED]>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF5eG03UE5cRfnO04RAulSAJ9TC9Qqwwpel0XqkL9AQNlUDL6hPQCgpihx
W8fayzSfmHTCl9M/nbkdRzs=
=sati
-----END PGP SIGNATURE-----
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net

Reply via email to