The name of the configuration file has changed to clamd.conf recently, so

change the rc.d script to look for that one.
Fix suggested by Mirko Thiesen in PR pkg/27618
Bump PKGREVISION
This commit is contained in:
recht 2004-10-30 12:09:12 +00:00
parent bedf3290f5
commit 4c50ab7e78
2 changed files with 4 additions and 4 deletions

View file

@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.30 2004/10/30 10:23:47 grant Exp $
# $NetBSD: Makefile,v 1.31 2004/10/30 12:09:12 recht Exp $
DISTNAME= clamav-${CLAMAV_VERSION}
PKGNAME= clamav-${CLAMAV_VERSION:S/-/./}
PKGREVISION= 2
PKGREVISION= 3
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=clamav/}

View file

@ -1,6 +1,6 @@
#!/bin/sh
#
# $NetBSD: clamd.sh,v 1.7 2004/08/03 11:57:32 tv Exp $
# $NetBSD: clamd.sh,v 1.8 2004/10/30 12:09:12 recht Exp $
#
# clamd does anti-virus checking.
#
@ -17,7 +17,7 @@ name="clamd"
rcvar=$name
command="@PREFIX@/sbin/${name}"
scan_command="@PREFIX@/bin/clamdscan"
required_files="@PKG_SYSCONFDIR@/clamav.conf"
required_files="@PKG_SYSCONFDIR@/clamd.conf"
start_precmd="clamd_precmd"
stop_cmd="clamd_stopcmd"