View | Details | Raw Unified | Return to bug 93541
Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	clamsmtp
8
PORTNAME=	clamsmtp
9
PORTVERSION=	1.6
9
PORTVERSION=	1.6
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES=	security
11
CATEGORIES=	security
12
MASTER_SITES=	http://memberwebs.com/nielsen/software/clamsmtp/
12
MASTER_SITES=	http://memberwebs.com/nielsen/software/clamsmtp/
13
13
(-)files/clamsmtpd.sh.in (-6 / +6 lines)
Lines 4-17 Link Here
4
#
4
#
5
# PROVIDE: clamsmtpd
5
# PROVIDE: clamsmtpd
6
# REQUIRE: DAEMON %%CLAMD%%
6
# REQUIRE: DAEMON %%CLAMD%%
7
# KEYWORD: FreeBSD
8
#
7
#
9
# Add the fellowing line to /etc/rc.conf.local or /etc/rc.conf
8
# Add the fellowing line to /etc/rc.conf.local or /etc/rc.conf
10
# to enable clamsmtpd:
9
# to enable clamsmtpd:
11
#
10
#
12
# clamsmtpd_enable="YES"
11
# clamsmtpd_enable (bool):	Set it to "YES" to enable clamsmtpd
13
#
12
#				Default is "NO".
14
# Set clamsmtpd_debug to something other that 0 if you need
13
# clamsmtpd_conf (file):	Set location of your configuration file.
14
#				Default is "%%PREFIX%%/etc/clamsmtpd.conf"
15
#
15
#
16
16
17
. %%RC_SUBR%%
17
. %%RC_SUBR%%
Lines 20-26 Link Here
20
rcvar=${name}_enable
20
rcvar=${name}_enable
21
21
22
command=%%PREFIX%%/sbin/${name}
22
command=%%PREFIX%%/sbin/${name}
23
command_args="-f ${clamsmtpd_conf} -p ${clamsmtpd_pid} -d ${clamsmtpd_debug}"
23
command_args="-f ${clamsmtpd_conf} -p ${clamsmtpd_pid}"
24
required_files=${clamsmtpd_conf}
24
pidfile=${clamsmtpd_pid}
25
pidfile=${clamsmtpd_pid}
25
sig_stop=-KILL
26
sig_stop=-KILL
26
27
Lines 29-34 Link Here
29
: ${clamsmtpd_enable="NO"}
30
: ${clamsmtpd_enable="NO"}
30
: ${clamsmtpd_conf="%%PREFIX%%/etc/clamsmtpd.conf"}
31
: ${clamsmtpd_conf="%%PREFIX%%/etc/clamsmtpd.conf"}
31
: ${clamsmtpd_pid="%%CLAMAV_PID_DIR%%/clamsmtpd.pid"}
32
: ${clamsmtpd_pid="%%CLAMAV_PID_DIR%%/clamsmtpd.pid"}
32
: ${clamsmtpd_debug="0"}
33
33
34
run_rc_command "$1"
34
run_rc_command "$1"

Return to bug 93541