This is a snapshot version of Clam Antivirus.
Clam Antivirus is command line virus scanner written entirely in C
and its database is kept up to date. It also detects polymorphic
viruses, scans compressed files and supported by AMaViS.
Optionally you can use the clamav-milter interface to connect
clamav with sendmail.
WWW: http://www.clamav.net/
===> The following configuration options are available for clamav-devel-20140107_3:
ARC=on: Enable arch archives support
ARJ=on: Enable arj archives support
DOCS=on: Build and/or install documentation
ICONV=off: Encoding conversion support via iconv
IPV6=on: IPv6 protocol support
LDAP=off: LDAP support
LHA=on: Enable lha archives support
LLVM=on: Enable JIT Bytecode compiler (bundled LLVM)
MILTER=off: Compile the milter interface
STDERR=off: Print logs to stderr instead of stdout
TESTS=off: Run compile-time tests (req. python)
UNRAR=on: Enable rar archives support (req. for unit tests)
UNZOO=on: Enable zoo archives support
===> Use 'make config' to modify these settings
Retire security/clamav-devel, clamav is not being updated that much nowadays,
so a -devel version is not required anymore. Also removed OPTIONS on other
ports that pointed to clamav-devel as a dependency.
Approved by: portmgr (implict)
milter rc script was broken after last updates.
conf_file was used before it was declared. While we're at it let's make
conf_file configurable as clamav_milter_conf
Approved by: garga
Sponsored by: SupraNet Communications, Inc
rc script spring cleaning -- now passes rclint
Previously it would try to launch even if there were no rc.conf entries
Reviewed by: garga
Sponsored by: SupraNet Communications, Inc
Remove patches to build with clang and force clamav and clamav-devel to use GCC.
According clamav developers ClamAV's detection is not tested when compiled with
clang.
PR: ports/175784
Submitted by: tj@
In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
- Remove unecessary dependency (libcheck) when option TESTS is off [1]
- Add clamav-milter as CONFLICTS, this new meta port will be added soon
PR: ports/161872
Submitted by: Alexey Markov <redrat@mail.ru>
Feature safe: yes
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead
PR: 157936
Submitted by: myself
Exp-runs by: pav
Approved by: pav
- s/CONF_FILES/CLAM_CONF_FILES/ to avoid a conflict in the future with new
options with the same name that will be added to bsd.port.mk
PR: ports/157161, ports/157162
Submitted by: Chris Rees <utisoft@gmail.com>
Fix detection if python was built with threads support and run make check
accordingly
PR: ports/154848
Submitted by: Martin Simmons <martin@lispworks.com>
- Update to 20100927
- Remove GCC 4.2+ dependency, now it builds file with 3.4.6
- Add a new OPTION to TESTS, since it requires python on build time and some
people don't like this. Leave it ON by default to run tests on package
building
Gcc 4.2+ is only needed to build clamav with LLVM/JIT support, remove this
dependency when LLVM is not set.
Submitted by: Guy Antony Halse <G.Halse@ru.ac.za>
Unit tests require python built with thread support, disable make check when
local python doesn't have this
PR: ports/145520
Submitted by: Michael Scheidell <scheidell at secnap.net>
- Update to 20100308
- Disable make check for 6.x, it doesn't work (segfault) because libcheck is
linked against -pthread and test program is linked against -lthr
- Update to 20100127
- Execute a "make check" at post-build target
- Reduce differences between security/clamav
- Remove --enable-llvm=no and add a CFLAGS+=-march=i486 when ARCH = i386 to make
llvm build possible
- Remove USE_GMAKE since now it builds with bsd make again
- Update to 20091223
- The new bytecode engine needs llvm option to build, turn it off for now since
it's not building on i386. There is a bug opened in clamav project to fix it.
Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste.
1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).
No PORTREVISION bumps because all of these changes are noops.