diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-02-21 09:41:06 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-02-21 09:41:06 +0000 |
commit | 7922f1ad2cf14d0fe9f4ead277dc26d46c9406fc (patch) | |
tree | 306659a0bc5ddeb30263a60cc4010cddc403bf35 /security/clamsmtp | |
parent | 048cd7de46864b74b20c2c1cd6bb449fd3922da6 (diff) | |
download | ports-7922f1ad2cf14d0fe9f4ead277dc26d46c9406fc.tar.gz ports-7922f1ad2cf14d0fe9f4ead277dc26d46c9406fc.zip |
Notes
Diffstat (limited to 'security/clamsmtp')
-rw-r--r-- | security/clamsmtp/Makefile | 2 | ||||
-rw-r--r-- | security/clamsmtp/files/clamsmtpd.sh.in | 12 |
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" |