summaryrefslogtreecommitdiff
path: root/mail/clamav
diff options
context:
space:
mode:
authorwiz <wiz>2007-06-17 22:06:33 +0000
committerwiz <wiz>2007-06-17 22:06:33 +0000
commit94719fd28034f4087b9db6717fa5bb2fcef10be8 (patch)
treebdfb1e1db39a6ccc505da82220d26ba754e9cfbb /mail/clamav
parentd36017756eb045e8f1e296be4df6f0d7ebee30e7 (diff)
downloadpkgsrc-94719fd28034f4087b9db6717fa5bb2fcef10be8.tar.gz
Fix path to pidfile. Noted by Peter Avalos.
Bump PKGREVISION.
Diffstat (limited to 'mail/clamav')
-rw-r--r--mail/clamav/Makefile4
-rw-r--r--mail/clamav/files/freshclamd.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/mail/clamav/Makefile b/mail/clamav/Makefile
index 3987db14d41..3c4547025fb 100644
--- a/mail/clamav/Makefile
+++ b/mail/clamav/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.74 2007/06/15 22:31:39 wiz Exp $
+# $NetBSD: Makefile,v 1.75 2007/06/17 22:06:33 wiz Exp $
DISTNAME= clamav-${CLAMAV_VERSION}
PKGNAME= clamav-${CLAMAV_VERSION:S/-/./}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=clamav/}
diff --git a/mail/clamav/files/freshclamd.sh b/mail/clamav/files/freshclamd.sh
index 80b35c7679c..ef6fd4629ad 100644
--- a/mail/clamav/files/freshclamd.sh
+++ b/mail/clamav/files/freshclamd.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: freshclamd.sh,v 1.4 2007/06/15 22:31:39 wiz Exp $
+# $NetBSD: freshclamd.sh,v 1.5 2007/06/17 22:06:33 wiz Exp $
#
# PROVIDE: freshclamd
# REQUIRE: DAEMON LOGIN clamd
@@ -9,7 +9,7 @@ name="freshclamd"
rcvar=$name
command="@PREFIX@/bin/freshclam"
required_files="@PKG_SYSCONFDIR@/freshclam.conf"
-pidfile="@VIRUSDBDIR@/${name}.pid"
+pidfile="@CLAMAV_DBDIR@/${name}.pid"
freshclamd_user="@CLAMAV_USER@"
freshclamd_flags=${freshclamd_flags:=-c 2}
command_args="-d -p $pidfile"