Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
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.

View File

@@ -0,0 +1,48 @@
# $NetBSD: Makefile,v 1.31 2012/10/23 19:51:03 asau Exp $
.include "../../sysutils/gkrellm/Makefile.common"
GKRELLM_PKGBASE= gkrellm-server
PKGREVISION= 5
COMMENT= Monitoring daemon remotely accessible by a GKrellM client
DEPENDS+= gkrellm-share-${GKRELLM_VERSION}:../../sysutils/gkrellm-share
USE_TOOLS+= pkg-config
PTHREAD_OPTS+= require
RCD_SCRIPTS= gkrellmd
EGDIR= ${PREFIX}/share/examples/gkrellm-server
CONF_FILES= ${EGDIR}/gkrellmd.conf ${PKG_SYSCONFDIR}/gkrellmd.conf
.include "../../mk/bsd.prefs.mk"
.if (${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" || ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly")
SPECIAL_PERMS+= ${PREFIX:Q}/bin/gkrellmd ${REAL_ROOT_USER} kmem 2555
.endif
NOT_FOR_PLATFORM= IRIX-*-*
MAKE_ENV+= MODULES=server
INSTALL_MAKE_FLAGS+= BINOWNER=${BINOWN:Q} BINGROUP=${BINGRP:Q}
PKG_OPTIONS_VAR= PKG_OPTIONS.gkrellm-server
PKG_SUPPORTED_OPTIONS= glib1
.include "../../mk/bsd.options.mk"
SUBST_CLASSES+= gkprefix
SUBST_STAGE.gkprefix= post-patch
SUBST_FILES.gkprefix= server/gkrellmd.h
SUBST_SED.gkprefix= -e '/GKRELLMD_SYS_ETC/{s!/etc!${PKG_SYSCONFDIR}!;}'
post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX:Q}/share/examples/gkrellm-server
${INSTALL_DATA} ${WRKSRC:Q}/server/gkrellmd.conf ${DESTDIR}${PREFIX:Q}/share/examples/gkrellm-server
.if !empty(PKG_OPTIONS:Mglib1)
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"

View File

@@ -0,0 +1,6 @@
@comment $NetBSD: PLIST,v 1.6 2009/06/14 21:28:47 joerg Exp $
bin/gkrellmd
include/gkrellm2/gkrellmd.h
man/man1/gkrellmd.1
share/examples/gkrellm-server/gkrellmd.conf
share/examples/rc.d/gkrellmd