pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/gkrellm-server Initial import of gkrellm-serv...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5c6d3b0a4d99
branches:  trunk
changeset: 469528:5c6d3b0a4d99
user:      cube <cube%pkgsrc.org@localhost>
date:      Tue Feb 24 22:30:25 2004 +0000

description:
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:

 sysutils/gkrellm-server/DESCR    |  28 ++++++++++++++++++++++++++
 sysutils/gkrellm-server/Makefile |  43 ++++++++++++++++++++++++++++++++++++++++
 sysutils/gkrellm-server/PLIST    |   6 +++++
 3 files changed, 77 insertions(+), 0 deletions(-)

diffs (89 lines):

diff -r 3dc20986a5e6 -r 5c6d3b0a4d99 sysutils/gkrellm-server/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/gkrellm-server/DESCR     Tue Feb 24 22:30:25 2004 +0000
@@ -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 -r 3dc20986a5e6 -r 5c6d3b0a4d99 sysutils/gkrellm-server/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/gkrellm-server/Makefile  Tue Feb 24 22:30:25 2004 +0000
@@ -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 -r 3dc20986a5e6 -r 5c6d3b0a4d99 sysutils/gkrellm-server/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/gkrellm-server/PLIST     Tue Feb 24 22:30:25 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index