NetBSD Problem Report #26764
Received: (qmail 29033 invoked by uid 605); 25 Aug 2004 20:37:20 -0000
Message-Id: <20040825203717.81B7B11152@narn.netbsd.org>
Date: Wed, 25 Aug 2004 20:37:17 +0000 (UTC)
From: tim@bishnet.net
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: tim@bishnet.net
To: gnats-bugs@gnats.NetBSD.org
Subject: Update devel/libstatgrab to 0.10.3
X-Send-Pr-Version: www-1.0
>Number: 26764
>Category: pkg
>Synopsis: Update devel/libstatgrab to 0.10.3
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Aug 25 20:38:00 +0000 2004
>Closed-Date: Wed Aug 25 23:25:19 +0000 2004
>Last-Modified: Wed Aug 25 23:26:01 +0000 2004
>Originator: Tim Bishop
>Release: NetBSD 2.0F
>Organization:
>Environment:
NetBSD bsdtest.ukc.ac.uk 2.0F NetBSD 2.0F (GENERIC) #0: Mon Jun 21 01:25:10 CEST 2004 tron@lyssa.zhadum.de:/export/scratch/tron/build.17906a/obj/sys/arch/i386/compile/GENERIC i386
>Description:
Update devel/libstatgrab pkg to 0.10.3.
>How-To-Repeat:
>Fix:
Apply patch given below:
(remove file patch-ab)
diff -ruN libstatgrab.bak/Makefile libstatgrab/Makefile
--- libstatgrab.bak/Makefile 2004-08-25 15:35:38.000000000 +0100
+++ libstatgrab/Makefile 2004-08-25 15:37:42.000000000 +0100
@@ -1,11 +1,13 @@
# $NetBSD$
-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 -ruN libstatgrab.bak/PLIST libstatgrab/PLIST
--- libstatgrab.bak/PLIST 2004-08-25 15:35:39.000000000 +0100
+++ libstatgrab/PLIST 2004-08-25 15:38:00.000000000 +0100
@@ -8,8 +8,8 @@
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 -ruN libstatgrab.bak/buildlink3.mk libstatgrab/buildlink3.mk
--- libstatgrab.bak/buildlink3.mk 2004-08-25 15:35:38.000000000 +0100
+++ libstatgrab/buildlink3.mk 2004-08-25 15:38:35.000000000 +0100
@@ -11,7 +11,7 @@
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 -ruN libstatgrab.bak/distinfo libstatgrab/distinfo
--- libstatgrab.bak/distinfo 2004-08-25 15:35:38.000000000 +0100
+++ libstatgrab/distinfo 2004-08-25 15:39:14.000000000 +0100
@@ -1,6 +1,5 @@
$NetBSD$
-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 -ruN libstatgrab.bak/patches/patch-ab libstatgrab/patches/patch-ab
--- libstatgrab.bak/patches/patch-ab 2004-08-25 15:35:31.000000000 +0100
+++ libstatgrab/patches/patch-ab 1970-01-01 01:00:00.000000000 +0100
@@ -1,17 +0,0 @@
-$NetBSD$
-
---- 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);
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: wiz
State-Changed-When: Wed Aug 25 23:24:21 UTC 2004
State-Changed-Why:
Committed the update, thanks.
However, I had trouble applying the diff since the tabs had been
replaced by spaces somewhere.
Please try to avoid this in the future -- thanks :)
From: Thomas Klausner <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: pr/26764 CVS commit: pkgsrc/devel/libstatgrab
Date: Wed, 25 Aug 2004 23:24:12 +0000 (UTC)
Module Name: pkgsrc
Committed By: wiz
Date: Wed Aug 25 23:24:12 UTC 2004
Modified Files:
pkgsrc/devel/libstatgrab: Makefile PLIST buildlink3.mk distinfo
Removed Files:
pkgsrc/devel/libstatgrab/patches: patch-ab
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/devel/libstatgrab/Makefile \
pkgsrc/devel/libstatgrab/PLIST pkgsrc/devel/libstatgrab/buildlink3.mk \
pkgsrc/devel/libstatgrab/distinfo
cvs rdiff -r1.1.1.1 -r0 pkgsrc/devel/libstatgrab/patches/patch-ab
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.