From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Feb 1 12:00:43 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B02A616A520 for ; Tue, 1 Feb 2005 12:00:42 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DD2F43D1D for ; Tue, 1 Feb 2005 12:00:40 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j11C0ekR057405 for ; Tue, 1 Feb 2005 12:00:40 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j11C0eI1057404; Tue, 1 Feb 2005 12:00:40 GMT (envelope-from gnats) Date: Tue, 1 Feb 2005 12:00:40 GMT Message-Id: <200502011200.j11C0eI1057404@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Lupe Christoph Subject: Re: ports/75885: [maintainer update] sysutils/munin-node 1.0.4 -> 1.0.5 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Lupe Christoph List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Feb 2005 12:00:43 -0000 The following reply was made to PR ports/75885; it has been noted by GNATS. From: Lupe Christoph To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: Re: ports/75885: [maintainer update] sysutils/munin-node 1.0.4 -> 1.0.5 Date: Tue, 1 Feb 2005 12:58:56 +0100 While working on 1.2.0rc1 I found that I missed one thing during the conversion from /etc/rc.d to ${PREFIX}/etc/rc.d, that is the stopping of a running processing during deinstall. Here is an additional patch that fixes this. It changes one a file previously unchanged, pkg-deinstall. Lupe Christoph diff -ruN munin-node.ports/pkg-deinstall munin-node-1.0.5/pkg-deinstall --- munin-node.ports/pkg-deinstall Tue Dec 14 02:43:10 2004 +++ munin-node-1.0.5/pkg-deinstall Tue Feb 1 12:46:40 2005 @@ -39,6 +39,8 @@ } stop_process() { + STARTSTOP=${PKG_PREFIX}/etc/rc.d/munin-node.sh + if [ -x $STARTSTOP ]; then $STARTSTOP stop fi @@ -53,13 +55,6 @@ echo "Done." fi } - -OSVERSION=`/sbin/sysctl -n kern.osreldate` -if [ $OSVERSION -lt 500000 ]; then - STARTSTOP=${PKG_PREFIX}/etc/rc.d/munin-node.sh -else - STARTSTOP=/etc/rc.d/munin_node -fi case $2 in DEINSTALL) -- | lupe@lupe-christoph.de | http://www.lupe-christoph.de/ | | Ask not what your computer can do for you | | ask what you can do for your computer. |