ports/75885: [maintainer update] sysutils/munin-node 1.0.4 -> 1.0.5
Lupe Christoph
lupe at lupe-christoph.de
Tue Feb 1 12:00:43 UTC 2005
The following reply was made to PR ports/75885; it has been noted by GNATS.
From: Lupe Christoph <lupe at lupe-christoph.de>
To: FreeBSD-gnats-submit at 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 at 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. |
More information about the freebsd-ports-bugs
mailing list