head 1.9; access; symbols pkgsrc-2013Q2:1.9.0.50 pkgsrc-2013Q2-base:1.9 pkgsrc-2012Q4:1.9.0.48 pkgsrc-2012Q4-base:1.9 pkgsrc-2011Q4:1.9.0.46 pkgsrc-2011Q4-base:1.9 pkgsrc-2011Q2:1.9.0.44 pkgsrc-2011Q2-base:1.9 TNF:1.1.1 pkgsrc-2009Q4:1.9.0.42 pkgsrc-2009Q4-base:1.9 pkgsrc-2008Q4:1.9.0.40 pkgsrc-2008Q4-base:1.9 pkgsrc-2008Q3:1.9.0.38 pkgsrc-2008Q3-base:1.9 cube-native-xorg:1.9.0.36 cube-native-xorg-base:1.9 pkgsrc-2008Q2:1.9.0.34 pkgsrc-2008Q2-base:1.9 pkgsrc-2008Q1:1.9.0.32 pkgsrc-2008Q1-base:1.9 pkgsrc-2007Q4:1.9.0.30 pkgsrc-2007Q4-base:1.9 pkgsrc-2007Q3:1.9.0.28 pkgsrc-2007Q3-base:1.9 pkgsrc-2007Q2:1.9.0.26 pkgsrc-2007Q2-base:1.9 pkgsrc-2007Q1:1.9.0.24 pkgsrc-2007Q1-base:1.9 pkgsrc-2006Q4:1.9.0.22 pkgsrc-2006Q4-base:1.9 pkgsrc-2006Q3:1.9.0.20 pkgsrc-2006Q3-base:1.9 pkgsrc-2006Q2:1.9.0.18 pkgsrc-2006Q2-base:1.9 pkgsrc-2006Q1:1.9.0.16 pkgsrc-2006Q1-base:1.9 pkgsrc-2005Q4:1.9.0.14 pkgsrc-2005Q4-base:1.9 pkgsrc-2005Q3:1.9.0.12 pkgsrc-2005Q3-base:1.9 pkgsrc-2005Q2:1.9.0.10 pkgsrc-2005Q2-base:1.9 pkgsrc-2005Q1:1.9.0.8 pkgsrc-2005Q1-base:1.9 pkgsrc-2004Q4:1.9.0.6 pkgsrc-2004Q4-base:1.9 pkgsrc-2004Q3:1.9.0.4 pkgsrc-2004Q3-base:1.9 pkgsrc-2004Q2:1.9.0.2 pkgsrc-2004Q2-base:1.9 pkgsrc-2004Q1:1.8.0.6 pkgsrc-2004Q1-base:1.8 pkgsrc-2003Q4:1.8.0.4 pkgsrc-2003Q4-base:1.8 netbsd-1-6-1:1.8.0.2 netbsd-1-6-1-base:1.8 netbsd-1-6:1.6.0.8 netbsd-1-6-RELEASE-base:1.6 pkgviews:1.6.0.4 pkgviews-base:1.6 buildlink2:1.6.0.2 buildlink2-base:1.6 netbsd-1-5-PATCH003:1.6 netbsd-1-4-PATCH002:1.4; locks; strict; comment @# @; 1.9 date 2004.04.02.12.20.24; author jmmv; state dead; branches; next 1.8; 1.8 date 2003.01.21.10.12.31; author tron; state Exp; branches; next 1.7; 1.7 date 2002.11.04.00.48.34; author rh; state dead; branches; next 1.6; 1.6 date 2001.11.27.21.03.08; author tron; state Exp; branches; next 1.5; 1.5 date 2000.05.02.00.27.31; author fredb; state dead; branches; next 1.4; 1.4 date 99.11.02.23.16.22; author tron; state Exp; branches; next 1.3; 1.3 date 99.01.02.19.50.18; author tron; state dead; branches; next 1.2; 1.2 date 98.11.01.23.22.19; author tron; state Exp; branches; next 1.1; 1.1 date 98.10.07.13.11.35; author agc; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 98.10.07.13.11.35; author agc; state Exp; branches; next ; desc @@ 1.9 log @Finish move of libgtop and libgtop2 to the sysutils category, which were living in devel. @ text @$NetBSD: patch-af,v 1.8 2003/01/21 10:12:31 tron Exp $ --- sysdeps/freebsd/procstate.c.orig Mon Nov 26 23:37:59 2001 +++ sysdeps/freebsd/procstate.c Sun Jan 19 23:21:15 2003 @@@@ -99,9 +99,11 @@@@ case SRUN: buf->state = GLIBTOP_PROCESS_RUNNING; break; +#ifdef SSLEEP case SSLEEP: buf->state = GLIBTOP_PROCESS_INTERRUPTIBLE; break; +#endif case SSTOP: buf->state = GLIBTOP_PROCESS_STOPPED; break; @@@@ -119,9 +121,11 @@@@ case SRUN: buf->state = 'R'; break; +#ifdef SSLEEP case SSLEEP: buf->state = 'S'; break; +#endif case SSTOP: buf->state = 'T'; break; @ 1.8 log @Make this build under NetBSD-current after the morge of "nathanw_sa". Unfortunately a bit of functionality is lost there but it should still work. Bump package revision to reflect the changes. @ text @d1 1 a1 1 $NetBSD$ @ 1.7 log @Update libgtop to 1.0.13. Changes include: - a security fix we already had in patch-af - some additional localisations - moved header files to allow co-existence with GNOME2 - some minor pkglint cleanups @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.6 2001/11/27 21:03:08 tron Exp $ d3 26 a28 20 --- src/daemon/gnuserv.c.orig Sun Nov 28 17:43:00 1999 +++ src/daemon/gnuserv.c Tue Nov 27 21:58:17 2001 @@@@ -93,7 +93,7 @@@@ vsnprintf (buffer, BUFSIZ-1, format, ap); va_end (ap); - syslog (priority, buffer); + syslog (priority, "%s", buffer); } void @@@@ -108,7 +108,7 @@@@ va_end (ap); snprintf (buffer2, BUFSIZ-1, "%s: %s", buffer, strerror (errno)); - syslog (priority, buffer2); + syslog (priority, "%s", buffer2); } /* @ 1.6 log @Fix remote format string vulnerability in "libgtop_daemon". Bump version number to 1.0.12nb1. @ text @d1 1 a1 1 $NetBSD$ @ 1.5 log @Update to libgtop-1.0.7. Incorporate fix submitted by R. C. Dowdeswell in PR pkg/8691, to make it build on m68k. Also, kvm_uread() -> kvm_read(). This may fix the other problems alluded to in the PR. LibGTop-1.0.7 is a bug fix release, no details available. LibGTop-1.06 incorporated some *BSD fixes (including some pkg patches), and updated the reference manual somewhat. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.4 1999/11/02 23:16:22 tron Exp $ d3 5 a7 5 --- sysdeps/freebsd/ppp.c.orig Thu May 27 16:04:00 1999 +++ sysdeps/freebsd/ppp.c Wed Nov 3 00:05:51 1999 @@@@ -82,7 +82,7 @@@@ #endif #endif /* HAVE_I4B */ d9 2 a10 3 - if (kvm_nlist (server->machine.kd, nlst) != 0) + if (kvm_nlist (server->machine.kd, nlst) < 0) glibtop_error_io_r (server, "kvm_nlist"); d13 10 @ 1.4 log @Check return values of kvm_nlist() properly so that "libgtop_server" will not abort without reason. @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @Update "libgtop" package to version 0.99.0. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.2 1998/11/01 23:22:19 tron Exp $ d3 5 a7 3 --- sysdeps/bsd/shm_limits.c 1998/10/06 17:04:40 1.1 +++ sysdeps/bsd/shm_limits.c 1998/10/06 17:08:48 @@@@ -27,7 +27,12 @@@@ d9 4 a12 1 /* #define KERNEL to get declaration of `struct shminfo'. */ a13 9 +/* Tut, tut, tut - what about those namespaces? */ +#ifdef __NetBSD__ +#define _KERNEL +#else #define KERNEL +#endif #include #include @ 1.2 log @Move "libgtop" package to "devel" category. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.1.1.1 1998/10/07 13:11:35 agc Exp $ @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @Initial import of libgtop-0.26 into the Packages Collection. This is part of the GNOME project, and is used to retrieve system information, such as CPU usage etc. This is not yet complete, but is functional to the point where the whole thing compiles and installs. Someone else can pick this up and run with it now. @ text @@