summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2008-06-17 11:20:04 +0000
committerRenato Botelho <garga@FreeBSD.org>2008-06-17 11:20:04 +0000
commita6a0eaab90d5d4635a2e842c43c50681a61538d5 (patch)
treef33448a298f04f2488ec6d7224e836de245efebd /security
parent- update to 1.2 (diff)
- Fix checking of database viruses at startup script that i broke on last
commit - Bump PORTREVISION again Submitted by: George L. Yermulnik <yz@iptcom.net> Pointyhat to: me
Notes
Notes: svn path=/head/; revision=215001
Diffstat (limited to 'security')
-rw-r--r--security/clamav-devel/Makefile2
-rw-r--r--security/clamav-devel/files/clamav-clamd.in2
-rw-r--r--security/clamav/Makefile2
-rw-r--r--security/clamav/files/clamav-clamd.in2
4 files changed, 4 insertions, 4 deletions
diff --git a/security/clamav-devel/Makefile b/security/clamav-devel/Makefile
index f2c681ffd1f3..eff5a8213301 100644
--- a/security/clamav-devel/Makefile
+++ b/security/clamav-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= clamav
PORTVERSION= 20080520
-PORTREVISION= 1
+PORTREVISION= 2
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 91407131c4c1..657c2619398a 100644
--- a/security/clamav-devel/files/clamav-clamd.in
+++ b/security/clamav-devel/files/clamav-clamd.in
@@ -35,7 +35,7 @@ load_rc_config "$name"
start_precmd=clamav_clamd_precmd
clamav_clamd_precmd() {
- if [ ! -f %%DBDIR%%/main.cvd -a ! %%DBDIR%%/main.cld ];then
+ if [ ! -f %%DBDIR%%/main.cvd -a ! -f %%DBDIR%%/main.cld ];then
echo "Missing %%DBDIR%%/clamav/*.cvd or *.cld files. You must run freshclam first"
exit 1
fi
diff --git a/security/clamav/Makefile b/security/clamav/Makefile
index c1e415199dc9..414d19bc7ee6 100644
--- a/security/clamav/Makefile
+++ b/security/clamav/Makefile
@@ -7,7 +7,7 @@
PORTNAME= clamav
PORTVERSION= 0.93.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= SF
diff --git a/security/clamav/files/clamav-clamd.in b/security/clamav/files/clamav-clamd.in
index 8adcc8f55466..d3d67d672bef 100644
--- a/security/clamav/files/clamav-clamd.in
+++ b/security/clamav/files/clamav-clamd.in
@@ -36,7 +36,7 @@ start_precmd=clamav_clamd_precmd
#clamav .93 won't start without a valid main.c[vl]d file
clamav_clamd_precmd() {
- if [ ! -f %%DBDIR%%/main.cvd -a ! %%DBDIR%%/main.cld ];then
+ if [ ! -f %%DBDIR%%/main.cvd -a ! -f %%DBDIR%%/main.cld ];then
echo "Missing %%DBDIR%%/clamav/*.cvd or *.cld files. You must run freshclam first"
exit 1
fi