---
name: antivirus
version: 3.30_6
origin: mail/antivirus-milter
comment: Sendmail milter wich uses McAfee Virus Scan or clamav
arch: freebsd:9:x86:64
www: UNKNOWN
maintainer: dinoex@FreeBSD.org
prefix: /usr/local
licenselogic: single
licenses: [BSD]
flatsize: 30447
desc: "Sendmail milter wich uses Mcafee Virus Scan\n\nThe milter recives messages
  from sendmail, and saves them as a file in\na directory. The directory name and
  the file name are the \"$i\" (queue\nidentifier) from Sendmail, making it easier
  to identify them. Once the\nentire message has been received, the milter runs \"ripmime\"
  on the file\nto extract any attachments. If rupmime returns without an error then
  it\nwill run \"uvscan\" on the diretory to scan all the files in it. If uvscan\nreturns
  an error, then the milter will look for viruses output from\nuvscan, and reject
  the message reporting which viruses were found. If\nviruses were found then the
  entire directory is moved to quarantine,\notherwise it is deleted. \n\nThe milter
  also does extention checks. Certain extentions are blocked\ncompletely. In specific,
  extenions of .scr, .vbs, .pif, and .com are\nblocked.\n\nAuthor gave permission
  to distribute it with BSD-License (2004-01-05).\n\nLICENSE: BSD\n"
categories: [mail]
files:
  /usr/local/etc/antivirus.conf-clamav: 7402515e8544b75122881cef90508a1be26628ccacbcb857f886db2a9ea2b990
  /usr/local/etc/antivirus.conf-dist: a6ea9ac074f39af04b39b4863cb3b0186e11ffff354288fbaad3c0fe5738870c
  /usr/local/etc/rc.d/antivirus-milter: d941644613c9e2942302b4d7d832444f1482248047f2b7d4db2b4fd3ba17fd95
  /usr/local/libexec/antivirus: 67ad2ae816d6427c066705e86370e8b729b9187531e23f9429e3c0cb8dd3ce35
  /usr/local/share/licenses/antivirus-3.30_6/BSD: 85e7a53b5e2d3e350e2d084fed2f94b7f63005f8e1168740e1e84aa9fa5d48ce
  /usr/local/share/licenses/antivirus-3.30_6/LICENSE: d9cce0db43502eb1bd8fbef7e960cfaa43b5647186f7f7379923b336209fd77b
  /usr/local/share/licenses/antivirus-3.30_6/catalog.mk: dfa539ed8cb8db1c6932758093daa1dbaf730e3d62cdcbb8c64e51b45607b627
directories:
  /usr/local/share/licenses/antivirus-3.30_6/: n
  /usr/local/share/licenses/: y
scripts:
  post-install: |
    mkdir -p /var/spool/antivirus/spool /var/spool/antivirus/run /var/spool/antivirus/run/quarantine
    chown -R nobody:nobody /var/spool/antivirus/
    cd /usr/local
    cd /usr/local
  pre-deinstall: |
    cd /usr/local
    cd /usr/local
  post-deinstall: |
    cd /usr/local
    cd /usr/local
