| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Code in sysdeps/freebsd contains a lot of HAVE_KINFO_GETFILE checks, but
the macro is always undefined because the configure script doesn't check
for it. To fix it, add required checks for kinfo_getfile function.
|
|
|
|
|
| |
Add suid infrastructure.
Demo proc_map.
|
|
|
|
|
|
|
|
| |
This makes what commit 598374b wanted to do really work. The 9-year-old
commit was intented to rename the option, but it modified the help string
without changing the first argument of AC_ARG_WITH.
https://bugzilla.gnome.org/show_bug.cgi?id=770165
|
|
|
|
|
|
|
|
|
|
|
| |
There was an ABI mismatch because HAVE_GLIBTOP_MACHINE was only
defined when compiling the library itself. The library code would then
use a larger struct glibtop (with a machine member) than the
application code.
Everyone defines a glibtop_machine but linux (though it as a
glibtop_machine.h) and cygwin (code unchanged for 5 years) so this
should not break anything.
|
|
|
|
| |
No code uses this switch.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
libgeom declares several symbols in GLib's namespace, including
g_close() and it therefore cannot be used from any program that also
uses GLib.
For now, disable the parts of the FreeBSD sysdep that use libgeom.
Hopefully the libgeom API will be changed soon.
https://bugzilla.gnome.org/show_bug.cgi?id=723685
|
| |
|
|
|
|
|
|
|
|
| |
Bring OpenBSD closer to FreeBSD to help checking what is missing/different.
Also we make sure to use and build mountlist and fsusage from the
sysdeps/openbsd directory instead of the common one.
https://bugzilla.gnome.org/show_bug.cgi?id=723521
|
| |
|
| |
|
|
|
|
| |
This reverts commit 4cffb2f094c7730ee10a835ecd142a7e143c536e.
|
| |
|
|
|
|
|
|
|
| |
The current version fails to build on GNU/kFreeBSD.
The problem is due to cleanup in GNU/kFreeBSD world
https://bugzilla.gnome.org/show_bug.cgi?id=601319
|
|
|
|
|
|
| |
Move OpenBSD code into its own sysdeps directory. The changes from
bsd/ were becoming to hard to maintain as a #ifdef tree. This is
what's currently being distributed as part of OpenBSD ports.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=621820
|
|
|
|
|
| |
Patch by Cygwin Ports maintainer <yselkowitz@users.sourceforge.net>.
See #578890.
|
|
|
|
|
|
|
|
| |
Fixed Darwin build.
Patch by "paul" <ephraim_owns@hotmail.com>.
See #556904.
svn path=/trunk/; revision=2802
|
|
|
|
|
|
|
| |
Patch by Joe Marcus Clarke <marcus@freebsd.org>.
Closes #548184.
svn path=/trunk/; revision=2767
|
|
|
|
| |
svn path=/trunk/; revision=2683
|
|
|
|
|
|
| |
Smarter ignore list based on /proc/filesystems.
svn path=/trunk/; revision=2678
|
|
|
|
|
|
|
|
|
|
| |
Added darwin port.
Patch by Benjamin Reed <ranger@befunk.com>.
Closes #481068.
Bumped version number to 2.21.1.
svn path=/trunk/; revision=2666
|
|
|
|
|
|
|
|
|
|
|
| |
2007-05-17 Benoît Dejean <benoit@placenet.org>
* libgtop-sysdeps.m4:
Enable example by default.
Renamed option to --with-examples.
svn path=/trunk/; revision=2594
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-02-18 Benoît Dejean <benoit@placenet.org>
* configure.in:
* libgtop-sysdeps.m4:
* sysdeps/Makefile.am:
Huge (k)FreeBSD update.
(k)FreeBSD support is freebsd/
Other BSD are in bsd/
Patch by Joe Marcus Clarke <marcus@freebsd.org>
Alexander Nedotsukov <bland@FreeBSD.org>
Closes #407693.
svn path=/trunk/; revision=2557
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-01-31 Benoît Dejean <benoit@placenet.org>
* fsusage.c: (_glibtop_freebsd_get_fsusage_read_write):
* netload.c: (glibtop_get_netload_p):
* prockernel.c: (glibtop_get_proc_kernel_p):
* procmap.c: (glibtop_get_proc_map_p):
* proctime.c:
* siglist.c:
* /libgtop-sysdeps.m4:
Various FreeBSD and kFreeBSD updates.
Patch by Roy Marples <uberlord@gentoo.org>.
Reviewed by Petr Salinger <Petr.Salinger@seznam.cz>.
Closes #387200.
svn path=/trunk/; revision=2550
|
|
|
|
|
|
|
|
|
|
| |
2006-12-19 Julio M. Merino Vidal <jmmv@NetBSD.org>
* configure.in:
* libgtop-sysdeps.m4:
Use the AS_HELP_STRING macro to format help messages.
Fixes bug #337068.
|
|
|
|
|
|
|
|
|
| |
2006-11-27 Benoît Dejean <benoit@placenet.org>
* libgtop-sysdeps.m4:
Added kfreebsd support.
Patch by Petr Salinger <Petr.Salinger@seznam.cz>.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-06-24 Benoît Dejean <benoit@placenet.org>
* libgtop-sysdeps.m4:
* sysdeps/solaris/glibtop_machine.h:
Updated the GLIBTOP_SOLARIS_RELEASE
Patch by hua.zhang@sun.com.
Closes #345821.
|
|
|
|
|
|
|
|
|
| |
2006-06-04 Benoît Dejean <benoit@placenet.org>
* libgtop-sysdeps.m4:
Removed undefined LIBGTOP_HACKER_TESTS.
Closes #342890.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-04-04 Julio M. Merino Vidal <jmmv@NetBSD.org>
* libgtop-sysdeps.m4:
* sysdeps/freebsd/msg_limits.c:
Use configure checks to detect whether we need to define either
KERNEL or _KERNEL to get the definition of 'struct msginfo' in a
BSD system. This replaces the previous checks in the code that
relied on __FreeBSD__ and similar macros.
Before this change, the explicit definition of _KERNEL in the
msg_limits.c file broke the build in NetBSD because it made the
system headers pull in stuff unavailable to userland.
Fixes bug #337207.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-04-04 Julio M. Merino Vidal <jmmv@NetBSD.org>
* libgtop-sysdeps.m4:
* sysdeps/freebsd/Makefile.am:
Check for the kvm library and use it to link the suid freebsd
sysdeps code (only if available). This library provides all the
kvm_* functions used in it and is needed, at least, under NetBSD.
Fixes bug #337247.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-12-12 James Henstridge <james@jamesh.id.au>
* doc/auto-macros.texi.in: remove unused file.
* doc/libgtop2.texi: don't include auto-macros.texi.
* doc/Makefile.am: don't build auto-macros.texi, since none of its
macros are used in the documentation any more.
* include/glibtop/global.h: don't include <config.h> from headers.
* .../*.c: make sure <config.h> is the first thing included.
* acinclude.m4: m4_include() libgtop-sysdeps.m4 rather than
inlining it.
* acinclude.m4, libgtop-sysdeps.m4: use third argument to
AC_DEFINE() to set the comment.
* configure.in: modernise a bit.
* acconfig.h: remove file, since it is deprecated
* autogen.sh: require automake 1.9 instead of 1.4.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* AUTHORS:
* MAINTAINERS: UTF-8-ified.
* acconfig.h:
* acinclude.m4:
* configure.in:
* kernel/ChangeLog:
* kernel/sysctl/.cvsignore:
* kernel/sysctl/Makefile:
* kernel/sysctl/libgtop.c:
* kernel/sysctl/libgtop.h:
* kernel/sysctl/libgtop_syms.c:
* kernel/sysctl/main.c:
* kernel/sysctl/patch-2.2.1:
* kernel/sysctl/patch-2.2.x:
* kernel/table.h:
* kernel/table20/Makefile:
* kernel/table20/README:
* kernel/table20/entry-i386.S:
* kernel/table20/kernel.patch:
* kernel/table20/main.c:
* kernel/table20/unistd-i386.h:
* kernel/table20/version.h:
* kernel/table21/.cvsignore:
* kernel/table21/Makefile:
* kernel/table21/README:
* kernel/table21/entry-i386.S:
* kernel/table21/main.c:
* kernel/table21/module.c:
* kernel/table21/unistd-i386.h:
* kernel/table21/version.h:
* kernel/version.h:
* libgtop-sysdeps.m4:
* sysdeps/Makefile.am:
* sysdeps/kernel/.cvsignore:
* sysdeps/kernel/ChangeLog:
* sysdeps/kernel/Makefile.am:
* sysdeps/kernel/close.c:
* sysdeps/kernel/cpu.c:
* sysdeps/kernel/glibtop_private.h:
* sysdeps/kernel/glibtop_server.h:
* sysdeps/kernel/kernel.h:
* sysdeps/kernel/kernel.s:
* sysdeps/kernel/loadavg.c:
* sysdeps/kernel/mem.c:
* sysdeps/kernel/msg_limits.c:
* sysdeps/kernel/netload.c:
* sysdeps/kernel/open.c:
* sysdeps/kernel/ppp.c:
* sysdeps/kernel/procargs.c:
* sysdeps/kernel/procdata.c:
* sysdeps/kernel/prockernel.c:
* sysdeps/kernel/proclist.c:
* sysdeps/kernel/procmap.c:
* sysdeps/kernel/procmem.c:
* sysdeps/kernel/procsegment.c:
* sysdeps/kernel/procsignal.c:
* sysdeps/kernel/procstate.c:
* sysdeps/kernel/proctime.c:
* sysdeps/kernel/procuid.c:
* sysdeps/kernel/sem_limits.c:
* sysdeps/kernel/shm_limits.c:
* sysdeps/kernel/siglist.c:
* sysdeps/kernel/swap.c:
* sysdeps/kernel/sysinfo.c:
* sysdeps/kernel/uptime.c: Removed kernel patch and implementation.
|
|
|
|
|
|
|
|
| |
2003-10-19 Carlos Perelló Marín <carlos@gnome.org>
* support/*: Reverted libgtop changes. It's a common module
and I should not modify it.
* Added/removed files. Now the move should be done.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-21 Martin Baulig <martin@home-of-linux.org>
* configure.in: Removed gnomesupport checks here and started
to use pkg-config.
* acinclude.m4: New file. Put contents of libgtop-sysdeps.m4
and xml.m4 and LIBGTOP_CHECK_TYPE here.
* libgtop-sysdeps.m4, xml.m4: Removed.
* Makefile.am (SUBDIRS): Don't compile support and macros.
|
|
|
|
|
|
|
| |
2000-02-27 Martin Baulig <martin@home-of-linux.org>
* libgtop-sysdeps.m4 (libgtop_have_sysdeps): Set this to "no" for
all systems until I made up my mind how this'll work in future.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-02-23 Martin Baulig <martin@home-of-linux.org>
Fix some True64 issues which were reported from Aron Griffis.
* libgtop-sysdeps.m4 (GNOME_LIBGTOP_TYPES_PRIVATE): Check for
<sys/bittype.h> and use AC_LIBGTOP_CHECK_TYPE, not AC_CHECK_TYPE.
* include/glibtop/global.h: #include <sys/bittypes.h>.
* ltmain.sh: Added this from libtool 1.3.4 (only used on Solaris).
|
|
|
|
|
|
|
| |
2000-02-22 Martin Baulig <martin@home-of-linux.org>
* acconfig.h (LIBGTOP_HAVE_SYSDEPS): Added.
(LIBGTOP_NEED_SERVER): Added.
|
|
|
|
|
|
|
|
|
|
| |
2000-02-22 Martin Baulig <martin@home-of-linux.org>
* ltconfig: Added this to CVS and hacked it to use `$CC -shared'
to create shared libraries on Solaris.
* automake.sh: Don't run libtoolize on Solaris but use the CVS
version instead.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-02-16 Martin Baulig <martin@home-of-linux.org>
* configure.in (LIBGTOP_LIBS): Add `-lgtop_backend_sysdeps' and
`-lgtop_backend_common' if dynamic linking does not work.
* libgtop-sysdeps.m4 (GNOME_LIBGTOP_DYNLINK): New macro to check
whether dynamic linking works.
(libgtop_use_gmodule): Set this to `yes' or `no' depending on
whether dynamic linking of the backends work on the current system.
(LIBGTOP_USE_GMODULE): New automake conditional.
* acconfig.h (LIBGTOP_USE_GMOUDLE): Define this when dynamic
linking of the backends work on the current system.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-02-06 Martin Baulig <martin@home-of-linux.org>
* include/glibtop/ppp.h (glibtop_get_ppp): Removed the `lockfile'
argument; we now use a configure check to determine the modem
lockfile.
* include/glibtop/error.h (GLIBTOP_ERROR_NEED_MODEM_LOCKFILE):
Removed this now obsolete error constant again.
* configure.in (--with-modem-lockfile): New configure parameter
to manually specify the modem lockfile.
(LIBGTOP_MODEM_LOCKFILE): Define this to be a printf-format string
for the modem lockfile; takes the interface number as argument.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-01-24 Martin Baulig <martin@home-of-linux.org>
* libgtop-sysdeps.m4 (GNOME_LIBGTOP_TYPES_PRIVATE): New macro.
This is the same than `GNOME_LIBGTOP_TYPES' but also checks for
`u_int8_t' and `int8_t' and it doesn't force people to put this
in their acconfig.h.
* configure.in: Use GNOME_LIBGTOP_TYPES_PRIVATE instead of
GNOME_LIBGTOP_TYPES.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-01-23 Martin Baulig <martin@home-of-linux.org>
* lib/sysdeps-init-kernel.c: Load the "glibtop-backend-kernel" before
"glibtop-backend-command" and "glibtop-backend-sysdeps".
* libgtop-sysdeps.m4: "kernel" is now a backend and no longer a
sysdeps port; we compile the normal "linux" sysdeps dir when we
have it.
* backends/Makefile.am: Only compile `server' and `sysdeps'
directories if appropriate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-01-12 Martin Baulig <martin@home-of-linux.org>
* lib/init.c (glibtop_init_s): Call `_glibtop_open_sysdeps'.
* include/glibtop/open.h (_glibtop_open_sysdeps): Declare this
when we are _IN_LIBGTOP.
* configure.in (sysdeps_name): Define and AC_SUBST this.
(sysdeps_init_file): Define and AC_SUBST this to
`sysdeps-init-${sysdeps_name}.c'.
* libgtop-sysdeps.m4 (GNOME_LIBGTOP_SYSDEPS): Define and AC_SUBST
`libgtop_sysdeps_name'.
|
|
|
|
|
|
|
|
|
|
|
| |
1999-12-26 Martin Baulig <martin@home-of-linux.org>
* libgtop-sysdeps.m4 (LIBGTOP_CHECK_SYSDEPS_DIR): New macro;
moved check for the sysdeps directory here.
(--with-sysdeps-dir): New hacker mode command line option to
manually override the sysdeps dir. Use of this option is highly
deprecated; I only added it to be able to do `stub_suid' hackings
on my GNU/Linux machine.
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-10-24 Martin Baulig <martin@home-of-linux.org>
The LibGTop examples have been moved into their own top-level
module libgtop-examples.
* examples/*: Removed.
* configure.in: Removed all checks for the examples.
* libgtop-sysdeps.m4: Removed --with-libgtop-examples parameter.
* Makefile.am: Removed examples from the subdir list.
|
|
|
|
|
|
| |
1999-10-24 Martin Baulig <martin@home-of-linux.org>
* libgtop-sysdeps.m4: Check for <osreldate.h> on *BSD* systems.
|