[clamav-users] clamav from python?
Scott Kitterman
debian at kitterman.com
Tue Feb 11 21:36:09 UTC 2020
On Tuesday, February 11, 2020 4:23:18 PM EST John Shelton via clamav-users
wrote:
> The interface for cl_scanfile changed to accept a new struct cl_scan_options
> type from what used to be an int. Is there any backward compatibility for
> this change?
AFAIK, there isn't. You probably need to do something similar to:
https://salsa.debian.org/python-team/modules/python-clamav/blob/master/debian/
patches/python-clamav-add-support-for-clamav-0.101.0.patch
What Python bindings are you using? The only libclamav bindings I'm aware of
for python are ancient and unmaintained. Do you know of something ~current?
If you are using the old pyclamav module, that's the patch you need.
Scott K
P.S. I'm aware of pyclamd, but that's an interface to clamd, not libclamav.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20200211/6e62061b/attachment.sig>
More information about the clamav-users
mailing list