summaryrefslogtreecommitdiff
path: root/x11/xmeter
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-10-30 10:53:40 +0000
committeragc <agc@pkgsrc.org>1998-10-30 10:53:40 +0000
commit655008d46e3dfc015fd1682506d0279c54c5e9b7 (patch)
tree8cffcb53db3c2b119b5c8dba778280ac2fe5ad51 /x11/xmeter
parentbd2f0f1de82c2d7f2b52b174766c925147e3ab4e (diff)
downloadpkgsrc-655008d46e3dfc015fd1682506d0279c54c5e9b7.tar.gz
Import of xmeter, an X11-based utility for displaying data retrieved
by rstat(3), into the NetBSD packages collection, by popular request.
Diffstat (limited to 'x11/xmeter')
-rw-r--r--x11/xmeter/Makefile13
-rw-r--r--x11/xmeter/files/md53
-rw-r--r--x11/xmeter/patches/patch-aa15
-rw-r--r--x11/xmeter/pkg/COMMENT1
-rw-r--r--x11/xmeter/pkg/DESCR10
-rw-r--r--x11/xmeter/pkg/PLIST4
6 files changed, 46 insertions, 0 deletions
diff --git a/x11/xmeter/Makefile b/x11/xmeter/Makefile
new file mode 100644
index 00000000000..177c01ae473
--- /dev/null
+++ b/x11/xmeter/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1.1.1 1998/10/30 10:53:40 agc Exp $
+
+DISTNAME= xmeter-1.15
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_XCONTRIB}
+MASTER_SITE_SUBDIR= misdirected
+
+MAINTAINER= packages@netbsd.org
+
+USE_IMAKE= yes
+NO_WRKSUBDIR= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/xmeter/files/md5 b/x11/xmeter/files/md5
new file mode 100644
index 00000000000..394659f1a25
--- /dev/null
+++ b/x11/xmeter/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1998/10/30 10:53:40 agc Exp $
+
+MD5 (xmeter-1.15.tar.gz) = 5dba2e3c27d0adfcef107855c3e56e68
diff --git a/x11/xmeter/patches/patch-aa b/x11/xmeter/patches/patch-aa
new file mode 100644
index 00000000000..58b0832f037
--- /dev/null
+++ b/x11/xmeter/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 1998/10/30 10:53:41 agc Exp $
+
+Use the right signal handler type.
+
+--- xmeter.c 1998/10/30 10:41:09 1.1
++++ xmeter.c 1998/10/30 10:41:51
+@@ -231,7 +228,7 @@
+ char *name; /* Name of stat for menu widget */
+ } STATDATA;
+
+-#if defined(SVR4) || defined(sgi)
++#if defined(SVR4) || defined(sgi) || (defined(BSD) && BSD >= 199306)
+ #define SIGTYPE void
+ #else
+ #define SIGTYPE int
diff --git a/x11/xmeter/pkg/COMMENT b/x11/xmeter/pkg/COMMENT
new file mode 100644
index 00000000000..157d4760660
--- /dev/null
+++ b/x11/xmeter/pkg/COMMENT
@@ -0,0 +1 @@
+displays a number of remote machine load meters.
diff --git a/x11/xmeter/pkg/DESCR b/x11/xmeter/pkg/DESCR
new file mode 100644
index 00000000000..eb36b4c8394
--- /dev/null
+++ b/x11/xmeter/pkg/DESCR
@@ -0,0 +1,10 @@
+Xmeter displays a number of remote machine load meters. This package
+monitors system activity, displaying a histogram of data returned by
+rstat(3) as a meter. It can be told to monitor multiple hosts, or to
+monitor multiple statistics on the same host. Meters can be displayed
+in a vertical, horizontal or rectangular arrangement. As statistics
+range between 4 user defineable levels (OK, WARN, ERROR or FATAL), the
+background, foreground, highlight, border and internal border colors,
+and the background bitmap of each meter can be changed. Xmeter uses
+the StripChart widget of the Athena Widget Set to graph each
+statistic.
diff --git a/x11/xmeter/pkg/PLIST b/x11/xmeter/pkg/PLIST
new file mode 100644
index 00000000000..b3e33b6f97f
--- /dev/null
+++ b/x11/xmeter/pkg/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1998/10/30 10:53:41 agc Exp $
+bin/xmeter
+lib/X11/app-defaults/XMeter
+man/cat1/xmeter.0