###############################################################################
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
languages for detecting threats.
end
-source_dl = http://www.clamav.net/downloads/production/
+source_dl = https://www.clamav.net/downloads/production/
build
requires
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 \
--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
useradd -u 496 -r -s /sbin/nologin -d / -M \
-g clamscan clamscan
end
+
+ test
+ make check
+ end
end
packages