From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Feb 23 08:20:30 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 1A04E16A4CE for ; Wed, 23 Feb 2005 08:20:30 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD63743D2F for ; Wed, 23 Feb 2005 08:20:29 +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 j1N8KTfe067788 for ; Wed, 23 Feb 2005 08:20:29 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j1N8KTMG067787; Wed, 23 Feb 2005 08:20:29 GMT (envelope-from gnats) Date: Wed, 23 Feb 2005 08:20:29 GMT Message-Id: <200502230820.j1N8KTMG067787@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Lupe Christoph Subject: Re: ports/77720: [maintainer update] sysutils/munin-main 1.0.4 -> 1.2.0 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: Wed, 23 Feb 2005 08:20:30 -0000 The following reply was made to PR ports/77720; it has been noted by GNATS. From: Lupe Christoph 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. |