1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = System Environment/Daemons
11 url = http://www.clamav.net
13 summary = A GPL virus scanner
16 ClamAV is an open source (GPL) antivirus engine designed for
17 detecting Trojans, viruses, malware and other malicious threats.
18 It is the de facto standard for mail gateway scanning. It
19 provides a high performance mutli-threaded scanning daemon,
20 command line utilities for on demand file scanning, and an
21 intelligent tool for automatic signature updates. The core ClamAV
22 library provides numerous file format detection mechanisms, file
23 unpacking support, archive support, and multiple signature
24 languages for detecting threats.
27 source_dl = http://www.clamav.net/downloads/production/
29 CFLAGS += -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLDAP_DEPRECATED
30 CXXFLAGS += -std=gnu++98
46 configure_options += \
47 --with-dbdir=%{localstatedir}/lib/clamav \
49 --with-user=clamupdate \
50 --with-group=clamupdate \
53 # User and group have to exist to compile the source code,
54 # so we have to create them
56 groupadd -g 497 -r clamupdate
57 useradd -u 497 -r -s /sbin/nologin -d /var/lib/clamav -M \
58 -c 'Clamav database update user' -g clamupdate clamupdate
60 groupadd -g 496 -r clamscan
61 useradd -u 496 -r -s /sbin/nologin -d / -M \
69 %{name}-libs = %{thisver}
77 %{name}-databases = %{thisver}
85 package %{name}-debuginfo
89 package %{name}-databases
90 summary = Clamav Virus Databases.
92 Shipped virus databases needed for virus scanning.
96 %{localstatedir}/lib/%{name}