summaryrefslogtreecommitdiff
path: root/net/xtraceroute
diff options
context:
space:
mode:
authorhubertf <hubertf>1999-01-20 02:03:40 +0000
committerhubertf <hubertf>1999-01-20 02:03:40 +0000
commitca76df7de8db343347b8cd3ca683e36a63de05b9 (patch)
treedf6958bab7d6fec7aa287ba2188199a26340a0f6 /net/xtraceroute
parent886c1eefa0fcf90b3c1e47d91005edfabfa8a95d (diff)
downloadpkgsrc-ca76df7de8db343347b8cd3ca683e36a63de05b9.tar.gz
Graphical version of traceroute, which traces the route IP packets go
Diffstat (limited to 'net/xtraceroute')
-rw-r--r--net/xtraceroute/Makefile31
-rw-r--r--net/xtraceroute/files/md54
-rw-r--r--net/xtraceroute/patches/patch-aa13
-rw-r--r--net/xtraceroute/patches/patch-ab15
-rw-r--r--net/xtraceroute/pkg/COMMENT1
-rw-r--r--net/xtraceroute/pkg/DESCR4
-rw-r--r--net/xtraceroute/pkg/PLIST5
7 files changed, 73 insertions, 0 deletions
diff --git a/net/xtraceroute/Makefile b/net/xtraceroute/Makefile
new file mode 100644
index 00000000000..f53ff34fd30
--- /dev/null
+++ b/net/xtraceroute/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/01/20 02:03:40 hubertf Exp $
+#
+
+DISTNAME= xtraceroute-0.8.12
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
+ ndg_files.tar.gz
+CATEGORIES= net x11
+MASTER_SITES= http://www.dtek.chalmers.se/~d3august/xt/dl/
+
+MAINTAINER= hubertf@netbsd.org
+HOMEPAGE= http://www.dtek.chalmers.se/~d3august/xt/index.html
+
+DEPENDS+= Mesa-3.0:../../graphics/Mesa
+DEPENDS+= gtk+-1.1.12:../../x11/gtk
+DEPENDS+= gtkglarea-1.1:../../x11/gtkglarea
+DEPENDS+= tiff-3.4:../../graphics/tiff
+
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS+= --with-gtk-prefix=${X11BASE}
+# XXX Actually, Mesa's in X11BASE too, but as our tiff is in LOCALBASE
+# and xtraceroute doesn't have a switch to tell it so (yet?), we abuse
+# the --with-GL-prefix switch for this.
+CONFIGURE_ARGS+= --with-GL-prefix=${LOCALBASE}
+CONFIGURE_ARGS+= --with-lib-MesaGL
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/xtraceroute
+ ${INSTALL_DATA} ${WRKDIR}/lib/hosts.cache ${PREFIX}/share/xtraceroute/site_hosts.cache
+ ${INSTALL_DATA} ${WRKDIR}/lib/networks.cache ${PREFIX}/share/xtraceroute/site_networks.cache
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/xtraceroute/files/md5 b/net/xtraceroute/files/md5
new file mode 100644
index 00000000000..642f8fce468
--- /dev/null
+++ b/net/xtraceroute/files/md5
@@ -0,0 +1,4 @@
+$NetBSD: md5,v 1.1.1.1 1999/01/20 02:03:40 hubertf Exp $
+
+MD5 (xtraceroute-0.8.12.tar.gz) = c52bb6937c9455ccd550a35923f48f42
+MD5 (ndg_files.tar.gz) = 7e709d671ec8ad6bbb8cf64e74fa4bbc
diff --git a/net/xtraceroute/patches/patch-aa b/net/xtraceroute/patches/patch-aa
new file mode 100644
index 00000000000..603861a124c
--- /dev/null
+++ b/net/xtraceroute/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/01/20 02:03:41 hubertf Exp $
+
+--- Makefile.in.BAK Wed Jan 20 02:01:03 1999
++++ Makefile.in Wed Jan 20 02:01:55 1999
+@@ -90,7 +90,7 @@
+
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-LIBS = @LIBS@
++LIBS = @LIBS@ -L${LOCALSRC}/lib -ljpeg
+ xtraceroute_OBJECTS = readtexture.o db.o countries.o main.o sphere.o \
+ dbio.o glstuff.o spinner.o dialogs.o info_window.o doughnut.o util.o \
+ resolve.o db_host_gui.o db_net_gui.o db_gen_gui.o
diff --git a/net/xtraceroute/patches/patch-ab b/net/xtraceroute/patches/patch-ab
new file mode 100644
index 00000000000..6a3788c1b1e
--- /dev/null
+++ b/net/xtraceroute/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/01/20 02:03:41 hubertf Exp $
+
+--- main.c.BAK Wed Jan 20 02:11:55 1999
++++ main.c Wed Jan 20 02:12:12 1999
+@@ -632,8 +632,10 @@
+ clist = gtk_clist_new_with_titles(3, titles);
+
+ gtk_clist_set_selection_mode((GtkCList *)clist, GTK_SELECTION_BROWSE);
++#if 0
+ gtk_clist_set_policy (GTK_CLIST(clist),
+ GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
++#endif
+
+ /* FIXME: These should probably be font-dependent. */
+
diff --git a/net/xtraceroute/pkg/COMMENT b/net/xtraceroute/pkg/COMMENT
new file mode 100644
index 00000000000..3e271b3283f
--- /dev/null
+++ b/net/xtraceroute/pkg/COMMENT
@@ -0,0 +1 @@
+Graphical version of traceroute, which traces the route IP packets go
diff --git a/net/xtraceroute/pkg/DESCR b/net/xtraceroute/pkg/DESCR
new file mode 100644
index 00000000000..cd8ca1131af
--- /dev/null
+++ b/net/xtraceroute/pkg/DESCR
@@ -0,0 +1,4 @@
+Xtraceroute is a graphical version of the traceroute program, which
+traces the route your IP packets travel to their destination.
+This version shows that on a rotating globe, as a series of yellow
+lines between 'sites', shown as small balls of different colors.
diff --git a/net/xtraceroute/pkg/PLIST b/net/xtraceroute/pkg/PLIST
new file mode 100644
index 00000000000..3932e2831e6
--- /dev/null
+++ b/net/xtraceroute/pkg/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/01/20 02:03:40 hubertf Exp $
+bin/xtraceroute
+share/xtraceroute/earth.tif
+share/xtraceroute/site_hosts.cache
+share/xtraceroute/site_networks.cache