From 2e0337fdd808b3a2a6471e8c1b5424ce62d57cb5 Mon Sep 17 00:00:00 2001 From: rh Date: Tue, 23 Nov 1999 07:42:24 +0000 Subject: Import of xmon-1.5.4, an interactive X protocol monitor. --- x11/xmon/Makefile | 15 +++++++++++++++ x11/xmon/files/md5 | 3 +++ x11/xmon/patches/patch-aa | 15 +++++++++++++++ x11/xmon/patches/patch-ab | 20 ++++++++++++++++++++ x11/xmon/patches/patch-ac | 24 ++++++++++++++++++++++++ x11/xmon/pkg/COMMENT | 1 + x11/xmon/pkg/DESCR | 13 +++++++++++++ x11/xmon/pkg/PLIST | 6 ++++++ 8 files changed, 97 insertions(+) create mode 100644 x11/xmon/Makefile create mode 100644 x11/xmon/files/md5 create mode 100644 x11/xmon/patches/patch-aa create mode 100644 x11/xmon/patches/patch-ab create mode 100644 x11/xmon/patches/patch-ac create mode 100644 x11/xmon/pkg/COMMENT create mode 100644 x11/xmon/pkg/DESCR create mode 100644 x11/xmon/pkg/PLIST (limited to 'x11/xmon') 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 + #endif ++#include + + #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 ++#include + + #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 -- cgit v1.2.3