pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/27734: mail/clamav: freshclamd.sh option is not changeable



>Number:         27734
>Category:       pkg
>Synopsis:       mail/clamav: freshclamd.sh option is not changeable
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 01 02:06:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Koji Mori
>Release:        NetBSD 1.6.2_STABLE
>Organization:
>Environment:
>Description:
        In mail/clamav/files/freshclamd.sh,
        freshclam's options are fixed, such as 'command_args="-d -c 2"'.
        But, I want to change option "-c 2" in my rc.conf,
        as 'freshclamd_flags="-c 4"'.
>How-To-Repeat:
>Fix:
--- freshclamd.sh       Mon Nov  1 10:48:48 2004
+++ freshclamd.sh.new   Mon Nov  1 10:49:34 2004
@@ -12,7 +12,8 @@
 pidfile="@VARBASE@/run/${name}.pid"
 sig_stop="KILL"
 freshclamd_user="@CLAMAV_USER@"
-command_args="-d -c 2"
+command_args="-d"
+freshclamd_flags=${freshclamd_flags:-"-c 2"}
 
 . /etc/rc.subr
 
>Release-Note:
>Audit-Trail:
>Unformatted:



Home | Main Index | Thread Index | Old Index