Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jan 2006 19:30:48 +0900 (JST)
From:      Yoshisato YANAGISAWA <yanagisawa@csg.is.titech.ac.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/92302: [maintainer update] mail/dkfilter: little bug in rc script is fixed.
Message-ID:  <200601251030.k0PAUlop089206@frodo.csg.is.titech.ac.jp>
Resent-Message-ID: <200601251040.k0PAe4vf090709@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         92302
>Category:       ports
>Synopsis:       [maintainer update] mail/dkfilter: little bug in rc script is fixed.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 25 10:40:04 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Yoshisato YANAGISAWA
>Release:        FreeBSD 6.0-RELEASE-p2 i386
>Organization:
Tokyo Institute of Technology.
>Environment:
System: FreeBSD frodo.csg.is.titech.ac.jp 6.0-RELEASE-p2 FreeBSD 6.0-RELEASE-p2 #72: Thu Jan 12 15:26:53 JST 2006 yanagisawa@frodo.csg.is.titech.ac.jp:/usr/obj/usr/src/sys/FRODO i386


	
>Description:
	Some mistakes are in rc script of mail/dkfilter port.
	I fixed these mistakes.
	
>How-To-Repeat:
	n/a
	
>Fix:

	
Just use following patch.

diff -rui dkfilter.bak/Makefile dkfilter/Makefile
--- dkfilter.bak/Makefile	Fri Jan 13 11:05:43 2006
+++ dkfilter/Makefile	Fri Jan 13 11:15:14 2006
@@ -7,7 +7,7 @@
 
 PORTNAME=	dkfilter
 PORTVERSION=	0.8
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	mail
 MASTER_SITES=	http://jason.long.name/dkfilter/
 DISTNAME=	${PORTNAME}
diff -rui dkfilter.bak/files/dkfilter_in.sh.in dkfilter/files/dkfilter_in.sh.in
--- dkfilter.bak/files/dkfilter_in.sh.in	Fri Jan 13 11:05:43 2006
+++ dkfilter/files/dkfilter_in.sh.in	Fri Jan 13 11:11:25 2006
@@ -23,7 +23,7 @@
 dkfilter_in_enable=${dkfilter_in_enable:-"NO"}
 dkfilter_in_flags=${dkfilter_in_flags:-"127.0.0.1:10025 127.0.0.1:10026"}
 dkfilter_in_pidfile=${dkfilter_in_pidfile:-"/var/run/dkfilter_in.pid"}
-dkfilter_in_user=${dkfilter_user:-"dkfilter"}
+dkfilter_in_user=${dkfilter_in_user:-"dkfilter"}
 
 start_cmd="dkfilter_in_start"
 stop_cmd="dkfilter_in_stop"
@@ -37,7 +37,8 @@
 	touch ${dkfilter_in_pidfile}
 	chown ${dkfilter_in_user} ${dkfilter_in_pidfile}
 	su -m ${dkfilter_in_user} -c "daemon -p ${dkfilter_in_pidfile} \
-		%%PREFIX%%/bin/dkfilter.in ${dkfilter_in_flags}"
+		%%PREFIX%%/bin/dkfilter.in ${dkfilter_in_flags}" \
+		> /dev/null 2>&1
 	echo "Starting ${name}"
 }
 
diff -rui dkfilter.bak/files/dkfilter_out.sh.in dkfilter/files/dkfilter_out.sh.in
--- dkfilter.bak/files/dkfilter_out.sh.in	Fri Jan 13 11:05:43 2006
+++ dkfilter/files/dkfilter_out.sh.in	Fri Jan 13 11:12:05 2006
@@ -29,7 +29,7 @@
 	--selector=selector1 --domain=example.org --method=nofws \
 	127.0.0.1:10027 127.0.0.1:10028"}
 dkfilter_out_pidfile=${dkfilter_out_pidfile:-"/var/run/dkfilter_out.pid"}
-dkfilter_out_user=${dkfilter_user:-"dkfilter"}
+dkfilter_out_user=${dkfilter_out_user:-"dkfilter"}
 
 start_cmd="dkfilter_out_start"
 stop_cmd="dkfilter_out_stop"
@@ -43,7 +43,8 @@
 	touch ${dkfilter_out_pidfile}
 	chown ${dkfilter_out_user} ${dkfilter_out_pidfile}
 	su -m ${dkfilter_out_user} -c "daemon -p ${dkfilter_out_pidfile} \
-		%%PREFIX%%/bin/dkfilter.out ${dkfilter_out_flags}"
+		%%PREFIX%%/bin/dkfilter.out ${dkfilter_out_flags}" \
+		> /dev/null 2>&1
 	echo "Starting ${name}."
 }
 
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601251030.k0PAUlop089206>