From 3a1093255d09dcb68346336054cfa305c5eaa727 Mon Sep 17 00:00:00 2001 From: Maniacikarus Date: Sun, 7 Dec 2008 13:45:01 +0100 Subject: [PATCH] Upgraded Squidclamav to current stable, modified config --- config/squidclamav/squidclamav.conf | 21 +++++++++++++++++++-- lfs/squidclamav | 6 +++--- 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/config/squidclamav/squidclamav.conf b/config/squidclamav/squidclamav.conf index 43a0a6f5d..8e153bd0c 100644 --- a/config/squidclamav/squidclamav.conf +++ b/config/squidclamav/squidclamav.conf @@ -5,10 +5,27 @@ debug 0 force 1 stat 0 clamd_local /var/run/clamav/clamd -timeout 600 +timeout 300 +abort ^.*\.pdf$ +abort ^.*\.js$ abort ^.*\.html$ abort ^.*\.css$ abort ^.*\.xml$ abort ^.*\.xsl$ +abort ^.*\.js$ +abort ^.*\.html$ +abort ^.*\.css$ +abort ^.*\.xml$ +abort ^.*\.xsl$ +abort ^.*\.js$ +abort ^.*\.jsp$ +abort ^.*\.jsp\?.*$ +aborti ^.*servlet.*$ +abort ^.*\.ico$ +aborti ^.*\.gif$ +aborti ^.*\.png$ +aborti ^.*\.jpg$ +aborti ^.*\.swf$ content ^.*application\/.*$ - +abortcontenti ^.*application\/x-mms-framed.*$ +abortcontenti ^.*application\/x-javascript.*$ diff --git a/lfs/squidclamav b/lfs/squidclamav index e753ca0ab..3ac00c87e 100644 --- a/lfs/squidclamav +++ b/lfs/squidclamav @@ -24,7 +24,7 @@ include Config -VER = 3.7 +VER = 3.8 THISAPP = squidclamav-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = squidclamav -PAK_VER = 3 +PAK_VER = 4 DEPS = "clamav" @@ -44,7 +44,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 95a3f81133edfb6a905f491f994f7d95 +$(DL_FILE)_MD5 = 8e873863ed54ed89b2d8853f281817c2 install : $(TARGET)