summaryrefslogtreecommitdiff
path: root/mail/clamav
diff options
context:
space:
mode:
authorjnemeth <jnemeth>2006-06-20 20:24:45 +0000
committerjnemeth <jnemeth>2006-06-20 20:24:45 +0000
commita787f94fb564079ce6b312256067f0a4cf7fc369 (patch)
tree532945aca2a9fc3330296a642013d273eb52f72c /mail/clamav
parentd14932d54a8c1fbfac6cdbaee9c44b740b1d81e3 (diff)
downloadpkgsrc-a787f94fb564079ce6b312256067f0a4cf7fc369.tar.gz
add rcvar to freshclamd rcd script so that it obeys "freshclamd=NO" in
/etc/rc.conf
Diffstat (limited to 'mail/clamav')
-rw-r--r--mail/clamav/Makefile3
-rw-r--r--mail/clamav/files/freshclamd.sh3
2 files changed, 4 insertions, 2 deletions
diff --git a/mail/clamav/Makefile b/mail/clamav/Makefile
index 2eb4b687622..d5e89533873 100644
--- a/mail/clamav/Makefile
+++ b/mail/clamav/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.58 2006/04/30 06:50:00 xtraeme Exp $
+# $NetBSD: Makefile,v 1.59 2006/06/20 20:24:45 jnemeth Exp $
DISTNAME= clamav-${CLAMAV_VERSION}
PKGNAME= clamav-${CLAMAV_VERSION:S/-/./}
@@ -12,6 +12,7 @@ COMMENT= Anti-virus toolkit
PKG_INSTALLATION_TYPES= overwrite pkgviews
CLAMAV_VERSION= 0.88.2
+PKGREVISION= 1
USE_LIBTOOL= yes
diff --git a/mail/clamav/files/freshclamd.sh b/mail/clamav/files/freshclamd.sh
index e11e67f86c6..25bab124e2a 100644
--- a/mail/clamav/files/freshclamd.sh
+++ b/mail/clamav/files/freshclamd.sh
@@ -1,12 +1,13 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: freshclamd.sh,v 1.2 2004/11/02 00:55:20 xtraeme Exp $
+# $NetBSD: freshclamd.sh,v 1.3 2006/06/20 20:24:45 jnemeth Exp $
#
# PROVIDE: freshclamd
# REQUIRE: DAEMON LOGIN clamd
name="freshclamd"
+rcvar=$name
command="@PREFIX@/bin/freshclam"
required_files="@PKG_SYSCONFDIR@/freshclam.conf"
pidfile="@VARBASE@/run/${name}.pid"