Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
###############################################################################
name = clamav
###############################################################################
name = clamav
release = 1
groups = System Environment/Daemons
release = 1
groups = System Environment/Daemons
source_dl = http://www.clamav.net/downloads/production/
source_dl = http://www.clamav.net/downloads/production/
-CFLAGS += -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLDAP_DEPRECATED
-CXXFLAGS += -std=gnu++98
-
build
requires
bzip2-devel
curl-devel
gmp-devel
build
requires
bzip2-devel
curl-devel
gmp-devel
libxml2-devel
ncurses-devel
openssl-devel
libxml2-devel
ncurses-devel
openssl-devel
shadow-utils
systemd-devel
zlib-devel
end
shadow-utils
systemd-devel
zlib-devel
end
+ LDFLAGS += -Wl,--as-needed
+
configure_options += \
--with-dbdir=%{localstatedir}/lib/clamav \
--enable-clamdtop \
--with-user=clamupdate \
--with-group=clamupdate \
configure_options += \
--with-dbdir=%{localstatedir}/lib/clamav \
--enable-clamdtop \
--with-user=clamupdate \
--with-group=clamupdate \
have_cv_ipv6=yes
# User and group have to exist to compile the source code,
have_cv_ipv6=yes
# User and group have to exist to compile the source code,