diff options
author | wiz <wiz@pkgsrc.org> | 2006-11-19 10:02:09 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2006-11-19 10:02:09 +0000 |
commit | c14a0f7e792856876567f09871e673dbcb46d61c (patch) | |
tree | 8b5f70f669e5aec1d17134456df9606541d27823 /sysutils/munin-node | |
parent | 823b039fe567551c97ad93030762233574535811 (diff) | |
download | pkgsrc-c14a0f7e792856876567f09871e673dbcb46d61c.tar.gz |
Fix "test ==".
Diffstat (limited to 'sysutils/munin-node')
-rw-r--r-- | sysutils/munin-node/distinfo | 4 | ||||
-rw-r--r-- | sysutils/munin-node/patches/patch-af | 13 | ||||
-rw-r--r-- | sysutils/munin-node/patches/patch-ag | 13 |
3 files changed, 29 insertions, 1 deletions
diff --git a/sysutils/munin-node/distinfo b/sysutils/munin-node/distinfo index b6b969ff493..a25bbcd0db5 100644 --- a/sysutils/munin-node/distinfo +++ b/sysutils/munin-node/distinfo @@ -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-ab) = bb0f63cdef893d8c224cdd03a4a4125d03f85f80 SHA1 (patch-ac) = 9ef503b4d20f65e990c332c7789188a6fbad618e SHA1 (patch-ad) = 8accd3875324035f2c95903fc37cee4b4a55948a SHA1 (patch-ae) = 63b6acf126bc8baaed0ff429cfa0fa63945e5915 +SHA1 (patch-af) = 094aa38a177778e6df7310a0e61839c08de7dc20 +SHA1 (patch-ag) = d33ff87fae5bef1fb2dd1f12838471b7a7a42fbf diff --git a/sysutils/munin-node/patches/patch-af b/sysutils/munin-node/patches/patch-af new file mode 100644 index 00000000000..b1e1a7b2e33 --- /dev/null +++ b/sysutils/munin-node/patches/patch-af @@ -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 --git a/sysutils/munin-node/patches/patch-ag b/sysutils/munin-node/patches/patch-ag new file mode 100644 index 00000000000..6aaee44ed9c --- /dev/null +++ b/sysutils/munin-node/patches/patch-ag @@ -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 |