summaryrefslogtreecommitdiff
path: root/mail/clamav
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2007-06-17 22:06:33 +0000
committerwiz <wiz@pkgsrc.org>2007-06-17 22:06:33 +0000
commit486a341397339d3e3ec165e4bc4b24bcf2972d5f (patch)
treebdfb1e1db39a6ccc505da82220d26ba754e9cfbb /mail/clamav
parent28f47bf5d1475a65dea731fbcd4bdc765706d201 (diff)
downloadpkgsrc-486a341397339d3e3ec165e4bc4b24bcf2972d5f.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"