###############################################################################
name = clamav
-version = 0.97.4
+version = 0.101.4
release = 1
groups = System Environment/Daemons
languages for detecting threats.
end
-source_dl = http://downloads.sourceforge.net/clamav/
-
-CFLAGS += -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLDAP_DEPRECATED
+source_dl = http://www.clamav.net/downloads/production/
build
requires
bzip2-devel
curl-devel
gmp-devel
+ json-c-devel
+ libxml2-devel
ncurses-devel
+ openssl-devel
+ pcre2-devel
shadow-utils
+ systemd-devel
zlib-devel
end
+ LDFLAGS += -Wl,--as-needed
+
configure_options += \
- --sysconfdir=/etc \
- --disable-static \
- --disable-rpath \
- --disable-silent-rules \
- --with-dbdir=/var/lib/clamav \
+ --with-dbdir=%{localstatedir}/lib/clamav \
--enable-clamdtop \
--with-user=clamupdate \
--with-group=clamupdate \
+ --disable-rpath \
+ --disable-llvm \
have_cv_ipv6=yes
# User and group have to exist to compile the source code,