aboutsummaryrefslogtreecommitdiff
path: root/security/clamsmtp
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2006-02-21 01:43:31 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2006-02-21 01:43:31 +0000
commita6d8d63efee4716c24d07277d2c5e899a810e2d0 (patch)
treead57d8e411c877c43a0fb36c9c6c4b0af630d476 /security/clamsmtp
parent5c9a8c6104d92c43bab7a9fa7300ac8b41d3fa4f (diff)
downloadports-a6d8d63efee4716c24d07277d2c5e899a810e2d0.tar.gz
ports-a6d8d63efee4716c24d07277d2c5e899a810e2d0.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
Notes
Notes: svn path=/head/; revision=156554
Diffstat (limited to 'security/clamsmtp')
-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 4467286f7bbc..53d1a628ed38 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 1740c58c17e9..e3c11351415a 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"