---
name: squidclamav
version: 6.10_1
origin: www/squidclamav
comment: Clamav c-icap service and redirector for Squid
arch: freebsd:9:x86:64
www: http://squidclamav.darold.net
maintainer: mm@FreeBSD.org
prefix: /usr/local
licenselogic: single
licenses: [GPLv3]
flatsize: 215771
desc: "From the SquidClamav homepage:\n\nSquidClamav is an antivirus for Squid proxy
  based on the Awards winnings\nClamAv anti-virus toolkit. Using it will help you
  securing your home or\nenterprise network web traffic. SquidClamav is the most efficient
  Squid\nRedirector and ICAP service antivirus tool for HTTP traffic available for\nfree,
  it is written in C and can handle thousand of connections. The way\nto add more
  securing on your network for free is here.\n\nSquidClamav is build for speed and
  security in mind, it is first used\nand tested to secure a network with 2,500 and
  more users. It is also known\nto working fast with 15000+ users. \n\nWith SquidClamav
  You have full control of what kind of HTTP stream must be\nscanned by Clamav antivirus,
  this control operate at 3 different levels:\n\n- At URL level, you can disable virus
  scanning for a set of web site,\n  filename extension or anything that can be matched
  in an URL.\n- At client side by disabling virus scan and other redirector call\n
  \ to a set of username, source Ip addresses or computer DNS name.\n- At HTTP header
  level, where you can disable virus scanning following\n  the content type or file
  size.\n\nWWW: http://squidclamav.darold.net\n"
deps:
  c-icap: {origin: www/c-icap, version: '0.2.3,2'}
categories: [www, security]
files:
  /usr/local/etc/c-icap/squidclamav.conf.default: 94d9bfd7c7f529f08e043d2776261fa254a6c5cb6ef73e1beecae174efb604bb
  /usr/local/lib/c_icap/squidclamav.a: 41d2d425ba57cd23fb4c53e9823f09e99c790f99b32abbb9c25b5fec07cf7006
  /usr/local/lib/c_icap/squidclamav.la: 95596a354f6d3e50710d11ade1d5af4f618e78c5aa9c8b19e1762ab4847de0ce
  /usr/local/lib/c_icap/squidclamav.so: 2041d7328291ca687ce70acf9ba32ebeb044297f5341f61fd5dd51af261569e4
  /usr/local/libexec/squidclamav/clwarn.cgi: 0e33b480ba48a1efcceab162554fb1d571003fe5f18bc67c2846db7184f5152f
  /usr/local/libexec/squidclamav/clwarn.cgi.de_DE: f0d565eafdd502187347a1f364a424969fa3189c0c0cefc83b8a4134d3e979cd
  /usr/local/libexec/squidclamav/clwarn.cgi.en_EN: ee2eef28a6974cbc81f3cc0dda59fdac99dc6324be2c58ae06b9379aaba1f7f7
  /usr/local/libexec/squidclamav/clwarn.cgi.fr_FR: 82ac21ac3c419b8be39a6a81b4781bbd5af522a146170aa39ca9bbe326b2f3eb
  /usr/local/libexec/squidclamav/clwarn.cgi.pt_BR: cec54c9cacc87e8e015770488c2838d7d8333df759f16a0533f5e81a171b19a4
  /usr/local/libexec/squidclamav/clwarn.cgi.ru_RU: 831a97483c231e9debd8fcd8bbeb8226cab2a66131945ca94659daff058e4573
  /usr/local/man/man1/squidclamav.1.gz: 381b323abbdfd660784b0e6d237cfe4ee45f37e4d98a8cc00f34e513bfdda1c6
  /usr/local/share/licenses/squidclamav-6.10_1/GPLv3: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903
  /usr/local/share/licenses/squidclamav-6.10_1/LICENSE: feb018c22cc4001bbeccc04db5569c5aeaec18f1ebbee51a52d56c251418e243
  /usr/local/share/licenses/squidclamav-6.10_1/catalog.mk: 006ba795d8192009a1ee57a2b80469612dcb89f264237ddec6c98f41b7b2859a
  /usr/local/share/squidclamav/README: 96b8d482e2a17b44ef86fd0f47679fc914d47093a66e0ce4608205f6f82187f1
directories:
  /usr/local/share/squidclamav/: n
  /usr/local/share/licenses/squidclamav-6.10_1/: n
  /usr/local/share/licenses/: y
  /usr/local/libexec/squidclamav/: n
scripts:
  post-install: |
    [ -f /usr/local/etc/c-icap/squidclamav.conf ] || cp /usr/local/etc/c-icap/squidclamav.conf.default /usr/local/etc/c-icap/squidclamav.conf
    cd /usr/local
  pre-deinstall: |
    if cmp -s /usr/local/etc/c-icap/squidclamav.conf /usr/local/etc/c-icap/squidclamav.conf.default; then rm -f /usr/local/etc/c-icap/squidclamav.conf; fi
    cd /usr/local
  post-deinstall: |
    cd /usr/local
