clamav
-------------------------------
Clam AntiVirus - GPL anti-virus toolkit.
This distribution was built without the Windows UI.
You might want to use clamavwin (python wxWindows) instead.
See /usr/share/doc/clamav-<ver>

The freshclam cronjob and clamd have to be configured manually.

Installation (as service):

/etc/rc.d/init.d/clamd install
/etc/rc.d/init.d/clamd installcron
/etc/rc.d/init.d/clamd start

Problems:

* If the service doesn't start, check why the SYSTEM user may not run clamd. 
  Most likely some file permission problems on the PID, SOCK, LOG or CONF file.
  Search the cygwin mailinglist for "sysbash" - opening a bash under the SYSTEM 
  account via AT.

* If the service fails to restart (stop fails), may best suggestion so far 
  is to reboot. :(
  Check the cygwin mailing list archives for solutions.

Runtime requirements: (versions given or later)
  curl-7.11.1-1
  cygwin-1.5.11-1
  gmp-4.1.2-1
  libbz2_1-1.0.2-5
  minires-0.97-1
  openssl-0.9.7d-1
  zlib-1.2.1-1
  
Build requirements: (versions given or later)
  cygwin-1.5.11-1
  gmp-4.1.2-1
  libbz2_1-1.0.2-5
  zlib-1.2.1-1
  openssl-0.9.7d-1
  minires-devel (needs resolv.h patch to #include <netinet/in.h> if configure fails)
  libtool-devel-1.5.10 (if GCC >= 3.3.3)
  gcc-3.3.3-3
  binutils-20040725-2
  make-3.80
  ash-20031007
  fileutils-4.1-2
  sed-4.1.2-1

Canonical homepage:
  http://clamav.net/
virusdb update announcements (very frequent!)
  http://news.gmane.org/gmane.comp.security.virus.clamav.virusdb

Canonical download:
  http://prdownloads.sourceforge.net/clamav/clamav-<VERSION>.tar.bz2?download

Latest Changes:
  security fixes, esp. with email handling.
  /etc/clamav.conf renamed to /etc/clamd.conf
  See http://cvs.sourceforge.net/viewcvs.py/clamav/clamav-devel/ChangeLog

-------------------------------------------------------------------------------

Build instructions:
  unpack clamav-<VERSION>.tar.bz2
    if you use setup to install this src package, it will be
	 unpacked under /usr/src automatically
  cd /usr/src
  ./clamav-<VERSION>-<CYGREL>.sh all

This will create:
  /usr/src/clamav-<VERSION>-<CYGREL>.tar.bz2
  /usr/src/clamav-<VERSION>-<CYGREL>-src.tar.bz2

Or use './clamav-<VERSION>-<CYGREL>.sh prep' to get a patched source directory 

-------------------------------------------------------------------------------

Files included in this package:

  /etc/clamd.conf-dist
  /etc/freshclam.conf-dist
  /etc/rc.d/init.d/clamd
  /etc/postinstall/clamav.sh
  /etc/preremove/clamav.sh
  /usr/bin/clamav-config
  /usr/bin/clamdscan.exe
  /usr/bin/clamscan.exe
  /usr/bin/cygclamav-1.dll
  /usr/bin/freshclam.exe
  /usr/bin/sigtool.exe
  /usr/include/clamav.h
  /usr/lib/libclamav.a
  /usr/lib/libclamav.dll.a
  /usr/lib/libclamav.la
  /usr/lib/pkgconfig/libclamav.pc
  /usr/sbin/clamd.exe
  /usr/share/clamav/daily.cvd
  /usr/share/clamav/main.cvd
  /usr/share/doc/clamav/AUTHORS
  /usr/share/doc/clamav/ChangeLog
  /usr/share/doc/clamav/COPYING
  /usr/share/doc/clamav/FAQ
  /usr/share/doc/clamav/INSTALL
  /usr/share/doc/clamav/NEWS
  /usr/share/doc/clamav/README
  /usr/share/doc/clamav/TODO
  /usr/share/doc/clamav/*.pdf
  /usr/share/doc/clamav/html/*
  /usr/share/doc/Cygwin/clamav-<VERSION>-<CYGREL>.README (this file)
  /usr/share/man/man1/clamdscan.1.gz
  /usr/share/man/man1/clamscan.1.gz
  /usr/share/man/man1/freshclam.1.gz
  /usr/share/man/man1/sigtool.1.gz
  /usr/share/man/man5/clamd.conf.5.gz
  /usr/share/man/man5/freshclam.conf.5.gz
  /usr/share/man/man8/clamd.8.gz

-------------------------------------------------------------------------------

Port Notes:

----- version clamav-0.80-1 -----

removed LIBTOOL sections from acinclude.m4 to aclocal.m4 to enable libtoolize
added -Wl,--enable-runtime-pseudo-reloc
freshclam.conf: uncomment Example, needs now a country mirror entry
added tests: make check, re-added removed positive ClamAV-Test-Signature tests for make check
moved init.d script to contrib/init/Cygwin/

----- version clamav-0.80rc3-1 ----- NOT RELEASED

shared libclamav patch, thanks to Yaakok Selkowitz
segfaults with dll
  objdump -R cygclamav-1.dll:  not a dynamic object (missing -shared)

----- version clamav-0.80rc2-1 ----- NOT RELEASED

new preremove script to install existing service
improved /etc/rc.d/init.d/clamd uninstall
/etc/clamav.conf renamed to /etc/clamd.conf
segfaults with dll (missing -shared)

----- version clamav-0.75.1-3 -----

Initial release. Builds out of the box. 
No contrib. init.d script added.

Cygwin port maintained by: Reini Urban <rurban@x-ray.at>
Cygwin port questions to the mailinglist <cygwin@cygwin.com>
