diff options
author | garga <garga@FreeBSD.org> | 2008-06-17 03:28:23 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2008-06-17 03:28:23 +0800 |
commit | b9abbf902f9b714a0656183e5a5b15c6c63441ff (patch) | |
tree | 3f136ed202a7262dd5a4a5ef382dca358915b4ab /security/clamav-devel | |
parent | df7bde79672fd124edfcad673686fb2d7a1cdd55 (diff) | |
download | freebsd-ports-gnome-b9abbf902f9b714a0656183e5a5b15c6c63441ff.tar.gz freebsd-ports-gnome-b9abbf902f9b714a0656183e5a5b15c6c63441ff.tar.zst freebsd-ports-gnome-b9abbf902f9b714a0656183e5a5b15c6c63441ff.zip |
- Fix clamd startup script to support cld containers for virus databases
- Bump PORTREVISION
Reported by: Robert Huff <roberthuff@rcn.com>
Diffstat (limited to 'security/clamav-devel')
-rw-r--r-- | security/clamav-devel/Makefile | 1 | ||||
-rw-r--r-- | security/clamav-devel/files/clamav-clamd.in | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/security/clamav-devel/Makefile b/security/clamav-devel/Makefile index fd7935b4156c..f2c681ffd1f3 100644 --- a/security/clamav-devel/Makefile +++ b/security/clamav-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= clamav PORTVERSION= 20080520 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://www.clamav.net/snapshot/ \ ${MASTER_SITE_LOCAL} diff --git a/security/clamav-devel/files/clamav-clamd.in b/security/clamav-devel/files/clamav-clamd.in index 81425ffe9304..91407131c4c1 100644 --- a/security/clamav-devel/files/clamav-clamd.in +++ b/security/clamav-devel/files/clamav-clamd.in @@ -35,8 +35,8 @@ load_rc_config "$name" start_precmd=clamav_clamd_precmd clamav_clamd_precmd() { - if [ ! -f %%DBDIR%%/main.cvd ];then - echo "Missing %%DBDIR%%/clamav/*.cvd files. You must run freshclam first" + if [ ! -f %%DBDIR%%/main.cvd -a ! %%DBDIR%%/main.cld ];then + echo "Missing %%DBDIR%%/clamav/*.cvd or *.cld files. You must run freshclam first" exit 1 fi } |