Name: squidclamav Version: 5.3 Release: alt0.1 Summary: Squid ClamAV, is a Squid helper Script, to get Virus scanning for defined Extensions License: GPLv3 Group: Monitoring Url: http://squidclamav.darold.net/ Packager: SomeOne Source: http://sourceforge.net/projects/squidclamav/files/%name/%version/%name-%version.tar.gz Source1: squidclamav-README.koi8-r Source2: squidclamav-README.utf8 Requires: clamav squid perl-CGI BuildRequires: libcurl-devel %description SquidClamAV is a Squid helper script which adds virus scanning for defined filename extensions. It has been tested with ClamAV, and Squid. Squid has to be configured to use "redirect_program" and to either deny access to a URL defined in the SquidClamAV configuration or to redirect to a remote Site which displays an error (and some information). SquidClamAV handles the request as given from Squid, downloads the URL, and scans it for known viruses. It rewrites the URL from Squid to a blocked URL or an information page with information about the scanning results. %prep %setup %build %configure %make_build %install mkdir -p %buildroot%_sysconfdir mkdir -p %buildroot%_logdir/%name install -m644 %SOURCE1 README.koi8-r install -m644 %SOURCE2 README.utf8 install -Dp -m 0644 etc/squidclamav.conf %buildroot%_sysconfdir/squidclamav.conf %makeinstall %files %doc INSTALL COPYING ChangeLog *README* %_bindir/* %_sysconfdir/squidclamav.conf %_mandir/* %_datadir/* %_libdir/%name/* %exclude %_libdir/%name/clwarn.cgi.pt_BR %dir %attr (0750,squid,squid) %_logdir/%name %changelog * Thu Jun 24 2010 SomeOne SomeOne 5.3-alt0.1 - New version * Wed Jan 21 2009 Motsyo Gennadi 3.9-alt0.1 - New version * Thu Oct 23 2008 Motsyo Gennadi 3.7-alt0.1 - New version * Wed May 07 2008 Motsyo Gennadi 3.5-alt0.1 - New version - Added README in UTF8 * Thu Nov 08 2007 Motsyo Gennadi 3.2-alt1 - New version * Mon Oct 08 2007 Grigory Fateyev 3.1-alt1 - New version for Sisyphus * Fri Jun 22 2007 Grigory Fateyev 3.0-alt1.M30 - Initial build for ALC 3.0