summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-08-09 16:29:52 +0000
committerwiz <wiz@pkgsrc.org>2014-08-09 16:29:52 +0000
commit2053e74ffba6a41d2d670c166f7f785cb5ad1617 (patch)
treeb66fe91f67cf952fe0e2a93c1d3a84e142611614 /x11
parent78ed53cac56979eeb78378d48af8a665c5b40d92 (diff)
downloadpkgsrc-2053e74ffba6a41d2d670c166f7f785cb5ad1617.tar.gz
Import xtruss-10030 as x11/xtruss.
Any programmer accustomed to writing programs on Linux or System V-type Unixes will have encountered the program variously known as strace or truss, which monitors another program and produces a detailed log of every system call the program makes - in other words, all the program's interactions with the OS kernel. This is often an invaluable debugging tool, and almost as good an educational one. When it's a GUI program (or rather, the GUI-related behaviour of a program) that you want to understand or debug, though, the level of interaction with the OS kernel is rarely the most useful one. More helpfully, one would like to log all the program's interactions with the X server in the same way. This package provides xtruss, an X protocol loggers. It has a command-line syntax similar to strace in its default mode, you just prefix "xtruss" to the same command line you would have run anyway and its output format is also more like strace, putting requests and responses on the same line of output where reasonably possible.
Diffstat (limited to 'x11')
-rw-r--r--x11/xtruss/DESCR19
-rw-r--r--x11/xtruss/Makefile15
-rw-r--r--x11/xtruss/PLIST3
-rw-r--r--x11/xtruss/distinfo5
4 files changed, 42 insertions, 0 deletions
diff --git a/x11/xtruss/DESCR b/x11/xtruss/DESCR
new file mode 100644
index 00000000000..5931a11b322
--- /dev/null
+++ b/x11/xtruss/DESCR
@@ -0,0 +1,19 @@
+Any programmer accustomed to writing programs on Linux or System
+V-type Unixes will have encountered the program variously known as
+strace or truss, which monitors another program and produces a
+detailed log of every system call the program makes - in other
+words, all the program's interactions with the OS kernel. This is
+often an invaluable debugging tool, and almost as good an educational
+one.
+
+When it's a GUI program (or rather, the GUI-related behaviour of
+a program) that you want to understand or debug, though, the level
+of interaction with the OS kernel is rarely the most useful one.
+More helpfully, one would like to log all the program's interactions
+with the X server in the same way.
+
+This package provides xtruss, an X protocol loggers. It has a
+command-line syntax similar to strace in its default mode, you just
+prefix "xtruss" to the same command line you would have run anyway
+and its output format is also more like strace, putting requests
+and responses on the same line of output where reasonably possible.
diff --git a/x11/xtruss/Makefile b/x11/xtruss/Makefile
new file mode 100644
index 00000000000..b52f993d98a
--- /dev/null
+++ b/x11/xtruss/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2014/08/09 16:29:52 wiz Exp $
+
+DISTNAME= xtruss-r10030
+PKGNAME= ${DISTNAME:S/-r/-/}
+CATEGORIES= x11
+MASTER_SITES= http://www.chiark.greenend.org.uk/~sgtatham/xtruss/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.chiark.greenend.org.uk/~sgtatham/xtruss/
+COMMENT= Easy-to-use X protocol tracing program
+LICENSE= mit
+
+GNU_CONFIGURE= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/xtruss/PLIST b/x11/xtruss/PLIST
new file mode 100644
index 00000000000..1762119daf5
--- /dev/null
+++ b/x11/xtruss/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2014/08/09 16:29:52 wiz Exp $
+bin/xtruss
+man/man1/xtruss.1
diff --git a/x11/xtruss/distinfo b/x11/xtruss/distinfo
new file mode 100644
index 00000000000..27171aedf5c
--- /dev/null
+++ b/x11/xtruss/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/08/09 16:29:52 wiz Exp $
+
+SHA1 (xtruss-r10030.tar.gz) = 5d7fa08b12dee127ac63004bd8a0eca381de52e5
+RMD160 (xtruss-r10030.tar.gz) = 5e3df288bf95dc6dc3b148cf433e87af98d8cb5c
+Size (xtruss-r10030.tar.gz) = 218148 bytes