diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-02-21 01:43:31 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-02-21 01:43:31 +0000 |
commit | a6d8d63efee4716c24d07277d2c5e899a810e2d0 (patch) | |
tree | ad57d8e411c877c43a0fb36c9c6c4b0af630d476 /security/clamsmtp | |
parent | 5c9a8c6104d92c43bab7a9fa7300ac8b41d3fa4f (diff) | |
download | ports-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/Makefile | 2 | ||||
-rw-r--r-- | security/clamsmtp/files/clamsmtpd.sh.in | 11 |
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" |