0a0c8a0983
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)
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.29 2015/08/20 17:13:47 wiz Exp $
|
|
|
|
DISTNAME= libstatgrab-0.91
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ftp://ftp.uk.i-scream.org/pub/i-scream/libstatgrab/ \
|
|
ftp://ftp.i-scream.org/pub/i-scream/libstatgrab/ \
|
|
http://ftp.i-scream.org/pub/i-scream/libstatgrab/ \
|
|
http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/ \
|
|
http://dl.ambiweb.de/mirrors/ftp.i-scream.org/libstatgrab/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.i-scream.org/libstatgrab/
|
|
COMMENT= Provides a useful interface to system statistics
|
|
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2
|
|
|
|
.include "options.mk"
|
|
|
|
USE_TOOLS+= pkg-config perl:run
|
|
USE_LANGUAGES= c c++
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
PKGCONFIG_OVERRIDE= libstatgrab.pc.in
|
|
|
|
REPLACE_PERL+= src/statgrab/statgrab-make-mrtg-config.in
|
|
REPLACE_PERL+= src/statgrab/statgrab-make-mrtg-index.in
|
|
|
|
CONFIGURE_ARGS+= --disable-examples
|
|
|
|
# Default test target for Perl modules
|
|
TEST_TARGET?= test
|
|
|
|
CHECK_BUILTIN.pthread:= yes
|
|
.include "../../mk/pthread.builtin.mk"
|
|
CHECK_BUILTIN.pthread:= no
|
|
|
|
.include "../../devel/log4cplus/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|