Index: head/security/clamsmtp/Makefile =================================================================== --- head/security/clamsmtp/Makefile (revision 119406) +++ head/security/clamsmtp/Makefile (revision 119407) @@ -1,37 +1,38 @@ # New ports collection makefile for: clamsmtp # Date created: 2004-07-29 # Whom: Cheng-Lung Sung # # $FreeBSD$ # PORTNAME= clamsmtp PORTVERSION= 0.9.6 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://memberwebs.com/nielsen/software/clamsmtp/ MAINTAINER= clsung@FreeBSD.org COMMENT= An ClamAV anti-virus SMTP Filter RUN_DEPENDS= ${LOCALBASE}/sbin/clamd:${PORTSDIR}/security/clamav GNU_CONFIGURE= yes USE_GMAKE= yes USE_REINPLACE= yes USE_RC_SUBR= yes RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} CLAMAV_PID_DIR=${CLAMAV_PID_DIR} STARTUP_FILE= ${PREFIX}/etc/rc.d/clamsmtpd.sh CLAMAV_PID_DIR?= /var/run/clamav MAN5= clamsmtpd.conf.5 MAN8= clamsmtpd.8 post-install: @${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ ${FILESDIR}/clamsmtpd.sh.tmpl > ${STARTUP_FILE} @${INSTALL_DATA} ${WRKSRC}/doc/clamsmtpd.conf ${PREFIX}/etc/clamsmtpd.conf-sample @${CHMOD} 755 ${STARTUP_FILE} @${SED} -e "s,%%PREFIX%%,${PREFIX},g" ${PKGMESSAGE} .include Property changes on: head/security/clamsmtp/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.7 \ No newline at end of property +1.8 \ No newline at end of property Index: head/security/clamsmtp/files/clamsmtpd.sh.tmpl =================================================================== --- head/security/clamsmtp/files/clamsmtpd.sh.tmpl (revision 119406) +++ head/security/clamsmtp/files/clamsmtpd.sh.tmpl (revision 119407) @@ -1,33 +1,33 @@ #!/bin/sh # # $FreeBSD$ # # PROVIDE: clamsmtpd # REQUIRE: DAEMON # KEYWORD: FreeBSD # # Add the fellowing line to /etc/rc.conf to enable clamsmtpd: # # clamsmtpd_enable="YES" # . %%RC_SUBR%% name=clamsmtpd rcvar=`set_rcvar` command=%%PREFIX%%/sbin/${name} sig_stop=-KILL load_rc_config ${name} clamsmtpd_enable=${clamsmtpd_enable-"NO"} clamsmtpd_conf=${clamsmtpd_conf-"%%PREFIX%%/etc/clamsmtpd.conf"} clamsmtpd_pid=${clamsmtpd_pid-"%%CLAMAV_PID_DIR%%/clamsmtpd.pid"} clamsmtpd_debug=${clamsmtpd_debug-"0"} -command_args="-f ${clamsmtpd_conf} -d ${clamsmtpd_debug} -p ${clamsmtpd_pid}" +command_args="-f ${clamsmtpd_conf} -p ${clamsmtpd_pid}" pidfile=${clamsmtpd_pid} run_rc_command "$1" Property changes on: head/security/clamsmtp/files/clamsmtpd.sh.tmpl ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property