aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2008-04-17 00:05:54 +0800
committergarga <garga@FreeBSD.org>2008-04-17 00:05:54 +0800
commit10a8519b4756f07a5c540109f180d2de8e2d9433 (patch)
tree7fa15772296c8ecb2d1c5d07f0a47b343620124f /security
parenta216675ad26bdef99e9ec37fcd2688264e884029 (diff)
downloadfreebsd-ports-gnome-10a8519b4756f07a5c540109f180d2de8e2d9433.tar.gz
freebsd-ports-gnome-10a8519b4756f07a5c540109f180d2de8e2d9433.tar.zst
freebsd-ports-gnome-10a8519b4756f07a5c540109f180d2de8e2d9433.zip
- Update to 0.93
This version fixes lock problem reported at ports/122534 Most important changes: *libclamav: - New logic in scan limits: provides much more efficient protection against DoS attacks but also results in different command line and config options to clamscan and clamd (see below) - New/improved modules: unzip, SIS, cabinet, CHM, SZDD, text normalisator, entity converter - Improved filetype detection; filetype definitions can be remotely updated - Support for .cld containers (which replace .inc directories) - Improved pattern matcher and signature formats - More efficient scanning of HTML files - Many other improvements * clamd: - NEW CONFIG FILE OPTIONS: MaxScanSize, MaxFileSize, MaxRecursion, MaxFiles - ** THE FOLLOWING OPTIONS ARE NO LONGER SUPPORTED **: MailMaxRecursion, ArchiveMaxFileSize, ArchiveMaxRecursion, ArchiveMaxFiles, ArchiveMaxCompressionRatio, ArchiveBlockMax * clamscan: - NEW CMDLINE OPTIONS: --max-filesize, --max-scansize - REMOVED OPTIONS: --block-max, --max-space, --max-ratio * freshclam: - NEW CONFIG OPTION CompressLocalDatabase - NEW CMDLINE SWITCH --no-warnings - main.inc and daily.inc directories are no longer used by ClamAV; please remove them manually from your database directory PR: ports/122770 [1] (based on) ports/122534 [2] Submitted by: Michael Scheidell <scheidell@secnap.net> [1] Sebastian Inacker <inacker@fmsweb.de> [2] Security: http://secunia.com/advisories/29000
Diffstat (limited to 'security')
-rw-r--r--security/clamav/Makefile3
-rw-r--r--security/clamav/distinfo6
-rw-r--r--security/clamav/files/clamav-clamd.in10
-rw-r--r--security/clamav/pkg-plist6
4 files changed, 17 insertions, 8 deletions
diff --git a/security/clamav/Makefile b/security/clamav/Makefile
index 48169cfecdb3..0174285ce6b0 100644
--- a/security/clamav/Makefile
+++ b/security/clamav/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= clamav
-PORTVERSION= 0.92.1
-PORTREVISION= 1
+PORTVERSION= 0.93
CATEGORIES= security
MASTER_SITES= SF
diff --git a/security/clamav/distinfo b/security/clamav/distinfo
index 47c9cdf725cc..cda469a2c63b 100644
--- a/security/clamav/distinfo
+++ b/security/clamav/distinfo
@@ -1,3 +1,3 @@
-MD5 (clamav-0.92.1.tar.gz) = c16e60f569b6ec575d8de494e788f9d2
-SHA256 (clamav-0.92.1.tar.gz) = e08a63adb3eda3dfc190d7a8b3fa55c881b1632583fbdf67327d3767d6966581
-SIZE (clamav-0.92.1.tar.gz) = 15284752
+MD5 (clamav-0.93.tar.gz) = 72ed6f4706858e72f24dda8a591df0da
+SHA256 (clamav-0.93.tar.gz) = 1fedc2bb4a850c962d6b0938b77b14480297bffa4cbf69ed95c4ee4f35b5db69
+SIZE (clamav-0.93.tar.gz) = 16134725
diff --git a/security/clamav/files/clamav-clamd.in b/security/clamav/files/clamav-clamd.in
index 6164dfaf5176..b2a606674b16 100644
--- a/security/clamav/files/clamav-clamd.in
+++ b/security/clamav/files/clamav-clamd.in
@@ -32,4 +32,14 @@ load_rc_config "$name"
: ${clamav_clamd_flags=""}
: ${clamav_clamd_socket="%%CLAMAV_CLAMD_SOCKET%%"}
+start_precmd=clamav_clamd_precmd
+
+#clamav .93 won't start without a valid main.cvd file
+clamav_clamd_precmd() {
+ if [ ! -f %%DBDIR%%/main.cvd ];then
+ echo "Missing %%DBDIR%%/clamav/*.cvd files. You must run freshclam first"
+ exit 1
+ fi
+}
+
run_rc_command "$1"
diff --git a/security/clamav/pkg-plist b/security/clamav/pkg-plist
index c2c36a05035b..5a97ba2f8829 100644
--- a/security/clamav/pkg-plist
+++ b/security/clamav/pkg-plist
@@ -9,15 +9,15 @@ bin/sigtool
sbin/clamd
include/clamav.h
include/clamav-config.h
-lib/libclamav.so.3
+lib/libclamav.so.4
lib/libclamav.so
lib/libclamav.a
lib/libclamav.la
-%%UNRAR%%lib/libclamunrar.so.3
+%%UNRAR%%lib/libclamunrar.so.4
%%UNRAR%%lib/libclamunrar.so
%%UNRAR%%lib/libclamunrar.la
%%UNRAR%%lib/libclamunrar.a
-%%UNRAR%%lib/libclamunrar_iface.so.3
+%%UNRAR%%lib/libclamunrar_iface.so.4
%%UNRAR%%lib/libclamunrar_iface.so
%%UNRAR%%lib/libclamunrar_iface.la
%%UNRAR%%lib/libclamunrar_iface.a