]> git.pld-linux.org Git - packages/avscan.git/commitdiff
- use options equivalent to old CL_SCAN_STDOPT; release 4 auto/th/avscan-5.1.1-4
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 11 Dec 2018 18:22:54 +0000 (19:22 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 11 Dec 2018 18:22:54 +0000 (19:22 +0100)
avscan-clamav.patch
avscan.spec

index b7d46cfb627c2c01e50f5fa0be0d4c359ef95330..9f91efc26c82607075c21441dac257327b6ee05a 100644 (file)
@@ -4,9 +4,9 @@
        guint options;
        gchar *s;
        const gchar *virus_name = NULL;
-+#ifdef CL_SCAN_GENERAL_ALLMATCHES
-+      struct cl_scan_options scan_options = {CL_SCAN_GENERAL_ALLMATCHES,
-+                                             0x3FF, // where is the convenience alias for all?
++#ifdef CL_SCAN_GENERAL_HEURISTICS
++      struct cl_scan_options scan_options = {CL_SCAN_GENERAL_HEURISTICS,
++                                             ~0,
 +                                             0,
 +                                             0,
 +                                             0};
        /* Scan this file */
        status = (gint)cl_scandesc(
                fd,
-+#ifdef CL_SCAN_GENERAL_ALLMATCHES
++#ifdef CL_SCAN_GENERAL_HEURISTICS
 +              path,
 +#endif
                &virus_name,
                &scanned_blocks,
                d->engine,
-+#ifdef CL_SCAN_GENERAL_ALLMATCHES
++#ifdef CL_SCAN_GENERAL_HEURISTICS
 +              &scan_options
 +#else
                (unsigned int)options
index a780502ba030ca01326268997de6439cc047d131..1814e0fc3dca4f4df1ebfb3be8ad5bfe7ea9f1d0 100644 (file)
@@ -2,7 +2,7 @@ Summary:        AntiVirus Scanner
 Summary(pl.UTF-8):     Skaner antywirusowy
 Name:          avscan
 Version:       5.1.1
-Release:       3
+Release:       4
 License:       GPL v2 with OpenSSL exception
 Group:         X11/Applications
 Source0:       http://wolfsinger.com/~wolfpack/packages/%{name}-%{version}-openssl.tar.bz2
This page took 0.127713 seconds and 4 git commands to generate.