aboutsummaryrefslogtreecommitdiffstats
path: root/security/clamsmtp
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-02-21 17:41:06 +0800
committerclsung <clsung@FreeBSD.org>2006-02-21 17:41:06 +0800
commit445d4db81afc03212e88a9f27ffb41752c38b17a (patch)
tree2e6d3fb4d83f0fde9e8a100dd50fdd07618ca905 /security/clamsmtp
parent84f027f1200af49808153d984c9af8e52e0d8478 (diff)
downloadfreebsd-ports-gnome-445d4db81afc03212e88a9f27ffb41752c38b17a.tar.gz
freebsd-ports-gnome-445d4db81afc03212e88a9f27ffb41752c38b17a.tar.zst
freebsd-ports-gnome-445d4db81afc03212e88a9f27ffb41752c38b17a.zip
- ": ...." section in rc.d script misordered
- bump PORTREVISION PR: 93618 Submitted by: Yoshisato YANAGISAWA <yanagisawa AT csg.is.titech.ac dot jp>
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"