diff options
author | cube <cube@pkgsrc.org> | 2004-02-24 22:30:25 +0000 |
---|---|---|
committer | cube <cube@pkgsrc.org> | 2004-02-24 22:30:25 +0000 |
commit | bacf6df47e75f42201e7b532927d8a01affcbc71 (patch) | |
tree | 9980b4d4aaffb4888465df3ed857565504220939 /sysutils | |
parent | 36b363fc00ef2984154330143e43ca711b157e62 (diff) | |
download | pkgsrc-bacf6df47e75f42201e7b532927d8a01affcbc71.tar.gz |
Initial import of gkrellm-server, version 2.1.25 into the NetBSD Package
Collection, from pkgsrc-wip.
With the 2.x series, GKrellM introduced a client/server mode where a server
process has the probes on a host of the network, and a client can gather
data from that server and display it as a normal GKrellM applet.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/gkrellm-server/DESCR | 28 | ||||
-rw-r--r-- | sysutils/gkrellm-server/Makefile | 43 | ||||
-rw-r--r-- | sysutils/gkrellm-server/PLIST | 6 |
3 files changed, 77 insertions, 0 deletions
diff --git a/sysutils/gkrellm-server/DESCR b/sysutils/gkrellm-server/DESCR new file mode 100644 index 00000000000..094dfd3f201 --- /dev/null +++ b/sysutils/gkrellm-server/DESCR @@ -0,0 +1,28 @@ +With a single process, GKrellM manages multiple stacked monitors and supports +applying themes to match the monitors appearance to your window manager, +Gtk, or any other theme. + + * SMP CPU, Disk, Proc, and active net interface monitors with LEDs. + * Internet monitor that displays current and charts historical port hits + + * Memory and swap space usage meters and a system uptime monitor. + * File system meters show capacity/free space and can mount/umount. + * A mailbox monitor which can launch mail reader, remote mail fetch. + * Clock/calendar and hostname display. + * APM laptop battery monitor. + * CPU/motherboard temperature display if lm_sensors modules installed. + + * Multiple monitors managed by a single process to reduce system load. + * A timer button that can execute PPP or ISDN logon/logoff scripts. + * Charts are autoscaling with configurable grid line resolution, or + can be set to a fixed scale mode. + * Separate colors for "in" and "out" data. The in color is used for + CPU user time, disk read, forks, and net receive data. The out color + is used for CPU sys time, disk write, load, and net transmit data. + * Commands can be configured to run when monitor labels are clicked. + * GKrellM is plugin capable so special interest monitors can be created. + * A different theme can be created with the GIMP. + +The gkrellm2-server package installs the monitoring part of GKrellM, which +can be made to run as a daemon to be polled over the network by the GKrellM +client as found in the gkrellm2 package. diff --git a/sysutils/gkrellm-server/Makefile b/sysutils/gkrellm-server/Makefile new file mode 100644 index 00000000000..c81bb70ebde --- /dev/null +++ b/sysutils/gkrellm-server/Makefile @@ -0,0 +1,43 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/02/24 22:30:25 cube Exp $ +.include "../../sysutils/gkrellm/Makefile.common" + +GKRELLM_PKGBASE= gkrellm-server +COMMENT= Monitoring daemon remotely accessible by a GKrellM client +DEPENDS+= gkrellm-share-${GKRELLM_VERSION}:../../wip/gkrellm2-share + +USE_BUILDLINK3= YES +USE_PKGINSTALL= YES +PTHREAD_OPTS= require +RCD_SCRIPTS= gkrellmd +CONF_FILES= ${PREFIX}/share/examples/gkrellm-server/gkrellmd.conf ${PREFIX}/etc/gkrellmd.conf + +.include "../../mk/bsd.prefs.mk" + +.if (${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD") +SPECIAL_PERMS+= ${PREFIX}/bin/gkrellmd ${ROOT_USER} kmem 2711 +.endif + +NOT_FOR_PLATFORM= IRIX-* + +MAKE_ENV+= MODULES=server + +# Define this to use glib-1.2 instead of glib-2 +BUILD_DEFS+= GKRELLMSERVER_USE_GLIB12 + +pre-build: + ${SED} -e s,@@PREFIX@@,${PREFIX}, \ + <${WRKSRC}/server/gkrellmd.h >${WRKSRC}/server/gkrellmd.h.sed + ${MV} ${WRKSRC}/server/gkrellmd.h.sed ${WRKSRC}/server/gkrellmd.h + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gkrellm-server + ${INSTALL_DATA} ${WRKSRC}/server/gkrellmd.conf ${PREFIX}/share/examples/gkrellm-server + +.if defined(GKRELLMSERVER_USE_GLIB12) +MAKE_ENV+= USE_GLIB12=yes +.include "../../devel/glib/buildlink3.mk" +.else +.include "../../devel/glib2/buildlink3.mk" +.endif +.include "../../mk/pthread.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/gkrellm-server/PLIST b/sysutils/gkrellm-server/PLIST new file mode 100644 index 00000000000..c0c765d84fa --- /dev/null +++ b/sysutils/gkrellm-server/PLIST @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/24 22:30:25 cube Exp $ +bin/gkrellmd +etc/rc.d/gkrellmd +man/man1/gkrellmd.1 +share/examples/gkrellm-server/gkrellmd.conf +@dirrm share/examples/gkrellm-server |