From owner-freebsd-ports@FreeBSD.ORG Wed May 12 10:24:49 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 90B8016A4CE; Wed, 12 May 2004 10:24:49 -0700 (PDT) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id C70E243D58; Wed, 12 May 2004 10:24:48 -0700 (PDT) (envelope-from nork@FreeBSD.org) Received: from nadesico.ninth-nine.com (nadesico.ninth-nine.com [219.127.74.122]) by sakura.ninth-nine.com (8.12.11/8.12.11/NinthNine) with ESMTP id i4CHOmbC002996; Thu, 13 May 2004 02:24:48 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Thu, 13 May 2004 02:24:48 +0900 From: Norikatsu Shigemura To: Munechika SUMIKAWA Message-Id: <20040513022448.45d1ca58.nork@FreeBSD.org> X-Mailer: Sylpheed version 0.9.9-gtk2-20040229 (GTK+ 2.4.1; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: ports@FreeBSD.org Subject: www/wwwoffle's wwwoffled.sh X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2004 17:24:49 -0000 Hi Sumikawa! I noticed a message on boot like following message. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Starting wwwoffled. wwwoffled already running? (pid=632). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - So I fixed this warning message. Please review & commit following patch. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Index: Makefile =================================================================== RCS file: /home/ncvs/ports/www/wwwoffle/Makefile,v retrieving revision 1.38 diff -u -r1.38 Makefile --- Makefile 5 May 2004 10:04:01 -0000 1.38 +++ Makefile 12 May 2004 16:39:20 -0000 @@ -7,7 +7,7 @@ PORTNAME= wwwoffle PORTVERSION= 2.8b -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www ipv6 MASTER_SITES= http://www.gedanken.freeserve.co.uk/download-wwwoffle/ EXTRACT_SUFX= .tgz Index: files/wwwoffled.sh =================================================================== RCS file: /home/ncvs/ports/www/wwwoffle/files/wwwoffled.sh,v retrieving revision 1.4 diff -u -r1.4 wwwoffled.sh --- files/wwwoffled.sh 4 May 2004 10:44:05 -0000 1.4 +++ files/wwwoffled.sh 12 May 2004 16:36:13 -0000 @@ -29,5 +29,6 @@ pidfile="${wwwoffled_pidfile}" command_args="-p > ${pidfile} 2> /dev/null" required_files="${wwwoffled_conffile}" +stop_postcmd="/bin/rm -f ${pidfile}" run_rc_command "$1" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -