aboutsummaryrefslogtreecommitdiffstats
path: root/security/clamav
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2010-04-12 21:04:18 +0800
committergarga <garga@FreeBSD.org>2010-04-12 21:04:18 +0800
commite01addbf08ee06f4f60aa75faa154b81fe96ec20 (patch)
tree90fd4488d765725e876de4d162911f7781185d61 /security/clamav
parent95a0e486673554b13d259b5686794de094ecdef8 (diff)
downloadfreebsd-ports-gnome-e01addbf08ee06f4f60aa75faa154b81fe96ec20.tar.gz
freebsd-ports-gnome-e01addbf08ee06f4f60aa75faa154b81fe96ec20.tar.zst
freebsd-ports-gnome-e01addbf08ee06f4f60aa75faa154b81fe96ec20.zip
- Use ${TOUCH} instead of touch
- Fix pkg-plist to delete directories installed out of PREFIX (on /var) [1] - Bump PORTREVISION because of [1] PR: ports/145448 [1] Submitted by: sahil@ [1]
Diffstat (limited to 'security/clamav')
-rw-r--r--security/clamav/Makefile3
-rw-r--r--security/clamav/pkg-plist1
2 files changed, 3 insertions, 1 deletions
diff --git a/security/clamav/Makefile b/security/clamav/Makefile
index 0b51da968932..38518c9ec033 100644
--- a/security/clamav/Makefile
+++ b/security/clamav/Makefile
@@ -7,6 +7,7 @@
PORTNAME= clamav
DISTVERSION= 0.96
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= SF
@@ -206,7 +207,7 @@ pre-configure:
${ECHO_MSG} "= It will not be called during this build ="; \
${ECHO_MSG} "==========================================================================="; \
${ECHO_MSG} ""; \
- touch ${PY_NO_THREAD}; \
+ ${TOUCH} ${PY_NO_THREAD}; \
fi
.endif
diff --git a/security/clamav/pkg-plist b/security/clamav/pkg-plist
index 0e7d9271e39f..7cf0285ea8a4 100644
--- a/security/clamav/pkg-plist
+++ b/security/clamav/pkg-plist
@@ -31,6 +31,7 @@ etc/freshclam.conf.default
@exec [ -f %B/freshclam.conf ] || cp %B/%f %B/freshclam.conf
@unexec [ -s %%DBDIR%%/daily.cvd ] || rm -f %%DBDIR%%/daily.cvd || true
@unexec [ -s %%DBDIR%%/main.cvd ] || rm -f %%DBDIR%%/main.cvd || true
+@cwd /
@dirrmtry %%DBDIR%%
@dirrmtry %%LOGDIR%%
@dirrmtry %%RUNDIR%%