aboutsummaryrefslogtreecommitdiff
path: root/security/clamsmtp
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2006-02-21 09:41:06 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2006-02-21 09:41:06 +0000
commit7922f1ad2cf14d0fe9f4ead277dc26d46c9406fc (patch)
tree306659a0bc5ddeb30263a60cc4010cddc403bf35 /security/clamsmtp
parent048cd7de46864b74b20c2c1cd6bb449fd3922da6 (diff)
downloadports-7922f1ad2cf14d0fe9f4ead277dc26d46c9406fc.tar.gz
ports-7922f1ad2cf14d0fe9f4ead277dc26d46c9406fc.zip
- ": ...." section in rc.d script misordered
- bump PORTREVISION PR: 93618 Submitted by: Yoshisato YANAGISAWA <yanagisawa AT csg.is.titech.ac dot jp>
Notes
Notes: svn path=/head/; revision=156569
Diffstat (limited to 'security/clamsmtp')
-rw-r--r--security/clamsmtp/Makefile2
-rw-r--r--security/clamsmtp/files/clamsmtpd.sh.in12
2 files changed, 7 insertions, 7 deletions
diff --git a/security/clamsmtp/Makefile b/security/clamsmtp/Makefile
index 53d1a628ed38..0cc9e8cc432a 100644
--- a/security/clamsmtp/Makefile
+++ b/security/clamsmtp/Makefile
@@ -7,7 +7,7 @@
PORTNAME= clamsmtp
PORTVERSION= 1.6
-PORTREVISION= 2
+PORTREVISION= 3
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 e3c11351415a..834bcab5775a 100644
--- a/security/clamsmtp/files/clamsmtpd.sh.in
+++ b/security/clamsmtp/files/clamsmtpd.sh.in
@@ -19,16 +19,16 @@
name="clamsmtpd"
rcvar=${name}_enable
+: ${clamsmtpd_enable="NO"}
+: ${clamsmtpd_conf="%%PREFIX%%/etc/clamsmtpd.conf"}
+: ${clamsmtpd_pid="%%CLAMAV_PID_DIR%%/clamsmtpd.pid"}
+
+load_rc_config ${name}
+
command=%%PREFIX%%/sbin/${name}
command_args="-f ${clamsmtpd_conf} -p ${clamsmtpd_pid}"
required_files=${clamsmtpd_conf}
pidfile=${clamsmtpd_pid}
sig_stop=-KILL
-load_rc_config ${name}
-
-: ${clamsmtpd_enable="NO"}
-: ${clamsmtpd_conf="%%PREFIX%%/etc/clamsmtpd.conf"}
-: ${clamsmtpd_pid="%%CLAMAV_PID_DIR%%/clamsmtpd.pid"}
-
run_rc_command "$1"