---
name: ap22-mod_clamav
version: 0.23_4
origin: www/mod_clamav
comment: Scans content delivered by the Apache20 proxy module for viruses
arch: freebsd:9:x86:64
www: http://software.othello.ch/mod_clamav/
maintainer: tmueko@kommunity.net
prefix: /usr/local
licenselogic: single
flatsize: 45823
desc: "Apache 2 introduces filters, which allow to modify content generated  \nby
  some other module. mod_clamav is an Apache 2 filter which scans the \ncontent delivered
  by the proxy module (mod_proxy) for viruses using the \nClamav virus scanning engine.\n\nWWW:
  http://software.othello.ch/mod_clamav/\n"
deps:
  apache22: {origin: www/apache22, version: 2.2.25}
  expat: {origin: textproc/expat2, version: 2.1.0}
  clamav: {origin: security/clamav, version: 0.97.8}
  perl: {origin: lang/perl5.14, version: 5.14.4}
  pcre: {origin: devel/pcre, version: 8.33}
  libltdl: {origin: devel/libltdl, version: 2.4.2}
  gettext: {origin: devel/gettext, version: 0.18.3}
  apr: {origin: devel/apr1, version: 1.4.8.1.5.2}
  gdbm: {origin: databases/gdbm, version: 1.10}
  db42: {origin: databases/db42, version: 4.2.52_5}
  libiconv: {origin: converters/libiconv, version: 1.14_1}
  unzoo: {origin: archivers/unzoo, version: 4.4_2}
  lha: {origin: archivers/lha, version: 1.14i_6}
  arj: {origin: archivers/arj, version: 3.10.22_4}
  arc: {origin: archivers/arc, version: 5.21p}
categories:
- www
- security
shlibs_required:
- libclamav.so.7
- libltdl.so.7
shlibs_provided:
- mod_clamav.so
options: {CLAMAVDEVEL: off}
files:
  /usr/local/libexec/apache22/mod_clamav.so: 0cfc58733f97f115e61b1a44bafc82fa8fa5d46c9eb98c065ab16ef5d09ef60a
scripts:
  pre-deinstall: |
    /usr/local/sbin/apxs -e -A -n clamav /usr/local/mod_clamav.so
message: "######################################################################\n#
  First you have to make sure, clamav runs in Daemon-Mode:\n# Add \"ClamavMode daemon\"
  to your httpd.conf\n# If clamd run on a local socket, it must have the same userid
  as the  \n# webserver add something like \"user www\" to your clamav.conf\n# If
  you don't want to start clamd as the same user as the Webserver\n# you have to start
  clamd on an inet socket by removing LocalSocket...\n# and add the options \"TCPSocket
  ...\" and \"TCPAddr...\"\n# later in the clamav.conf\n#######################################################################\n"
