pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/munin-node Fix "test ==".



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c56163d85e3a
branches:  trunk
changeset: 521737:c56163d85e3a
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Nov 19 10:02:09 2006 +0000

description:
Fix "test ==".

diffstat:

 sysutils/munin-node/distinfo         |   4 +++-
 sysutils/munin-node/patches/patch-af |  13 +++++++++++++
 sysutils/munin-node/patches/patch-ag |  13 +++++++++++++
 3 files changed, 29 insertions(+), 1 deletions(-)

diffs (49 lines):

diff -r a2a78aa06185 -r c56163d85e3a sysutils/munin-node/distinfo
--- a/sysutils/munin-node/distinfo      Sun Nov 19 10:02:05 2006 +0000
+++ b/sysutils/munin-node/distinfo      Sun Nov 19 10:02:09 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2006/07/21 23:28:37 abs Exp $
+$NetBSD: distinfo,v 1.3 2006/11/19 10:02:09 wiz Exp $
 
 SHA1 (munin_1.3.1.tar.gz) = f7783b645abbb25524c3f1b6e0fe27185f1de3db
 RMD160 (munin_1.3.1.tar.gz) = a6ea4e1839f4c787457e4051d55007b7bcebd1d4
@@ -8,3 +8,5 @@
 SHA1 (patch-ac) = 9ef503b4d20f65e990c332c7789188a6fbad618e
 SHA1 (patch-ad) = 8accd3875324035f2c95903fc37cee4b4a55948a
 SHA1 (patch-ae) = 63b6acf126bc8baaed0ff429cfa0fa63945e5915
+SHA1 (patch-af) = 094aa38a177778e6df7310a0e61839c08de7dc20
+SHA1 (patch-ag) = d33ff87fae5bef1fb2dd1f12838471b7a7a42fbf
diff -r a2a78aa06185 -r c56163d85e3a sysutils/munin-node/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/munin-node/patches/patch-af      Sun Nov 19 10:02:09 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2006/11/19 10:02:10 wiz Exp $
+
+--- node/node.d/foldingathome_wu.in.orig       2004-12-09 20:19:57.000000000 +0000
++++ node/node.d/foldingathome_wu.in
+@@ -31,7 +31,7 @@ fi
+ 
+ wu=`wget "http://vspx27.stanford.edu/cgi-bin/main.py?qtype=userpage&username=8d"; -q -t 1 -T 5 -O - | egrep -A 2 "<TD> WU</TD>" | grep "<b>" | sed 's/.*<b> \([0-9]*\) .*/\1/'`
+ 
+-if [ "$wu" == "" ]; then
++if [ "$wu" = "" ]; then
+       if [ -f $statefile ]; then
+               echo wu.value `cat $statefile`
+       fi
diff -r a2a78aa06185 -r c56163d85e3a sysutils/munin-node/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/munin-node/patches/patch-ag      Sun Nov 19 10:02:09 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1 2006/11/19 10:02:10 wiz Exp $
+
+--- node/node.d/foldingathome_rank.in.orig     2004-12-09 20:19:57.000000000 +0000
++++ node/node.d/foldingathome_rank.in
+@@ -31,7 +31,7 @@ if [ "$1" = "config" ]; then
+ fi
+ 
+ rank=`wget "http://vspx27.stanford.edu/cgi-bin/main.py?qtype=userpage&username=8d"; -q -t 1 -T 5 -O - | egrep "<TD> <font size=3> <b> [0-9]* </b> of [0-9]* </font></TD>" | sed 's/.*<font size=3> <b> 
\([0-9]*\) .*/\1/'`
+-if [ "$rank" == "" ]; then
++if [ "$rank" = "" ]; then
+       if [ -f $statefile ]; then
+               echo rank.value `cat $statefile`
+       fi



Home | Main Index | Thread Index | Old Index