summaryrefslogtreecommitdiff
path: root/net/mtr-gtk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-10-27 16:18:31 +0000
committerwiz <wiz@pkgsrc.org>2004-10-27 16:18:31 +0000
commiteac80236e49567cc2c31ab65404636fa77d93ad4 (patch)
tree285d1a3220960212fc393b7717d95f677dbb7976 /net/mtr-gtk
parent9ad9df87edbbbd8b3c2e77b646d05a975148b4ad (diff)
downloadpkgsrc-eac80236e49567cc2c31ab65404636fa77d93ad4.tar.gz
Update to 0.65, based on PR 27562 by Andreas Wrede.
Changes since 0.54: v0.65 Dancer Vesperman noted that mtr no longer traces past a section of non-responding hosts. Apparently I added a line in net.c that didn't make sense in mtr-0.56. I can't find the reason for adding that line, so someone who thinks (s)he needs it, should holler. v0.64 Philippe suggests to do the time_t thingy before socket.h. Apparently, MAC OS X doesn't compile socket.h otherwise. v0.63 Suggestion by RCW: Add -lm at line 70 of Configure.in. On my system no ill effects ensued, so this version released so that he can test if it still works on his sytem. Let me add that it's stupid that I have to specify that this this program now requires Automake version 1.5 to build, where Automake was intended to make software independent of different versions of build software! For those concerned about the above statement: If you're just trying to compile and use MTR, there is no need for automake. Just when you're messing with the configure and build system of mtr is automake a tool you need. v0.62 Apparently someone changed gethostbyname into gethostbyname2 in mtr.c in an attempt to add IPV6 support. For systems without ipv6 support, the old gethostbyname should be used! Linux has the call even if you don't enable IPV6. Thanks Gary (rsub) v0.61 Attempt to get/print the local IP address. Now shows as 0.0.0.0 :-( Hints and tips appreciated! -- REW Lots of blank space reformatting. moved the interface address setting to net.c (where it belongs). v0.60 John Thacker submitted a surprisingly simple patch to enable linking against GTK2. (up to 2.4.0) v0.59 Josh Martin suggested to add some bounds checking to the dynamic field code. This caused me to delve in, and rewrite some things. Now 50 lines of code less, but cleaner code. :-) v0.58 I don't remember. Fogot to update this. :-( Check the patch. v0.57 Lots of whitespace cleanups. And a DNS fix: Don't do DNS lookups in raw mode with -n specified. v0.56 Fixed compile warnings. Now compiles with -Wall. If your compiler finds things mine didn't feel free to shout. v0.55 Cleanup patch. I'm going to do some maintenance on MTR, but I want to be able to say: Can you see which version fixed/broke things for you, so you're going to see a bunch of new releases soon.
Diffstat (limited to 'net/mtr-gtk')
-rw-r--r--net/mtr-gtk/Makefile8
-rw-r--r--net/mtr-gtk/distinfo10
-rw-r--r--net/mtr-gtk/patches/patch-aa10
-rw-r--r--net/mtr-gtk/patches/patch-ab29
4 files changed, 28 insertions, 29 deletions
diff --git a/net/mtr-gtk/Makefile b/net/mtr-gtk/Makefile
index d1f4b9eeb08..9edfbc75b45 100644
--- a/net/mtr-gtk/Makefile
+++ b/net/mtr-gtk/Makefile
@@ -1,12 +1,10 @@
-# $NetBSD: Makefile,v 1.18 2004/10/03 00:17:55 tv Exp $
+# $NetBSD: Makefile,v 1.19 2004/10/27 16:18:31 wiz Exp $
#
-DISTNAME= mtr-0.54
+DISTNAME= mtr-0.65
PKGNAME= ${DISTNAME:S/-/-gtk-/}
-PKGREVISION= 2
CATEGORIES= net
-MASTER_SITES= ftp://ftp.bitwizard.nl/mtr/ \
- http://www.giovannelli.it/~gmarco/files/
+MASTER_SITES= ftp://ftp.bitwizard.nl/mtr/
MAINTAINER= sommerfeld@NetBSD.org
HOMEPAGE= http://www.bitwizard.nl/mtr/
diff --git a/net/mtr-gtk/distinfo b/net/mtr-gtk/distinfo
index 71bd80cf7f6..1aa09b98143 100644
--- a/net/mtr-gtk/distinfo
+++ b/net/mtr-gtk/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2003/05/23 07:28:25 wiz Exp $
+$NetBSD: distinfo,v 1.7 2004/10/27 16:18:31 wiz Exp $
-SHA1 (mtr-0.54.tar.gz) = 434b3c4755caf23d2e41dee4ab5c5615f2fba92e
-Size (mtr-0.54.tar.gz) = 88751 bytes
-SHA1 (patch-aa) = 7dd40b1a6e7781b309e419432e994879fe5be83e
-SHA1 (patch-ab) = 237b5cf55180d7b12408d5688d1daae7bedc052b
+SHA1 (mtr-0.65.tar.gz) = d8d6eff240c0b10b68cb8ce921435b99ff164a49
+Size (mtr-0.65.tar.gz) = 132318 bytes
+SHA1 (patch-aa) = eb1998efc2a5b455461333382c34ed9c77cf76ef
+SHA1 (patch-ab) = 8e329ba3e46e47db29a17acd746ccd461a25f1a9
diff --git a/net/mtr-gtk/patches/patch-aa b/net/mtr-gtk/patches/patch-aa
index 80d46c7e437..75fb4e8f397 100644
--- a/net/mtr-gtk/patches/patch-aa
+++ b/net/mtr-gtk/patches/patch-aa
@@ -1,9 +1,9 @@
-$NetBSD: patch-aa,v 1.2 2002/03/13 02:16:13 wiz Exp $
+$NetBSD: patch-aa,v 1.3 2004/10/27 16:18:31 wiz Exp $
---- net.c.orig Fri Aug 13 18:46:49 1999
-+++ net.c
-@@ -213,7 +213,9 @@
- rv = sendto(sendsock, packet, packetsize, 0,
+--- net.c.orig 2004-10-27 10:04:07.000000000 -0400
++++ net.c 2004-10-27 10:12:18.000000000 -0400
+@@ -249,7 +249,9 @@
+ rv = sendto(sendsock, packet, abs(packetsize), 0,
(struct sockaddr *)&remoteaddress, sizeof(remoteaddress));
if (rv >= 0) {
+#if 0
diff --git a/net/mtr-gtk/patches/patch-ab b/net/mtr-gtk/patches/patch-ab
index 46520c42af1..aeb577bbe32 100644
--- a/net/mtr-gtk/patches/patch-ab
+++ b/net/mtr-gtk/patches/patch-ab
@@ -1,15 +1,16 @@
-$NetBSD: patch-ab,v 1.4 2003/01/09 16:36:06 mycroft Exp $
+$NetBSD: patch-ab,v 1.5 2004/10/27 16:18:31 wiz Exp $
---- dns.c.orig Sat Nov 23 18:24:16 2002
-+++ dns.c Thu Jan 9 16:25:23 2003
-@@ -743,8 +743,8 @@
- void dorequest(char *s,int type,word id){
- packetheader *hp;
- int r,i;
-- int buf[(MaxPacketsize/sizeof (int))+1];
-- r = res_mkquery(QUERY,s,C_IN,type,NULL,0,NULL,(unsigned char*)buf,MaxPacketsize);
-+ 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.");
- return;
+--- dns.c.orig 2004-10-27 11:47:06.000000000 -0400
++++ dns.c 2004-10-27 11:47:52.000000000 -0400
+@@ -814,9 +814,9 @@
+ {
+ 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,(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.");
+ return;