diff options
author | Renato Botelho <garga@FreeBSD.org> | 2008-04-16 16:05:54 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2008-04-16 16:05:54 +0000 |
commit | 3de94d87f83dcd2317fd413670478ad8aabb6ff2 (patch) | |
tree | af3d4c96ce53fca1ff0daf1276698e39e251c45c /security | |
parent | 9b6b15e4ba480c93cdd1e324c26c59dd75764919 (diff) | |
download | ports-3de94d87f83dcd2317fd413670478ad8aabb6ff2.tar.gz ports-3de94d87f83dcd2317fd413670478ad8aabb6ff2.zip |
Notes
Diffstat (limited to 'security')
-rw-r--r-- | security/clamav/Makefile | 3 | ||||
-rw-r--r-- | security/clamav/distinfo | 6 | ||||
-rw-r--r-- | security/clamav/files/clamav-clamd.in | 10 | ||||
-rw-r--r-- | security/clamav/pkg-plist | 6 |
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 |