head 1.8; access; symbols pkgsrc-2026Q1:1.8.0.138 pkgsrc-2026Q1-base:1.8 pkgsrc-2025Q4:1.8.0.136 pkgsrc-2025Q4-base:1.8 pkgsrc-2025Q3:1.8.0.134 pkgsrc-2025Q3-base:1.8 pkgsrc-2025Q2:1.8.0.132 pkgsrc-2025Q2-base:1.8 pkgsrc-2025Q1:1.8.0.130 pkgsrc-2025Q1-base:1.8 pkgsrc-2024Q4:1.8.0.128 pkgsrc-2024Q4-base:1.8 pkgsrc-2024Q3:1.8.0.126 pkgsrc-2024Q3-base:1.8 pkgsrc-2024Q2:1.8.0.124 pkgsrc-2024Q2-base:1.8 pkgsrc-2024Q1:1.8.0.122 pkgsrc-2024Q1-base:1.8 pkgsrc-2023Q4:1.8.0.120 pkgsrc-2023Q4-base:1.8 pkgsrc-2023Q3:1.8.0.118 pkgsrc-2023Q3-base:1.8 pkgsrc-2023Q2:1.8.0.116 pkgsrc-2023Q2-base:1.8 pkgsrc-2023Q1:1.8.0.114 pkgsrc-2023Q1-base:1.8 pkgsrc-2022Q4:1.8.0.112 pkgsrc-2022Q4-base:1.8 pkgsrc-2022Q3:1.8.0.110 pkgsrc-2022Q3-base:1.8 pkgsrc-2022Q2:1.8.0.108 pkgsrc-2022Q2-base:1.8 pkgsrc-2022Q1:1.8.0.106 pkgsrc-2022Q1-base:1.8 pkgsrc-2021Q4:1.8.0.104 pkgsrc-2021Q4-base:1.8 pkgsrc-2021Q3:1.8.0.102 pkgsrc-2021Q3-base:1.8 pkgsrc-2021Q2:1.8.0.100 pkgsrc-2021Q2-base:1.8 pkgsrc-2021Q1:1.8.0.98 pkgsrc-2021Q1-base:1.8 pkgsrc-2020Q4:1.8.0.96 pkgsrc-2020Q4-base:1.8 pkgsrc-2020Q3:1.8.0.94 pkgsrc-2020Q3-base:1.8 pkgsrc-2020Q2:1.8.0.90 pkgsrc-2020Q2-base:1.8 pkgsrc-2020Q1:1.8.0.70 pkgsrc-2020Q1-base:1.8 pkgsrc-2019Q4:1.8.0.92 pkgsrc-2019Q4-base:1.8 pkgsrc-2019Q3:1.8.0.88 pkgsrc-2019Q3-base:1.8 pkgsrc-2019Q2:1.8.0.86 pkgsrc-2019Q2-base:1.8 pkgsrc-2019Q1:1.8.0.84 pkgsrc-2019Q1-base:1.8 pkgsrc-2018Q4:1.8.0.82 pkgsrc-2018Q4-base:1.8 pkgsrc-2018Q3:1.8.0.80 pkgsrc-2018Q3-base:1.8 pkgsrc-2018Q2:1.8.0.78 pkgsrc-2018Q2-base:1.8 pkgsrc-2018Q1:1.8.0.76 pkgsrc-2018Q1-base:1.8 pkgsrc-2017Q4:1.8.0.74 pkgsrc-2017Q4-base:1.8 pkgsrc-2017Q3:1.8.0.72 pkgsrc-2017Q3-base:1.8 pkgsrc-2017Q2:1.8.0.68 pkgsrc-2017Q2-base:1.8 pkgsrc-2017Q1:1.8.0.66 pkgsrc-2017Q1-base:1.8 pkgsrc-2016Q4:1.8.0.64 pkgsrc-2016Q4-base:1.8 pkgsrc-2016Q3:1.8.0.62 pkgsrc-2016Q3-base:1.8 pkgsrc-2016Q2:1.8.0.60 pkgsrc-2016Q2-base:1.8 pkgsrc-2016Q1:1.8.0.58 pkgsrc-2016Q1-base:1.8 pkgsrc-2015Q4:1.8.0.56 pkgsrc-2015Q4-base:1.8 pkgsrc-2015Q3:1.8.0.54 pkgsrc-2015Q3-base:1.8 pkgsrc-2015Q2:1.8.0.52 pkgsrc-2015Q2-base:1.8 pkgsrc-2015Q1:1.8.0.50 pkgsrc-2015Q1-base:1.8 pkgsrc-2014Q4:1.8.0.48 pkgsrc-2014Q4-base:1.8 pkgsrc-2014Q3:1.8.0.46 pkgsrc-2014Q3-base:1.8 pkgsrc-2014Q2:1.8.0.44 pkgsrc-2014Q2-base:1.8 pkgsrc-2014Q1:1.8.0.42 pkgsrc-2014Q1-base:1.8 pkgsrc-2013Q4:1.8.0.40 pkgsrc-2013Q4-base:1.8 pkgsrc-2013Q3:1.8.0.38 pkgsrc-2013Q3-base:1.8 pkgsrc-2013Q2:1.8.0.36 pkgsrc-2013Q2-base:1.8 pkgsrc-2013Q1:1.8.0.34 pkgsrc-2013Q1-base:1.8 pkgsrc-2012Q4:1.8.0.32 pkgsrc-2012Q4-base:1.8 pkgsrc-2012Q3:1.8.0.30 pkgsrc-2012Q3-base:1.8 pkgsrc-2012Q2:1.8.0.28 pkgsrc-2012Q2-base:1.8 pkgsrc-2012Q1:1.8.0.26 pkgsrc-2012Q1-base:1.8 pkgsrc-2011Q4:1.8.0.24 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q3:1.8.0.22 pkgsrc-2011Q3-base:1.8 pkgsrc-2011Q2:1.8.0.20 pkgsrc-2011Q2-base:1.8 pkgsrc-2011Q1:1.8.0.18 pkgsrc-2011Q1-base:1.8 pkgsrc-2010Q4:1.8.0.16 pkgsrc-2010Q4-base:1.8 pkgsrc-2010Q3:1.8.0.14 pkgsrc-2010Q3-base:1.8 pkgsrc-2010Q2:1.8.0.12 pkgsrc-2010Q2-base:1.8 pkgsrc-2010Q1:1.8.0.10 pkgsrc-2010Q1-base:1.8 pkgsrc-2009Q4:1.8.0.8 pkgsrc-2009Q4-base:1.8 pkgsrc-2009Q3:1.8.0.6 pkgsrc-2009Q3-base:1.8 pkgsrc-2009Q2:1.8.0.4 pkgsrc-2009Q2-base:1.8 pkgsrc-2009Q1:1.8.0.2 pkgsrc-2009Q1-base:1.8 pkgsrc-2008Q4:1.7.0.2 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.6.0.10 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.8 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.6 pkgsrc-2008Q2-base:1.6 pkgsrc-2008Q1:1.6.0.4 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.2 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.5.0.2 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.4.0.18 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.16 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.14 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.12 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.10 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.8 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.6 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.4 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.2 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.3.0.8 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.6 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.4 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.2 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 buildlink2-base:1.2 pkgsrc-base:1.1.1.2 TNF:1.1.1; locks; strict; comment @# @; 1.8 date 2009.01.13.13.53.13; author wiz; state Exp; branches; next 1.7; 1.7 date 2008.11.15.19.34.11; author wiz; state Exp; branches; next 1.6; 1.6 date 2007.11.05.19.06.03; author drochner; state dead; branches; next 1.5; 1.5 date 2007.09.20.21.12.06; author wiz; state Exp; branches; next 1.4; 1.4 date 2005.05.18.22.02.21; author wiz; state dead; branches; next 1.3; 1.3 date 2004.04.02.12.13.57; author jmmv; state Exp; branches; next 1.2; 1.2 date 98.11.01.23.24.18; author tron; state dead; 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 1.1.1.2; 1.1.1.2 date 2004.04.02.12.10.12; author jmmv; state Exp; branches; next ; desc @@ 1.8 log @Update to 2.24.3: 12 January 2009: Overview of changes in 2.24.3 ============================================== * linux: - fixed potential memory leak. Vincent Untz. - fixed read(2) usage. Should fix the missing cpus bug in system-monitor. * darwin: - fixed build. "paul". @ text @$NetBSD: patch-aa,v 1.7 2008/11/15 19:34:11 wiz Exp $ --- sysdeps/bsd/Makefile.in.orig 2009-01-12 22:07:39.000000000 +0100 +++ sysdeps/bsd/Makefile.in @@@@ -59,7 +59,8 @@@@ am_libgtop_sysdeps_suid_2_0_la_OBJECTS = msg_limits.lo sem_limits.lo proclist.lo procstate.lo \ procuid.lo proctime.lo procmem.lo procsignal.lo prockernel.lo \ procsegment.lo procargs.lo procmap.lo netlist.lo netload.lo \ - ppp.lo procopenfiles.lo fsusage.lo + ppp.lo procopenfiles.lo fsusage.lo \ + procaffinity.lo libgtop_sysdeps_suid_2_0_la_OBJECTS = \ $(am_libgtop_sysdeps_suid_2_0_la_OBJECTS) libgtop_sysdeps_suid_2_0_la_LINK = $(LIBTOOL) --tag=CC \ @@@@ -298,7 +299,8 @@@@ libgtop_sysdeps_suid_2_0_la_SOURCES = op sem_limits.c proclist.c procstate.c procuid.c \ proctime.c procmem.c procsignal.c prockernel.c \ procsegment.c procargs.c procmap.c netlist.c \ - netload.c ppp.c procopenfiles.c fsusage.c + netload.c ppp.c procopenfiles.c fsusage.c \ + procaffinity.c libgtop_sysdeps_suid_2_0_la_LDFLAGS = $(LT_VERSION_INFO) libgtopinclude_HEADERS = glibtop_server.h glibtop_machine.h \ @@@@ -370,6 +372,7 @@@@ distclean-compile: @@AMDEP_TRUE@@@@am__include@@ @@am__quote@@./$(DEPDIR)/open.Plo@@am__quote@@ @@AMDEP_TRUE@@@@am__include@@ @@am__quote@@./$(DEPDIR)/ppp.Plo@@am__quote@@ @@AMDEP_TRUE@@@@am__include@@ @@am__quote@@./$(DEPDIR)/procargs.Plo@@am__quote@@ +@@AMDEP_TRUE@@@@am__include@@ @@am__quote@@./$(DEPDIR)/procaffinity.Plo@@am__quote@@ @@AMDEP_TRUE@@@@am__include@@ @@am__quote@@./$(DEPDIR)/prockernel.Plo@@am__quote@@ @@AMDEP_TRUE@@@@am__include@@ @@am__quote@@./$(DEPDIR)/proclist.Plo@@am__quote@@ @@AMDEP_TRUE@@@@am__include@@ @@am__quote@@./$(DEPDIR)/procmap.Plo@@am__quote@@ @ 1.7 log @Update to 2.24.0. New cpu affinity code (see changes for 2.23.2 below) is ifdef'd out. 22 Septembre 2008: Overview of changes in 2.24.0 ================================================ * Translation updates. 18 August 2008: Overview of changes in 2.23.90 ============================================== * freebsd: - updated port by Joe Marcus Clarke. 23 June 2008: Overview of changes in 2.23.4 =========================================== * linux: - Fixed and improved glibtop_get_fsusage with kernel >= 2.6.25. Closes #539360. 24 May 2008: Overview of changes in 2.23.2 ========================================== * glibtop_get_proc_open_files API can also lists IPv6 TCP sockets. * glibtop_get_proc_affinity : new API to retrieve process CPU affinity. (Let's hope one day i'll find the gtk-doc documentation ...) * linux: - fixed parsing of big /proc/stat for uptime. 04 April 2008: Overview of changes in 2.22.1 ============================================ * Fixed compilation/dist for !linux. Closes #525953. 10 Mars 2008: Overview of changes in 2.22.0 =========================================== * linux: - fixed proc_kernel. 25 February 2008: Overview of changes in 2.21.92 ================================================ * linux: - fixed smaps parsing on >= 2.6.24.x. 14 January 2008: Overview of changes in 2.21.5 ============================================== * freebsd: - fixed build on GNU/kfreebsd. Petr Salinger. - fixed procmem units. Kuang-che Wu. 28 October 2007: Overview of changes in 2.21.1 ============================================== * don't export _p/_s private symbols anymore. This is not an API/ABI breakage. * darwin implementation by Benjamin Reed. * linux: - splitted fsusage and mountlist implementations; - smarter mountlist(allfs = False); - fixed some compile warning on 64bit; * solaris: - fixed netload build by Henry Zhang. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- sysdeps/bsd/Makefile.in.orig 2008-11-15 14:27:48.000000000 +0000 d5 1 a5 1 @@@@ -60,7 +60,8 @@@@ am_libgtop_sysdeps_suid_2_0_la_OBJECTS = d14 2 a15 2 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) @@@@ -308,7 +309,8 @@@@ libgtop_sysdeps_suid_2_0_la_SOURCES = op d25 1 a25 1 @@@@ -380,6 +382,7 @@@@ distclean-compile: @ 1.6 log @update to 2.20.0 This switches to the new gnome-2.20 branch. pkgsrc notes: -System dependant parts were reorganized upstream, in particular there if a subtree for FreeBSD now, and one for the other BSDs. I didn't pull in the DragonFly patches because I can't decide whether to base them on the freebsd or the rest. -I've changed the NetBSD code to use kinfo_proc2 almost completely. Some vm statistics reporting might be less accurate now because some fields in proc2 seem to be unmaintained by the current kernel (eg ixrss). -Also, some libgtop functions might be able to run in the non-privileged part now, but dealing with this would require even more #ifdefs, so we should consider setting up a private subtree as FreeBSD did. -I didn't verify with older NetBSDs; kvm_getproc2() has been in the tree for quite some time so I hope it will just work without the need for excessive "#if __NetBSD_Version__ > t". @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.5 2007/09/20 21:12:06 wiz Exp $ d3 30 a32 239 --- configure.orig 2006-07-27 18:43:37.000000000 +0000 +++ configure @@@@ -20112,17 +20112,17 @@@@ echo $ECHO_N "checking for libgtop sysde libgtop_have_sysinfo=yes libgtop_need_server=no ;; - freebsd*|netbsd*|openbsd*|bsdi*) + freebsd*|netbsd*|openbsd*|bsdi*|dragonfly*) libgtop_sysdeps_dir=freebsd libgtop_use_machine_h=yes libgtop_need_server=yes - libgtop_postinstall='chgrp kmem $(bindir)/libgtop_server && chmod 2755 $(bindir)/libgtop_server' + libgtop_postinstall='chgrp kmem $(bindir)/libgtop_server2 && chmod 2755 $(bindir)/libgtop_server' ;; solaris*) libgtop_sysdeps_dir=solaris libgtop_use_machine_h=yes libgtop_need_server=yes - libgtop_postinstall='chgrp sys $(bindir)/libgtop_server && chmod 2755 $(bindir)/libgtop_server' + libgtop_postinstall='chgrp sys $(bindir)/libgtop_server2 && chmod 2755 $(bindir)/libgtop_server' ;; aix*) libgtop_sysdeps_dir=aix @@@@ -20170,7 +20170,7 @@@@ echo "${ECHO_T}$libgtop_sysdeps_dir" >&6 case "$host_os" in - *bsd*) + *bsd* | *dragonfly*) echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then @@@@ -20413,7 +20413,9 @@@@ cat >>conftest.$ac_ext <<_ACEOF #include #include -#if defined(__FreeBSD__) || defined(__NetBSD__) +#if defined(__DragonFly__) +#include +#elif defined(__FreeBSD__) || defined(__NetBSD__) #include #else #include @@@@ -20488,7 +20490,9 @@@@ cat >>conftest.$ac_ext <<_ACEOF #include #include -#if defined(__FreeBSD__) || defined(__NetBSD__) +#if defined(__DragonFly__) +#include +#elif defined(__FreeBSD__) || defined(__NetBSD__) #include #else #include @@@@ -20561,9 +20565,10 @@@@ echo $ECHO_N "checking what we need to d echo $ECHO_N "(cached) $ECHO_C" >&6 else msginfo_needs= - for def in nothing KERNEL _KERNEL; do + for def in nothing KERNEL _KERNEL_STRUCTURES _KERNEL; do cat >conftest.$ac_ext <<_ACEOF #define $def +#include #include #include #include @@@@ -23925,6 +23930,146 @@@@ fi esac +echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5 +echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6 +if test "${ac_cv_lib_mach_kvm_open+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lkvm $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char kvm_open (); +int +main () +{ +kvm_open (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_mach_kvm_open=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_mach_kvm_open=no +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_mach_kvm_open" >&5 +echo "${ECHO_T}$ac_cv_lib_mach_kvm_open" >&6 +if test $ac_cv_lib_mach_kvm_open = yes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBMACH 1 +_ACEOF + + KVM_LIBS="-lkvm $KVM_LIBS" + +fi + +echo "$as_me:$LINENO: checking for kinfo_get_sched_hz in -lkinfo" >&5 +echo $ECHO_N "checking for kinfo_get_sched_hz in -lkinfo... $ECHO_C" >&6 +if test "${ac_cv_lib_kinfo_kinfo_get_sched_gz+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lkinfo $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char kinfo_get_sched_hz (); +int +main () +{ +kinfo_get_sched_hz (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_kinfo_kinfo_get_sched_hz=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_kinfo_kinfo_get_sched_hz=no +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_kinfo_kinfo_get_sched_hz" >&5 +echo "${ECHO_T}$ac_cv_lib_kinfo_kinfo_get_sched_hz" >&6 +if test $ac_cv_lib_kinfo_kinfo_get_sched_hz = yes; then + + LIBS="-lkinfo $LIBS" # we need kvm as well +fi + echo "$as_me:$LINENO: checking for vm_statistics in -lmach" >&5 echo $ECHO_N "checking for vm_statistics in -lmach... $ECHO_C" >&6 if test "${ac_cv_lib_mach_vm_statistics+set}" = set; then @@@@ -29952,7 +30097,7 @@@@ if test x$cross_compiling = xyes ; then sunos*) fu_cv_sys_stat_statfs4=yes ;; - freebsd*) + freebsd* | dragonfly*) fu_cv_sys_stat_statfs2_bsize=yes ;; osf*) @@@@ -30603,7 +30748,7 @@@@ cat >>conftest.$ac_ext <<_ACEOF _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "f_type;" >/dev/null 2>&1; then + $EGREP "f_type;|struct statvfs" >/dev/null 2>&1; then ok=yes fi rm -f conftest* @@@@ -32141,6 +32290,7 @@@@ s,@@ECHO_C@@,$ECHO_C,;t t s,@@ECHO_N@@,$ECHO_N,;t t s,@@ECHO_T@@,$ECHO_T,;t t s,@@LIBS@@,$LIBS,;t t +s,@@KVM_LIBS@@,$KVM_LIBS,;t t s,@@build@@,$build,;t t s,@@build_cpu@@,$build_cpu,;t t s,@@build_vendor@@,$build_vendor,;t t @ 1.5 log @Rename libgtop2 to libgtop, to match upstream name. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.8 2006/09/01 06:54:29 joerg Exp $ @ 1.4 log @Remove gnome1 packages except as needed for gnucash. Ok'd by jmmv@@ and rh@@ (gnome 1 maintainers). @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 2004/04/02 12:13:57 jmmv Exp $ d3 24 a26 5 --- sysdeps/freebsd/glibtop_machine.h.orig Mon Nov 26 23:37:59 2001 +++ sysdeps/freebsd/glibtop_machine.h Sun Jan 19 23:18:04 2003 @@@@ -39,6 +39,14 @@@@ #include #endif d28 58 a85 2 +#ifdef __NetBSD__ +#include d87 3 a89 2 +#ifndef SRUN +#define SRUN SACTIVE d91 71 d163 49 d213 13 a225 1 BEGIN_LIBGTOP_DECLS d227 15 a241 1 typedef struct _glibtop_machine glibtop_machine; @ 1.3 log @Finish move of libgtop from devel to sysutils, incomplete due to conflicts... So I now see the package was previously here; the reason for the move is to lighten a bit the devel category, which has lots of packages. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.13 2003/01/21 10:12:31 tron Exp $ @ 1.2 log @Move "libgtop" package to "devel" category. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1 1998/10/07 13:11:35 agc Exp $ d3 15 a17 121 Make sure we always use our own (pkglibtool) version of libtool on NetBSD. Generalise the freebsd directory to be bsd. --- configure 1998/10/05 15:33:19 1.1 +++ configure 1998/10/05 15:34:46 @@@@ -1934,7 +1934,8 @@@@ -# Always use our own libtool. +# Always use our own libtool for NetBSD. +if false; then LIBTOOL='$(SHELL) $(top_builddir)/libtool' @@@@ -2014,6 +2015,7 @@@@ ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig \ $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \ || { echo "configure: error: libtool configure failed" 1>&2; exit 1; } +fi @@@@ -3263,7 +3265,12 @@@@ libgtop_need_server=yes ;; freebsd*) - libgtop_sysdeps_dir=freebsd + libgtop_sysdeps_dir=bsd + libgtop_use_machine_h=yes + libgtop_need_server=yes + ;; + netbsd*) + libgtop_sysdeps_dir=bsd libgtop_use_machine_h=yes libgtop_need_server=yes ;; @@@@ -3381,7 +3388,7 @@@@ saved_ldflags="$LDFLAGS" - saved_cppflags="$CPPFLAGS" + saved_cppflags="$CPPFLAGS -I$LOCALBASE/include" LDFLAGS="$LDFLAGS $GNOME_LIBDIR" echo $ac_n "checking for main in -lqthreads""... $ac_c" 1>&6 @@@@ -3847,7 +3854,7 @@@@ LDFLAGS="$saved_ldflags $GUILE_LIBS" - CPPFLAGS="$saved_cppflags $GUILE_INCS" + CPPFLAGS="$saved_cppflags $GUILE_INCS -I$LOCALBASE/include" echo $ac_n "checking whether guile works""... $ac_c" 1>&6 echo "configure:3854: checking whether guile works" >&5 @@@@ -3895,7 +3902,7 @@@@ fi LDFLAGS="$saved_ldflags" - CPPFLAGS="$saved_cppflags" + CPPFLAGS="$saved_cppflags -I$LOCALBASE/include" @@@@ -4073,6 +4080,7 @@@@ +if false; then # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' @@@@ -4153,6 +4161,7 @@@@ ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig \ $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \ || { echo "configure: error: libtool configure failed" 1>&2; exit 1; } +fi @@@@ -7722,6 +7731,9 @@@@ freebsd*) fu_cv_sys_stat_statfs2_bsize=yes ;; + netbsd*) + fu_cv_sys_stat_statfs2_bsize=yes + ;; osf*) fu_cv_sys_stat_statfs3_osf1=yes ;; @@@@ -8882,7 +8894,7 @@@@ sysdeps/osf1/Makefile sysdeps/linux/Makefile sysdeps/kernel/Makefile -sysdeps/freebsd/Makefile +sysdeps/bsd/Makefile src/Makefile src/daemon/Makefile src/inodedb/Makefile @@@@ -9107,7 +9119,7 @@@@ sysdeps/osf1/Makefile sysdeps/linux/Makefile sysdeps/kernel/Makefile -sysdeps/freebsd/Makefile +sysdeps/bsd/Makefile src/Makefile src/daemon/Makefile src/inodedb/Makefile @@@@ -9151,10 +9163,10 @@@@ top_srcdir="$ac_dots$ac_given_srcdir" ;; esac - case "$ac_given_INSTALL" in - [/$]*) INSTALL="$ac_given_INSTALL" ;; - *) INSTALL="$ac_dots$ac_given_INSTALL" ;; - esac +# case "$ac_given_INSTALL" in +# [/$]*) INSTALL="$ac_given_INSTALL" ;; +# *) INSTALL="$ac_dots$ac_given_INSTALL" ;; +# esac d19 1 a19 2 echo creating "$ac_file" rm -f "$ac_file" @ 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 @@ 1.1.1.2 log @Move libgtop to the sysutils category, coming from devel. This is version 1.0.13nb4. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.13 2003/01/21 10:12:31 tron Exp $ d3 121 a123 15 --- sysdeps/freebsd/glibtop_machine.h.orig Mon Nov 26 23:37:59 2001 +++ sysdeps/freebsd/glibtop_machine.h Sun Jan 19 23:18:04 2003 @@@@ -39,6 +39,14 @@@@ #include #endif +#ifdef __NetBSD__ +#include + +#ifndef SRUN +#define SRUN SACTIVE +#endif +#endif + BEGIN_LIBGTOP_DECLS d125 2 a126 1 typedef struct _glibtop_machine glibtop_machine; @