Subject: CVS commit: pkgsrc/parallel/ganglia-monitor-core
To: None <pkgsrc-changes@NetBSD.org>
From: Jan Schaumann <jschauma@netbsd.org>
List: pkgsrc-changes
Date: 04/03/2005 19:13:50
Module Name: pkgsrc
Committed By: jschauma
Date: Sun Apr 3 19:13:50 UTC 2005
Modified Files:
pkgsrc/parallel/ganglia-monitor-core: Makefile distinfo
pkgsrc/parallel/ganglia-monitor-core/patches: patch-ah
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 pkgsrc/parallel/ganglia-monitor-core/Makefile
cvs rdiff -r1.3 -r1.4 pkgsrc/parallel/ganglia-monitor-core/distinfo
cvs rdiff -r1.1.1.1 -r1.2 \
pkgsrc/parallel/ganglia-monitor-core/patches/patch-ah
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.