Up to [cvs.NetBSD.org] / pkgsrc / devel / libstatgrab
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Update to 0.91:
libstatgrab 0.91 (11 July 2014)
* Use /proc/mounts on Linux where available. Note that this
potentially results in different data appearing in the filesystem
statistics. To override the choice use the --with-mnttab configure
flag.
* Add a new field named device_canonical to the filesystem statistics.
This always holds the real device and is useful in the case where
device_name is a symlink.
* Fix list miscounting in sg_set_valid_filesystems.
* Fix buffer overrun when dealing with a larger number of processes.
* Fix divide by zero display problem in saidar.
* Building of examples is now disabled by default. Use the
--enable-examples configure flag to build them if required.
* Logging (log4cplus) is now only enabled if the --enable-logging
configure flag is given.
* When logging with log4cplus is enabled, properties files are
installed in to ${prefix}/etc. Both statgrab and saidar will search
this location when starting up. These files can be used to
configure the behaviour of log4cplus.
* Add Graphite output support in statgrab.
(Thanks to John Lyman)
* Fix test suite problem when doing a VPATH build.
* Install distribution documentation (such as this file) in to
${prefix}/share/doc/libstatgrab.
* Various other minor bug fixes identified by compiler warnings.
* Update code for the Windows platform. This is incomplete, but we
included the changes to give anyone else working in this area a
better starting point. We welcome pull requests to further improve
this code. The original pull request can be found in #36.
(Thanks to Brent Cook)
Updating libstatgrab from 0.17nb2 to 0.90 pkgsrc changes: * libstatgrab has gnu-lgpl-2, only statgrab and saidard are gpl * add dependency to log4cplus for have tracing ability Upstream changes (0.90 follows 0.17 immediately): libstatgrab 0.90 * Please note the API in 0.90 has changed, so applications using libstatgrab will need to be updated to support the changes. * Thread safety and reentrant functions. * API unification (every stats call is now able to return multiple entries). * Complete rewrite of internal memory management (eases future extensions). * Add experimental support for tracing using log4cplus. * Complete the ports for AIX, HP-UX and most of the widely used BSD-based operating systems. * Complete the port for Darwin/MacOS X including basic Mach. * Clean up the FreeBSD and Solaris implementations. * Remove explicit support for Linux 2.4.
Update libstatgrab to 0.16.
Pkgsrc changes:
* try to fix build failure on recent NetBSD, reported in PR 41178.
* set LICENSE=gnu-gpl-v2
* marked as DESTDIR ready
libstatgrab NEWS:
libstatgrab 0.16 (13 March 2008)
* Fix saidar build on Solaris with Sun's compiler.
* Add support for FreeBSD 8.0.
* Fix build on "armel" Debian port.
(Thanks to Riku Voipio and Martin Guy)
* Fix statgrab-make-mrtg-config on machines with no swap.
(Thanks to Tom Carlson)
libstatgrab 0.15 (14 July 2007)
* Fix breakages in memory stats on OpenBSD that were introduced in
the last release.
(Thanks to David Love)
* Update internal string functions and some related cleanups.
(Thanks to David Love)
* Fix compile warning on FreeBSD.
libstatgrab 0.14 (08 January 2007)
* Fix memory stats on OpenBSD.
* Add colour support to saidar.
(Thanks to Angelina Carlton)
* Fix CPU stats on Solaris - swap and iowait were incorrectly reported.
* Fix kstat related memory leaks on Solaris.
(Thanks to Javier Donaire)
* Fix network stats on some unusual Solaris setups.
* Fix process time_spent on Linux.
(Thanks to Fred Barnes)
* Make interface up status check the link status as well.
(Thanks to Michelangelo Vassallo)
* Fix build on NetBSD 3.
(Thanks to Wijnand Wiersma)
* Rework curses detection code in the configure script.
* Fix bug that caused saidar to crash when the window was rapidly resized.
libstatgrab 0.13 (19 March 2006)
* Fix build problems with recent linux kernels.
* Make saidar truncate disk/inteface/mount names to fit in display.
* Add WIN32 support using MINGW (not widely tested).
* Fix network interface up/down status on Solaris.
* Add extern "C" to header file to make linking with C++ code easier.
* Fix statgrab to cope with filesystem paths containing dots.
* Make NFS a legal filesystem type on all platforms.
* A few minor build fixes.
+ Convert to use the options framework instead of using WITHOUT_SAIDAR and WITHOUT_STATGRAB. + Convert to use PLIST_VARS instead of manually passing "@comment " to the plist module. Bump the PKGREVISION to 3 for the options changes.
Bump PKGREVISION. Add missing man page entries to PLIST. (Note: these man pages are installed even if WITHOUT_STATGRAB or WITHOUT_SAIDAR options are used to not install the corresponding executables.)
Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST. All library names listed by *.la files no longer need to be listed in the PLIST, e.g., instead of: lib/libfoo.a lib/libfoo.la lib/libfoo.so lib/libfoo.so.0 lib/libfoo.so.0.1 one simply needs: lib/libfoo.la and bsd.pkg.mk will automatically ensure that the additional library names are listed in the installed package +CONTENTS file. Also make LIBTOOLIZE_PLIST default to "yes".
Update to 0.10.3, provided by the maintainer Tim Bishop in PR 26764: libstatgrab 0.10.3 (24 August 2004) * Add -f flag to statgrab to display floating-point numbers multiplied by an integer. * Add -K, -M and -G flags to statgrab to show byte counts in kibibytes, mebibytes or gibibytes. * Make statgrab-make-mrtg-config use the new flags to scale extremely large or small numbers so that mrtg can handle them. * Make statgrab-make-mrtg-config automatically detect network interface speeds. * Add support for FreeBSD 6.0-CURRENT. libstatgrab 0.10.2 (27 July 2004) * Fix shared library version that when backwards in 0.10.1. libstatgrab 0.10.1 (26 July 2004) * Use DESTDIR correctly when setting permissions at install time. * Fix disk stats to work with OpenBSD 3.5. * Fix disk stats on NetBSD 2.0 (statvfs instead of statfs). * Fix memory leak in process stats on NetBSD 2.0. * Add vxfs (Veritas filesystem) to list of known filesystems on Solaris. * Add more variables to the pkg-config file to suggest suitable ownership and permissions for binaries using libstatgrab. * Make sure statgrab.h can safely be included twice. * Fix statgrab to display network interface names even if they don't have IO stats (like the loopback interface on Solaris). * Add error reporting function that grabs errno.
Initial import of libstatgrab-0.10 from pkgsrc-wip, packaged by the author Tim Bishop. The libstatgrab library provides an easy to use interface for accessing system statistics and information. Available statistics include CPU, Load, Memory, Swap, Disk I/O, and Network I/O. Also part of the package are two tools; saidar provides a curses-based interface to viewing live system statistics, and statgrab is a sysctl-like interface to the statistics.
Initial revision