Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Feb 2005 08:20:29 GMT
From:      Lupe Christoph <lupe@lupe-christoph.de>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/77720: [maintainer update] sysutils/munin-main 1.0.4 -> 1.2.0
Message-ID:  <200502230820.j1N8KTMG067787@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/77720; it has been noted by GNATS.

From: Lupe Christoph <lupe@lupe-christoph.de>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Cc:  
Subject: Re: ports/77720: [maintainer update] sysutils/munin-main 1.0.4 -> 1.2.0
Date: Wed, 23 Feb 2005 09:15:58 +0100

 This patch adds files/patch-munin-limits.in which contains an important
 fix for users of the limits feature, as per
   http://sourceforge.net/mailarchive/message.php?msg_id=10932249
 
 --- files/patch-munin-limits.in	Wed Feb 23 09:07:16 2005
 +++ /dev/null	Wed Feb 23 08:34:51 2005
 @@ -1,35 +0,0 @@
 ---- munin-1.2.0.orig/server/munin-limits.in	Wed Feb 16 21:03:31 2005
 -+++ munin-1.2.0/server/munin-limits.in	Wed Feb 23 09:06:26 2005
 -@@ -18,6 +18,12 @@
 - #
 - #
 - # $Log: munin-limits.in,v $
 -+# Revision 1.24.2.4  2005/02/19 16:06:14  ilmari
 -+# Place the munin-limits lock file in rundir, not dbdir.
 -+#
 -+# Revision 1.24.2.3  2005/02/19 16:04:03  ilmari
 -+# Fix the file vs. pipe check in munin-limits
 -+#
 - # Revision 1.24.2.2  2005/02/16 20:03:31  jimmyo
 - # yet another rewrite of munin-limits open call (SF#1115434).
 - #
 -@@ -179,8 +185,8 @@
 - my $modified=0;
 - 
 - logger("Starting munin-limits, checking lock");
 --munin_runlock("$config->{dbdir}/munin-limits.lock");
 --logger("Created lock: $config->{dbdir}/munin-limits.lock");
 -+munin_runlock("$config->{rundir}/munin-limits.lock");
 -+logger("Created lock: $config->{rundir}/munin-limits.lock");
 - 
 - if (!defined $config->{'contact'}->{'nagios'}->{'command'} and
 - 	defined $config->{'nsca'})
 -@@ -458,7 +464,7 @@
 - 		    unshift (@cmd, "|-");
 - 		}
 - 		logger ("Debug: opening for writing: \"" . join('" "',@cmd) . "\".") if $DEBUG;
 --		if ($cmd[0] == ">")
 -+		if ($cmd[0] eq ">")
 - 		{
 - 		    if (! open ($pipe, join (' ', @cmd)))
 - 		    {
 
 -- 
 | 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?200502230820.j1N8KTMG067787>