]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - clamav/clamav.nm
clamav: Update to 0.103.7
[ipfire-3.x.git] / clamav / clamav.nm
index 2f781ce7116c7b562bfe34316c9e676e3dd055c9..d4548a94abd69b85d662f9cf9c8700ab3d32669b 100644 (file)
@@ -4,11 +4,11 @@
 ###############################################################################
 
 name       = clamav
-version    = 0.101.4
+version    = 0.103.7
 release    = 1
 
 groups     = System Environment/Daemons
-url        = http://www.clamav.net
+url        = https://www.clamav.net
 license    = GPLv2
 summary    = A GPL virus scanner
 
@@ -24,7 +24,7 @@ description
        languages for detecting threats.
 end
 
-source_dl  = http://www.clamav.net/downloads/production/
+source_dl  = https://www.clamav.net/downloads/production/
 
 build
        requires
@@ -41,7 +41,7 @@ build
                zlib-devel
        end
 
-       LDFLAGS += -Wl,--as-needed
+       export LD_LIBRARY_PATH = %{DIR_APP}/libclamav/.libs:%{DIR_APP}/libfreshclam/.libs
 
        configure_options += \
                --with-dbdir=%{localstatedir}/lib/clamav \
@@ -50,7 +50,7 @@ build
                --with-group=clamupdate \
                --disable-rpath \
                --disable-llvm \
-               have_cv_ipv6=yes
+               --disable-zlib-vcheck
 
        # User and group have to exist to compile the source code,
        # so we have to create them
@@ -63,6 +63,10 @@ build
                useradd -u 496 -r -s /sbin/nologin -d / -M \
                        -g clamscan clamscan
        end
+
+       test
+               make check
+       end
 end
 
 packages