Index: head/mail/spampd/Makefile =================================================================== --- head/mail/spampd/Makefile (revision 211422) +++ head/mail/spampd/Makefile (revision 211423) @@ -1,28 +1,28 @@ # ports collection makefile for: spampd # Date created: 7 April 2004 # Whom: chris # # $FreeBSD$ # PORTNAME= spampd PORTVERSION= 2.30 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail perl5 MASTER_SITES= http://www.worlddesign.com/Content/rd/mta/spampd/ MAINTAINER= christian.schade@interface-systems.de COMMENT= Spamassassin SMTP Proxy RUN_DEPENDS= spamc:${PORTSDIR}/mail/p5-Mail-SpamAssassin \ ${SITE_PERL}/Net/Server/PreForkSimple.pm:${PORTSDIR}/net/p5-Net-Server NO_BUILD= yes PLIST_FILES= sbin/spampd USE_PERL5= yes USE_RC_SUBR= spampd do-install: @${INSTALL_SCRIPT} ${WRKSRC}/spampd ${PREFIX}/sbin .include Property changes on: head/mail/spampd/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.8 \ No newline at end of property +1.9 \ No newline at end of property Index: head/mail/spampd/files/spampd.in =================================================================== --- head/mail/spampd/files/spampd.in (revision 211422) +++ head/mail/spampd/files/spampd.in (revision 211423) @@ -1,47 +1,50 @@ #!/bin/sh # # PROVIDE: spampd +# REQUIRE: login +# BEFORE: mail +# KEYWORD: shutdown # # Add the fellowing line to /etc/rc.conf to enable spampd: # # spampd_enable (bool): Set it to "YES" to enable spampd # Default is "NO" # spampd_flags . %%RC_SUBR%% name="spampd" rcvar=`set_rcvar` : ${spampd_enable="NO"} : ${spampd_pidfile="/var/run/spamd/spampd.pid"} : ${spampd_flags="--user=spamd --group=spamd --host 127.0.0.1:10024 --relayhost=127.0.0.1:10025 --dose --tagall --auto-whitelist"} load_rc_config $name command="%%PREFIX%%/sbin/$name" command_args="${spampd_flags} --pid=${spampd_pidfile}" pidfile="${spampd_pidfile}" sig_stop="-KILL" stop_cmd="stop_cmd" status_cmd="status_cmd" stop_cmd() { if [ -f "$pidfile" ]; then kill `cat $pidfile` rm -f $pidfile echo -n " spampd" fi } status_cmd() { if [ -f "$pidfile" ]; then echo "${name} is running as pid `cat $pidfile`." else echo "${name} is not running." fi } run_rc_command $1 Property changes on: head/mail/spampd/files/spampd.in ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property