[packages/python-pyclamav] - enable all parsers in the future

qboosh qboosh at pld-linux.org
Tue Dec 11 19:19:49 CET 2018


commit 2b9ca3a829a8caeb9cf4a310015ec89fde758749
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Dec 11 19:24:20 2018 +0100

    - enable all parsers in the future

 python-pyclamav-new-api.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/python-pyclamav-new-api.patch b/python-pyclamav-new-api.patch
index 1b7b11c..4eb3882 100644
--- a/python-pyclamav-new-api.patch
+++ b/python-pyclamav-new-api.patch
@@ -135,7 +135,7 @@
 +#else
 +  {
 +    struct cl_scan_options scanoptions = {CL_SCAN_GENERAL_HEURISTICS,
-+	                                  CL_SCAN_PARSE_ARCHIVE|CL_SCAN_PARSE_ELF|CL_SCAN_PARSE_PDF|CL_SCAN_PARSE_SWF|CL_SCAN_PARSE_HWP3|CL_SCAN_PARSE_XMLDOCS|CL_SCAN_PARSE_MAIL|CL_SCAN_PARSE_OLE2|CL_SCAN_PARSE_HTML|CL_SCAN_PARSE_PE,
++	                                  ~0,
 +					  0,0,0};
 +    ret = cl_scanfile(file_to_scan, &virname, &size, engine, &scanoptions);
 +  }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pyclamav.git/commitdiff/2b9ca3a829a8caeb9cf4a310015ec89fde758749



More information about the pld-cvs-commit mailing list