summaryrefslogtreecommitdiff
path: root/net/mtr-gtk
diff options
context:
space:
mode:
authoragc <agc>2001-10-16 15:11:00 +0000
committeragc <agc>2001-10-16 15:11:00 +0000
commit75975208a5bc293bb90c2dd89ae5835e7d339f74 (patch)
tree383d6f9aacb10395387a40b9795d3ff441378a54 /net/mtr-gtk
parent6551d4a2169f0faa333f42f14281e7bce4f42c25 (diff)
downloadpkgsrc-75975208a5bc293bb90c2dd89ae5835e7d339f74.tar.gz
Import the mtr-gtk-0.42 package, split off from the standard curses-based
package, to make things easier for those who may prefer not to link in all of the gtk-based functionality.
Diffstat (limited to 'net/mtr-gtk')
-rw-r--r--net/mtr-gtk/Makefile26
-rw-r--r--net/mtr-gtk/distinfo6
-rw-r--r--net/mtr-gtk/patches/patch-aa14
-rw-r--r--net/mtr-gtk/patches/patch-ab13
-rw-r--r--net/mtr-gtk/pkg/DESCR5
-rw-r--r--net/mtr-gtk/pkg/MESSAGE9
-rw-r--r--net/mtr-gtk/pkg/PLIST5
7 files changed, 78 insertions, 0 deletions
diff --git a/net/mtr-gtk/Makefile b/net/mtr-gtk/Makefile
new file mode 100644
index 00000000000..bba407970ce
--- /dev/null
+++ b/net/mtr-gtk/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/10/16 15:11:00 agc Exp $
+#
+
+DISTNAME= mtr-0.42
+PKGNAME= mtr-gtk-0.42
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.bitwizard.nl/mtr/ \
+ http://www.giovannelli.it/~gmarco/files/
+
+MAINTAINER= sommerfeld@netbsd.org
+HOMEPAGE= http://www.bitwizard.nl/mtr/
+COMMENT= Traceroute and ping in a single graphical network diagnostic tool
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_BUILDLINK_ONLY= yes
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mtr-gtk
+ ${INSTALL} -c -s -m 4755 -o root -g wheel ${WRKSRC}/mtr ${PREFIX}/sbin/mtr-gtk
+ ${INSTALL_DATA} ${WRKSRC}/mtr.8 ${PREFIX}/man/man8/mtr-gtk.8
+ ${INSTALL_DATA} ${WRKSRC}/SECURITY ${PREFIX}/share/doc/mtr-gtk
+
+.include "../../devel/ncurses/buildlink.mk"
+.include "../../x11/gtk/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/mtr-gtk/distinfo b/net/mtr-gtk/distinfo
new file mode 100644
index 00000000000..fdadf6debd7
--- /dev/null
+++ b/net/mtr-gtk/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/10/16 15:11:00 agc Exp $
+
+SHA1 (mtr-0.42.tar.gz) = 7bcb6c317911139355cabe5b21e1c7efc5cb5694
+Size (mtr-0.42.tar.gz) = 84767 bytes
+SHA1 (patch-aa) = c098f19f68220fa6c37d3e43edc2d6c49cba8118
+SHA1 (patch-ab) = 9ba3ea130f737864e673e60ce656b96556d3c1cc
diff --git a/net/mtr-gtk/patches/patch-aa b/net/mtr-gtk/patches/patch-aa
new file mode 100644
index 00000000000..17f4028c569
--- /dev/null
+++ b/net/mtr-gtk/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/10/16 15:11:00 agc Exp $
+
+--- net.c.orig Fri Aug 13 18:46:49 1999
++++ net.c Sat Dec 4 11:44:33 1999
+@@ -213,7 +213,9 @@
+ rv = sendto(sendsock, packet, packetsize, 0,
+ (struct sockaddr *)&remoteaddress, sizeof(remoteaddress));
+ if (rv >= 0) {
++#if 0
+ fprintf (stderr, "You've got a broken (FreeBSD?) system\n");
++#endif
+ BSDfix = 1;
+ }
+ }
diff --git a/net/mtr-gtk/patches/patch-ab b/net/mtr-gtk/patches/patch-ab
new file mode 100644
index 00000000000..891b77b57c4
--- /dev/null
+++ b/net/mtr-gtk/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/10/16 15:11:00 agc Exp $
+
+--- dns.c.orig Wed Jun 9 11:09:20 1999
++++ dns.c Tue Aug 10 01:21:12 1999
+@@ -751,7 +751,7 @@
+ void dorequest(char *s,int type,word id){
+ packetheader *hp;
+ int r,i;
+- int buf[(MaxPacketsize/sizeof (int))+1];
++ unsigned char buf[MaxPacketsize];
+ r = res_mkquery(QUERY,s,C_IN,type,NULL,0,NULL,buf,MaxPacketsize);
+ if (r == -1){
+ restell("Resolver error: Query too large.");
diff --git a/net/mtr-gtk/pkg/DESCR b/net/mtr-gtk/pkg/DESCR
new file mode 100644
index 00000000000..0e8ccf04225
--- /dev/null
+++ b/net/mtr-gtk/pkg/DESCR
@@ -0,0 +1,5 @@
+mtr combines the functionality of the "traceroute" and "ping" programs
+into a single network diagnostic tool.
+
+Authors: Matt Kimball <mkimball@xmission.com> is the primary author of mtr.
+ Roger Wolff <R.E.Wolff@BitWizard.nl> is currently maintaining mtr.
diff --git a/net/mtr-gtk/pkg/MESSAGE b/net/mtr-gtk/pkg/MESSAGE
new file mode 100644
index 00000000000..9524e1b38b3
--- /dev/null
+++ b/net/mtr-gtk/pkg/MESSAGE
@@ -0,0 +1,9 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2001/10/16 15:11:00 agc Exp $
+
+ ${PREFIX}/sbin/mtr-gtk is setuid "root".
+
+ Please read about potential security issues in
+ ${PREFIX}/share/doc/mtr-gtk/SECURITY
+
+===========================================================================
diff --git a/net/mtr-gtk/pkg/PLIST b/net/mtr-gtk/pkg/PLIST
new file mode 100644
index 00000000000..6c1919b96c5
--- /dev/null
+++ b/net/mtr-gtk/pkg/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/10/16 15:11:00 agc Exp $
+man/man8/mtr-gtk.8
+sbin/mtr-gtk
+share/doc/mtr-gtk/SECURITY
+@dirrm share/doc/mtr-gtk