summaryrefslogtreecommitdiff
path: root/parallel/ganglia-monitor-core
diff options
context:
space:
mode:
authorjschauma <jschauma>2005-04-03 19:13:50 +0000
committerjschauma <jschauma>2005-04-03 19:13:50 +0000
commit743379105ab1934da3d59fa4433cf744526eb303 (patch)
tree12486b1e1393bb11255ad2b093582b11189b89c0 /parallel/ganglia-monitor-core
parentfedc479dc884c1f985584b4095e8b9adaf10bae9 (diff)
downloadpkgsrc-743379105ab1934da3d59fa4433cf744526eb303.tar.gz
Update to 3.0.1 and switch to .tar.bz2 distfile.
Changes (mostly bugfixes):: * srclib/libmetrics/freebsd/metrics.c (1.6): Many bug fixes and cleanups: - Make cpu_state act like get_netbw and get new values only if called more than 1/2 second from the last value update. This causing obviously weird results from the CPU metrics on sparc64 (where the counters seem to be very course) and bogus, but more subtlety broken results on other architectures. This has always been broken. - Implement cpu_intr_func (one line!) - Make the logic for handling bad returns from sysctl make sense. It should never be triggered in most cases, but at least this way it won't return bogus values when it happens. - Prefer sysctlbyname() to sysctl(). It's much easier to read. - Reduce the use of pointless temporary variables. - Comment/white space fixes, include more comments of metrics we are unlikely to actually implement and comments on other rather bogus metrics, mostly memory related ones. * lib/libgmond.c (1.17): Set the default time for tcp_accept_channels to be -1 (blocking io) * srclib/libmetrics/linux/metrics.c (1.5): Fixed a bug in pkts_in/out bytes_in/out on for some Linux 2.6.x kernels http://bugzilla.ganglia.info/cgi-bin/bugzilla/show_bug.cgi?id=21 * gmond/: g25_config.c (1.3), gmond.c (1.102): Patched two bugs in gmond. The first bug causes gmond to occasionally stop reporting occasionally when there is a network failure. The second bug in gmond relates to the host mask being set to 24 instead of 32 when converting old gmond.conf configuration files. * srclib/libmetrics/freebsd/metrics.c (1.5): Fix a number of bugs of varying severity: - makenetvfslist had some nasty uninitilized variable bugs under FreeBSD 4.x, fix those. - general reorganization and logic clarity improvements in makenetvfslist. - Make machine_type_func, os_name_func, and os_release_func and correct their error handling code to actually do something useful (not that it should ever be triggered). * srclib/libmetrics/freebsd/metrics.c (1.4): - Fix a memory leak in find_disk_space() as reported by Glen Beane. - Overhaul makenetvfslist() a bit to fix a leak in low memory situations, reduce duplicated code, and streamline error handling. - Fix a few compiler warnings.
Diffstat (limited to 'parallel/ganglia-monitor-core')
-rw-r--r--parallel/ganglia-monitor-core/Makefile7
-rw-r--r--parallel/ganglia-monitor-core/distinfo10
-rw-r--r--parallel/ganglia-monitor-core/patches/patch-ah10
3 files changed, 13 insertions, 14 deletions
diff --git a/parallel/ganglia-monitor-core/Makefile b/parallel/ganglia-monitor-core/Makefile
index d66c1fe142d..464047ba725 100644
--- a/parallel/ganglia-monitor-core/Makefile
+++ b/parallel/ganglia-monitor-core/Makefile
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.2 2005/02/10 02:33:53 jschauma Exp $
+# $NetBSD: Makefile,v 1.3 2005/04/03 19:13:50 jschauma Exp $
#
-DISTNAME= ganglia-3.0.0
-PKGNAME= ganglia-monitor-core-3.0.0
+DISTNAME= ganglia-3.0.1
+PKGNAME= ganglia-monitor-core-3.0.1
CATEGORIES= net parallel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ganglia/}
+EXTRACT_SUFX= .tar.bz2
MAINTAINER= jschauma@NetBSD.org
HOMEPAGE= http://ganglia.sourceforge.net/
diff --git a/parallel/ganglia-monitor-core/distinfo b/parallel/ganglia-monitor-core/distinfo
index b529e10aa64..3e81e97ac7a 100644
--- a/parallel/ganglia-monitor-core/distinfo
+++ b/parallel/ganglia-monitor-core/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 12:23:31 agc Exp $
+$NetBSD: distinfo,v 1.4 2005/04/03 19:13:50 jschauma Exp $
-SHA1 (ganglia-3.0.0.tar.gz) = e669aa828e10a5f71e90c8226ba41566b5fb9e42
-RMD160 (ganglia-3.0.0.tar.gz) = 275223015556b7a0b32c1a2b2932a29061f3d847
-Size (ganglia-3.0.0.tar.gz) = 3389093 bytes
+SHA1 (ganglia-3.0.1.tar.bz2) = 3e5c4ec4a509713974dd1e8d516127f6aa2c5a20
+RMD160 (ganglia-3.0.1.tar.bz2) = 1f0ecc7388f1058d64df9ab98734810a983e6d26
+Size (ganglia-3.0.1.tar.bz2) = 2649342 bytes
SHA1 (patch-aa) = 88972d2268ebc76d72d8f2197bb272c6553f7098
SHA1 (patch-ab) = 21cae050a12d8b63aa313a327b6358fd6b9e397e
SHA1 (patch-ac) = 23ad60ea06080a6763b21256e20549868110cf54
@@ -10,7 +10,7 @@ SHA1 (patch-ad) = 4f03c665800827e1d89d7d76b81b667f0cf82ca6
SHA1 (patch-ae) = 417a7ed552583fc61f8c3e095e9233c68311caf9
SHA1 (patch-af) = 1874ebe88fa2ac288c5ca0a94f864bd0a71415ba
SHA1 (patch-ag) = a214bed25baff256c7670285129f77d31b18de82
-SHA1 (patch-ah) = 40fae7e64918a0c7709005e9de0629dfb2c22565
+SHA1 (patch-ah) = 16f438c50572ff3c1cc0f8d745b97f67f3801672
SHA1 (patch-ai) = 1ae508692d8160aa202e02612590d329d910f434
SHA1 (patch-aj) = d73aa994a2a6c9441d0b1cbcc9247bdf522b37c4
SHA1 (patch-ak) = 6d84043aaf005e319517e8df61097dc00067ed10
diff --git a/parallel/ganglia-monitor-core/patches/patch-ah b/parallel/ganglia-monitor-core/patches/patch-ah
index ad20aea4d53..7e15e82f55d 100644
--- a/parallel/ganglia-monitor-core/patches/patch-ah
+++ b/parallel/ganglia-monitor-core/patches/patch-ah
@@ -1,8 +1,6 @@
-$NetBSD: patch-ah,v 1.1.1.1 2005/02/07 14:33:21 jschauma Exp $
-
---- gmetad/conf.c.orig 2005-02-04 17:33:45.000000000 -0500
-+++ gmetad/conf.c 2005-02-04 17:35:56.000000000 -0500
-@@ -252,7 +252,7 @@
+--- gmetad/conf.c.orig 2005-04-03 13:24:33.000000000 -0400
++++ gmetad/conf.c 2005-04-03 13:24:57.000000000 -0400
+@@ -264,7 +264,7 @@
config->debug_level = 0;
config->should_setuid = 1;
config->setuid_username = "nobody";
@@ -10,4 +8,4 @@ $NetBSD: patch-ah,v 1.1.1.1 2005/02/07 14:33:21 jschauma Exp $
+ config->rrd_rootdir = "/var/db/ganglia/rrds";
config->scalable_mode = 1;
config->all_trusted = 0;
- }
+ config->num_RRAs = 5;