From 287672f90ce18de159d5f3f96c25084872d25a3e Mon Sep 17 00:00:00 2001 From: wiz Date: Wed, 25 Aug 2004 23:24:12 +0000 Subject: 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. --- devel/libstatgrab/Makefile | 12 +++++++----- devel/libstatgrab/PLIST | 6 +++--- devel/libstatgrab/buildlink3.mk | 4 ++-- devel/libstatgrab/distinfo | 7 +++---- devel/libstatgrab/patches/patch-ab | 17 ----------------- 5 files changed, 15 insertions(+), 31 deletions(-) delete mode 100644 devel/libstatgrab/patches/patch-ab (limited to 'devel') diff --git a/devel/libstatgrab/Makefile b/devel/libstatgrab/Makefile index 74c82ff34e5..7e00077be29 100644 --- a/devel/libstatgrab/Makefile +++ b/devel/libstatgrab/Makefile @@ -1,11 +1,13 @@ -# $NetBSD: Makefile,v 1.1.1.1 2004/05/20 20:48:57 xtraeme Exp $ +# $NetBSD: Makefile,v 1.2 2004/08/25 23:24:12 wiz Exp $ -DISTNAME= libstatgrab-0.10 +DISTNAME= libstatgrab-0.10.3 CATEGORIES= devel -MASTER_SITES= ftp://ftp.mirror.ac.uk/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/ \ - http://www.mirror.ac.uk/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/ \ +MASTER_SITES= ftp://ftp.uk.i-scream.org/pub/i-scream/libstatgrab/ \ + http://ftp.uk.i-scream.org/pub/i-scream/libstatgrab/ \ + ftp://ftp2.uk.i-scream.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/ \ + http://ftp2.uk.i-scream.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/ \ ftp://ftp.i-scream.org/pub/i-scream/libstatgrab/ \ - http://www.i-scream.org/pub/i-scream/libstatgrab/ + http://ftp.i-scream.org/pub/i-scream/libstatgrab/ MAINTAINER= tim@bishnet.net HOMEPAGE= http://www.i-scream.org/libstatgrab/ diff --git a/devel/libstatgrab/PLIST b/devel/libstatgrab/PLIST index 50c730f3691..4f2de3b7d96 100644 --- a/devel/libstatgrab/PLIST +++ b/devel/libstatgrab/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2004/05/20 20:48:58 xtraeme Exp $ +@comment $NetBSD: PLIST,v 1.2 2004/08/25 23:24:12 wiz Exp $ ${SAIDAR}bin/saidar ${STATGRAB}bin/statgrab ${STATGRAB}bin/statgrab-make-mrtg-config @@ -8,8 +8,8 @@ include/statgrab_deprecated.h lib/libstatgrab.a lib/libstatgrab.la lib/libstatgrab.so -lib/libstatgrab.so.5 -lib/libstatgrab.so.5.0 +lib/libstatgrab.so.6 +lib/libstatgrab.so.6.0 lib/pkgconfig/libstatgrab.pc man/man3/sg_get_cpu_percents.3 man/man3/sg_get_cpu_stats.3 diff --git a/devel/libstatgrab/buildlink3.mk b/devel/libstatgrab/buildlink3.mk index 3ab50bbc111..239b986bc2d 100644 --- a/devel/libstatgrab/buildlink3.mk +++ b/devel/libstatgrab/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/05/20 20:48:58 xtraeme Exp $ +# $NetBSD: buildlink3.mk,v 1.2 2004/08/25 23:24:12 wiz Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ LIBSTATGRAB_BUILDLINK3_MK:= ${LIBSTATGRAB_BUILDLINK3_MK}+ @@ -11,7 +11,7 @@ BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibstatgrab} BUILDLINK_PACKAGES+= libstatgrab .if !empty(LIBSTATGRAB_BUILDLINK3_MK:M+) -BUILDLINK_DEPENDS.libstatgrab+= libstatgrab>=0.9 +BUILDLINK_DEPENDS.libstatgrab+= libstatgrab>=0.10 BUILDLINK_PKGSRCDIR.libstatgrab?= ../../wip/libstatgrab .endif # LIBSTATGRAB_BUILDLINK3_MK diff --git a/devel/libstatgrab/distinfo b/devel/libstatgrab/distinfo index e2cdabe14f9..5e71d2a09d6 100644 --- a/devel/libstatgrab/distinfo +++ b/devel/libstatgrab/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.1.1.1 2004/05/20 20:48:58 xtraeme Exp $ +$NetBSD: distinfo,v 1.2 2004/08/25 23:24:12 wiz Exp $ -SHA1 (libstatgrab-0.10.tar.gz) = 90ed5616776dc3043646dff55c29486bb99f7a0a -Size (libstatgrab-0.10.tar.gz) = 406060 bytes +SHA1 (libstatgrab-0.10.3.tar.gz) = e7b24edebe9b55f77d5024ff750755e574e77f09 +Size (libstatgrab-0.10.3.tar.gz) = 412334 bytes SHA1 (patch-aa) = 96a0468807a4437b30f07a1e6b106459e556ce64 -SHA1 (patch-ab) = 5d0edb931d3c14dcd2560c0a777295fc523e9052 diff --git a/devel/libstatgrab/patches/patch-ab b/devel/libstatgrab/patches/patch-ab deleted file mode 100644 index 8b952dc7323..00000000000 --- a/devel/libstatgrab/patches/patch-ab +++ /dev/null @@ -1,17 +0,0 @@ -$NetBSD: patch-ab,v 1.1.1.1 2004/05/20 20:48:58 xtraeme Exp $ - ---- src/libstatgrab/disk_stats.c.bak 2004-05-20 21:17:27.000000000 +0100 -+++ src/libstatgrab/disk_stats.c 2004-05-20 21:17:34.000000000 +0100 -@@ -122,8 +122,12 @@ - #endif - #ifdef ALLBSD - int nummnt; -+#if defined(__NetBSD__) && (__NetBSD_Version__ > 200030000) -+ struct statvfs *mp; -+#else - struct statfs *mp; - #endif -+#endif - - #ifdef ALLBSD - nummnt=getmntinfo(&mp , MNT_LOCAL); -- cgit v1.2.3