Date: Tue, 1 Feb 2005 12:00:40 GMT From: Lupe Christoph <lupe@lupe-christoph.de> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/75885: [maintainer update] sysutils/munin-node 1.0.4 -> 1.0.5 Message-ID: <200502011200.j11C0eI1057404@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/75885; it has been noted by GNATS. From: Lupe Christoph <lupe@lupe-christoph.de> 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. |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502011200.j11C0eI1057404>