summaryrefslogtreecommitdiffstats
path: root/sysutils/xsysstats
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1994-12-13 09:07:03 +0000
committerasami <asami@FreeBSD.org>1994-12-13 09:07:03 +0000
commit37d7dcff4cbb937d0971755b86e4a873072c6b0a (patch)
tree58c06f10704703efdf8ff155f81fbd33c65b8d7e /sysutils/xsysstats
parent00038cb14b287d79ff4e5baca4bd808c6e771ecb (diff)
downloadFreeBSD-ports-37d7dcff4cbb937d0971755b86e4a873072c6b0a.zip
FreeBSD-ports-37d7dcff4cbb937d0971755b86e4a873072c6b0a.tar.gz
xsysstats-1.32, a system information display tool. Someone please test
this, I can't for my life figure out how the heck all those options work....
Diffstat (limited to 'sysutils/xsysstats')
-rw-r--r--sysutils/xsysstats/Makefile14
-rw-r--r--sysutils/xsysstats/files/patch-aa75
-rw-r--r--sysutils/xsysstats/pkg-comment1
-rw-r--r--sysutils/xsysstats/pkg-descr14
-rw-r--r--sysutils/xsysstats/pkg-plist3
5 files changed, 107 insertions, 0 deletions
diff --git a/sysutils/xsysstats/Makefile b/sysutils/xsysstats/Makefile
new file mode 100644
index 0000000..33dc6b4
--- /dev/null
+++ b/sysutils/xsysstats/Makefile
@@ -0,0 +1,14 @@
+# New ports collection makefile for: xsysstats
+# Version required: 1.32
+# Date created: 12 December 1994
+# Whom: asami
+#
+# $Id:$
+#
+
+DISTNAME= xsysstats1.32
+USE_IMAKE= yes
+INSTALL_MANPAGES= yes
+MASTER_SITES= ftp://crl.dec.com/pub/X11/contrib/utilities/
+
+.include <bsd.port.mk>
diff --git a/sysutils/xsysstats/files/patch-aa b/sysutils/xsysstats/files/patch-aa
new file mode 100644
index 0000000..3ea1ef5
--- /dev/null
+++ b/sysutils/xsysstats/files/patch-aa
@@ -0,0 +1,75 @@
+--- ./headers.h.org Mon Nov 21 19:57:57 1994
++++ ./headers.h Tue Dec 13 00:49:58 1994
+@@ -9,7 +9,7 @@
+ * prototypes, this is unneeded.
+ */
+
+-#ifndef __NetBSD__
++#if !(defined(__NetBSD__) || defined(__FreeBSD__))
+ #ifdef __GNUC__
+ /* These do not seem to be needed with gcc-2.5.0. In fact, having
+ * them declared causes errors.
+--- ./porting.c.org Tue Nov 22 13:21:16 1994
++++ ./porting.c Tue Dec 13 00:49:58 1994
+@@ -1,4 +1,4 @@
+-#ifndef __NetBSD__
++#if !(defined(__NetBSD__) || defined(__FreeBSD__))
+ #include <rpcsvc/rstat.h>
+ #endif
+ #include "xsysstats.h"
+@@ -10,10 +10,13 @@
+ #define FSCALE (1<<FSHIFT)
+ #endif
+
+-#ifdef __NetBSD__
++#if (defined(__NetBSD__) || defined(__FreeBSD__))
+ #include <rpc/rpc.h>
+ #undef FSHIFT
+ #undef FSCALE
++#ifdef __FreeBSD__
++#include <rpc/types.h>
++#endif
+ #include <rpcsvc/rstat.h>
+
+ #ifdef ultrix
+--- ./Imakefile.org Mon Nov 21 19:47:44 1994
++++ ./Imakefile Tue Dec 13 00:57:57 1994
+@@ -9,7 +9,7 @@
+ */
+
+
+-CFLAGS = -I/usr/X11R6/include -g -Wall
++CFLAGS = -I/usr/X11R6/include -O2 -Wall
+ CC = gcc
+
+ /* If using Solaris 2, uncomment the line below *
+@@ -20,7 +20,7 @@
+ DEFINES = -DSOLARIS2
+ LIBS = -lrpcsvc -lnsl
+ #else
+- LIBS = -lrpcsvc
++ LIBS = -lrpcsvc
+ #endif
+
+ DEPLIBS = $(DEPXLIB)
+--- ./xsysstats.h.org Mon Nov 21 20:57:47 1994
++++ ./xsysstats.h Tue Dec 13 00:49:58 1994
+@@ -2,9 +2,17 @@
+ #include <X11/Xutil.h>
+ #include <stdio.h>
+ #include <sys/param.h>
++#include <sys/types.h>
++#if defined(BSD) && (BSD >= 199306)
++#include <stdlib.h>
++#else
+ #include <malloc.h>
++#endif
+
+-#ifdef SOLARIS2
++#include <string.h>
++#include <unistd.h>
++
++#if (defined(SOLARIS2) || defined(__FreeBSD__))
+ #include <netdb.h>
+ #endif
+
diff --git a/sysutils/xsysstats/pkg-comment b/sysutils/xsysstats/pkg-comment
new file mode 100644
index 0000000..19e3407
--- /dev/null
+++ b/sysutils/xsysstats/pkg-comment
@@ -0,0 +1 @@
+xsysstats-1.32, a system information display tool
diff --git a/sysutils/xsysstats/pkg-descr b/sysutils/xsysstats/pkg-descr
new file mode 100644
index 0000000..03f6522
--- /dev/null
+++ b/sysutils/xsysstats/pkg-descr
@@ -0,0 +1,14 @@
+XSysStats is a system information display tool similar to perfmeter. It
+displays its information in the form of a strip chart. It can also display
+information about remote hosts, as perfmeter can do.
+
+XSysStats can display any number of graphs at one time in the same window.
+Information being displayed in the window need not be all of the same host.
+For example, you could have it display the percentage of cpu being utilized
+of half a dozen (or more) different hosts. Also, splitting the window
+into smaller windows is now supported (similar to what the perfmeter
+in OW 3 allows)
+
+(above taken from the original README)
+- Satoshi
+asami@cs.berkeley.edu
diff --git a/sysutils/xsysstats/pkg-plist b/sysutils/xsysstats/pkg-plist
new file mode 100644
index 0000000..e31c562
--- /dev/null
+++ b/sysutils/xsysstats/pkg-plist
@@ -0,0 +1,3 @@
+@cwd /usr/X11R6
+bin/xsysstats
+man/man1/xsysstats.1.gz
OpenPOWER on IntegriCloud