diff options
author | rh <rh@pkgsrc.org> | 1999-11-23 07:42:24 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 1999-11-23 07:42:24 +0000 |
commit | a2bcf8998f789b5da4c0853d296e41adc91f9a2b (patch) | |
tree | b61664527adc094b7c51be9d2d222a97d83797bb /x11/xmon | |
parent | 1f8306d5b7883cea0e61e55d0fa409a985dd99d4 (diff) | |
download | pkgsrc-a2bcf8998f789b5da4c0853d296e41adc91f9a2b.tar.gz |
Import of xmon-1.5.4, an interactive X protocol monitor.
Diffstat (limited to 'x11/xmon')
-rw-r--r-- | x11/xmon/Makefile | 15 | ||||
-rw-r--r-- | x11/xmon/files/md5 | 3 | ||||
-rw-r--r-- | x11/xmon/patches/patch-aa | 15 | ||||
-rw-r--r-- | x11/xmon/patches/patch-ab | 20 | ||||
-rw-r--r-- | x11/xmon/patches/patch-ac | 24 | ||||
-rw-r--r-- | x11/xmon/pkg/COMMENT | 1 | ||||
-rw-r--r-- | x11/xmon/pkg/DESCR | 13 | ||||
-rw-r--r-- | x11/xmon/pkg/PLIST | 6 |
8 files changed, 97 insertions, 0 deletions
diff --git a/x11/xmon/Makefile b/x11/xmon/Makefile new file mode 100644 index 00000000000..8b58f35e15a --- /dev/null +++ b/x11/xmon/Makefile @@ -0,0 +1,15 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/11/23 07:42:24 rh Exp $ +# + +DISTNAME= xmon.1.5.4 +PKGNAME= xmon-1.5.4 +CATEGORIES= x11 devel +MASTER_SITES= ${MASTER_SITE_XCONTRIB:=devel_tools/} + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.ee.ryerson.ca/~elf/xapps/Q-XVIII.html + +USE_X11BASE= YES +USE_IMAKE= YES + +.include "../../mk/bsd.pkg.mk" diff --git a/x11/xmon/files/md5 b/x11/xmon/files/md5 new file mode 100644 index 00000000000..ecd843edb8c --- /dev/null +++ b/x11/xmon/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 1999/11/23 07:42:25 rh Exp $ + +MD5 (xmon.1.5.4.tar.gz) = f6c84472241ce5b52af457dcece75c5a diff --git a/x11/xmon/patches/patch-aa b/x11/xmon/patches/patch-aa new file mode 100644 index 00000000000..614001e5d75 --- /dev/null +++ b/x11/xmon/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1.1.1 1999/11/23 07:42:25 rh Exp $ + +--- Imakefile.orig Fri Feb 7 03:38:29 1997 ++++ Imakefile Mon Nov 22 10:48:01 1999 +@@ -14,8 +14,8 @@ + # If your standard C library does not contain the usleep function, you + # may need to add usleep.o to RECORDING_OBJ. + # +-# DEFINES = -DRECORD_EVENTS +-# RECORDING_OBJ = recording.o ++DEFINES = -DRECORD_EVENTS ++RECORDING_OBJ = recording.o + + OBJS1 = decode11.o linkl.o print11.o server.o fd.o main.o prtype.o table11.o \ + $(RECORDING_OBJ) diff --git a/x11/xmon/patches/patch-ab b/x11/xmon/patches/patch-ab new file mode 100644 index 00000000000..699ef2d6f66 --- /dev/null +++ b/x11/xmon/patches/patch-ab @@ -0,0 +1,20 @@ +$NetBSD: patch-ab,v 1.1.1.1 1999/11/23 07:42:25 rh Exp $ + +--- main.c.orig Fri Feb 7 04:28:15 1997 ++++ main.c Mon Nov 22 10:24:20 1999 +@@ -35,6 +35,7 @@ + #ifdef SYSV + #include <fcntl.h> + #endif ++#include <unistd.h> + + #include "xmond.h" + #include "select_args.h" +@@ -76,7 +77,6 @@ + #endif + + extern char *getenv(); +-extern int gethostname P((char *name, int namelen )); + + /* end function prototypes */ + diff --git a/x11/xmon/patches/patch-ac b/x11/xmon/patches/patch-ac new file mode 100644 index 00000000000..82f6a91e93a --- /dev/null +++ b/x11/xmon/patches/patch-ac @@ -0,0 +1,24 @@ +$NetBSD: patch-ac,v 1.1.1.1 1999/11/23 07:42:25 rh Exp $ + +--- recording.c.orig Fri Feb 7 04:33:49 1997 ++++ recording.c Mon Nov 22 10:52:03 1999 +@@ -43,18 +43,13 @@ + #ifdef RECORD_EVENTS + + #include <sys/time.h> ++#include <unistd.h> + + #include "common.h" + + #include "xmond.h" + #include "linkl.h" + #include "commands.h" +- +-/* function prototypes: */ +-/* recording.c: */ +-extern void usleep P((unsigned int useconds )); +- +-/* end function prototypes */ + + typedef struct + { diff --git a/x11/xmon/pkg/COMMENT b/x11/xmon/pkg/COMMENT new file mode 100644 index 00000000000..455c138dc70 --- /dev/null +++ b/x11/xmon/pkg/COMMENT @@ -0,0 +1 @@ +interactive X protocol monitor diff --git a/x11/xmon/pkg/DESCR b/x11/xmon/pkg/DESCR new file mode 100644 index 00000000000..11e088254bf --- /dev/null +++ b/x11/xmon/pkg/DESCR @@ -0,0 +1,13 @@ + Xmon interactively monitors the byte-stream connections +between an X server and a number of X clients. Xmon +recognizes all requests, events, errors and replies sent +between the clients and the server which are part of the +core X protocol. The contents of these messages are +displayed on standard output at a user settable degree of +detail from none to every bit and byte. Xmon also allows +the user to select a number of requests or events to be +monitored at a different degree of detail. Xmon will also +block the transmission of selected requests from the +clients to the server and selected events from the server +to the clients. Xmon also keeps statistics of the number +of requests, events, and errors received. diff --git a/x11/xmon/pkg/PLIST b/x11/xmon/pkg/PLIST new file mode 100644 index 00000000000..a67001d51ed --- /dev/null +++ b/x11/xmon/pkg/PLIST @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1999/11/23 07:42:24 rh Exp $ +bin/xmond +bin/xmonui +man/cat1/xmon.0 +man/cat1/xmond.0 +man/cat1/xmonui.0 |