aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-02-21 09:43:31 +0800
committerclsung <clsung@FreeBSD.org>2006-02-21 09:43:31 +0800
commit0ed16c76e8ff1719f2b44c96ee40e02fda9fafac (patch)
treeae4c04e913f39a1a360c2e6be1570993e77977de
parentc5ec1973084dba7fd20e90510ebe447874f51d4c (diff)
downloadfreebsd-ports-graphics-0ed16c76e8ff1719f2b44c96ee40e02fda9fafac.tar.gz
freebsd-ports-graphics-0ed16c76e8ff1719f2b44c96ee40e02fda9fafac.tar.zst
freebsd-ports-graphics-0ed16c76e8ff1719f2b44c96ee40e02fda9fafac.zip
- files/clamsmtpd.sh.in cause start-up error
- bump PORTREVISION PR: 93541 Submitted by: KIMURA Yasuhiro <yasu AT utahime dot org> Reviewed by: mnag
-rw-r--r--security/clamsmtp/Makefile2
-rw-r--r--security/clamsmtp/files/clamsmtpd.sh.in11
2 files changed, 7 insertions, 6 deletions
diff --git a/security/clamsmtp/Makefile b/security/clamsmtp/Makefile
index 4467286f7bb..53d1a628ed3 100644
--- a/security/clamsmtp/Makefile
+++ b/security/clamsmtp/Makefile
@@ -7,7 +7,7 @@
PORTNAME= clamsmtp
PORTVERSION= 1.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= http://memberwebs.com/nielsen/software/clamsmtp/
diff --git a/security/clamsmtp/files/clamsmtpd.sh.in b/security/clamsmtp/files/clamsmtpd.sh.in
index 1740c58c17e..e3c11351415 100644
--- a/security/clamsmtp/files/clamsmtpd.sh.in
+++ b/security/clamsmtp/files/clamsmtpd.sh.in
@@ -8,9 +8,10 @@
# Add the fellowing line to /etc/rc.conf.local or /etc/rc.conf
# to enable clamsmtpd:
#
-# clamsmtpd_enable="YES"
-#
-# Set clamsmtpd_debug to something other that 0 if you need
+# clamsmtpd_enable (bool): Set it to "YES" to enable clamsmtpd
+# Default is "NO".
+# clamsmtpd_conf (file): Set location of your configuration file.
+# Default is "%%PREFIX%%/etc/clamsmtpd.conf"
#
. %%RC_SUBR%%
@@ -19,7 +20,8 @@ name="clamsmtpd"
rcvar=${name}_enable
command=%%PREFIX%%/sbin/${name}
-command_args="-f ${clamsmtpd_conf} -p ${clamsmtpd_pid} -d ${clamsmtpd_debug}"
+command_args="-f ${clamsmtpd_conf} -p ${clamsmtpd_pid}"
+required_files=${clamsmtpd_conf}
pidfile=${clamsmtpd_pid}
sig_stop=-KILL
@@ -28,6 +30,5 @@ load_rc_config ${name}
: ${clamsmtpd_enable="NO"}
: ${clamsmtpd_conf="%%PREFIX%%/etc/clamsmtpd.conf"}
: ${clamsmtpd_pid="%%CLAMAV_PID_DIR%%/clamsmtpd.pid"}
-: ${clamsmtpd_debug="0"}
run_rc_command "$1"