summaryrefslogtreecommitdiff
path: root/net/mtr/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-04-03 18:38:58 +0000
committerwiz <wiz@pkgsrc.org>2006-04-03 18:38:58 +0000
commite2a4c293d489421736f5443e00b14bcaf694a7c0 (patch)
tree2951c800155eef87f9a5a61bd8cdfebb0b2e7d16 /net/mtr/patches
parent394dfcd11774206f98dc909c4ee4865408786a46 (diff)
downloadpkgsrc-e2a4c293d489421736f5443e00b14bcaf694a7c0.tar.gz
Update mtr to 0.71:
0.71: The build-time check for the resolver library was improved. Binding to a specific interface was fixed. Incorrect display of multiple routes was fixed. Several minor bugs were fixed. v0.70 Antinio submitted a cumulative patch containing some nice improvements. He also submitted an automake patch that causes mtr to no longer compile on my system. I refuse to have mtr "in the dark" that I can't test-compile the dist. Add option for gtk support, and remove mtr-gtk package.
Diffstat (limited to 'net/mtr/patches')
-rw-r--r--net/mtr/patches/patch-aa14
-rw-r--r--net/mtr/patches/patch-ab6
-rw-r--r--net/mtr/patches/patch-ad21
-rw-r--r--net/mtr/patches/patch-ae44
4 files changed, 3 insertions, 82 deletions
diff --git a/net/mtr/patches/patch-aa b/net/mtr/patches/patch-aa
deleted file mode 100644
index e55f5d89646..00000000000
--- a/net/mtr/patches/patch-aa
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-aa,v 1.4 2005/02/27 22:49:43 wiz Exp $
-
---- net.c.orig 2005-01-13 09:13:53.000000000 +0100
-+++ net.c
-@@ -305,7 +305,9 @@ void net_send_query(int index)
- rv = sendto(sendsock, packet, abs(packetsize), 0,
- remotesockaddr, salen);
- if (rv >= 0) {
-+#if 0
- fprintf (stderr, "You've got a broken (FreeBSD?) system\n");
-+#endif
- BSDfix = 1;
- }
- }
diff --git a/net/mtr/patches/patch-ab b/net/mtr/patches/patch-ab
index 85fe3d65388..19864dc4978 100644
--- a/net/mtr/patches/patch-ab
+++ b/net/mtr/patches/patch-ab
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.10 2006/03/22 23:57:12 joerg Exp $
+$NetBSD: patch-ab,v 1.11 2006/04/03 18:38:58 wiz Exp $
---- dns.c.orig 2005-01-11 08:32:42.000000000 +0000
+--- dns.c.orig 2006-03-23 05:45:58.000000000 +0000
+++ dns.c
@@ -28,13 +28,20 @@
#include <sys/time.h>
@@ -105,7 +105,7 @@ $NetBSD: patch-ab,v 1.10 2006/03/22 23:57:12 joerg Exp $
(void *) &(from4->sin_addr), (int) AF_INET ) == 0 ||
- addrcmp( (void *) &(_res.nsaddr_list[i].sin_addr),
+ addrcmp( (void *) &(myres.nsaddr_list[i].sin_addr),
- (void *) &unspec_addr, (int) AF_INET ) != 0 ) /* 0.0.0.0 replies as 127.0.0.1 */
+ (void *) &unspec_addr, (int) AF_INET ) == 0 ) /* 0.0.0.0 replies as 127.0.0.1 */
break;
} else
- for (i = 0;i < _res.nscount;i++)
diff --git a/net/mtr/patches/patch-ad b/net/mtr/patches/patch-ad
deleted file mode 100644
index af310245ea8..00000000000
--- a/net/mtr/patches/patch-ad
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-ad,v 1.4 2005/02/27 22:49:43 wiz Exp $
-
---- mtr.c.orig 2005-01-11 09:33:41.000000000 +0100
-+++ mtr.c
-@@ -126,7 +126,6 @@ void parse_arg (int argc, char **argv)
- { "report", 0, 0, 'r' },
- { "xml", 0, 0, 'x' },
- { "curses", 0, 0, 't' },
-- { "gtk", 0, 0, 'g' },
- { "raw", 0, 0, 'l' },
- { "split", 0, 0, 'p' }, /* BL */
- /* maybe above should change to -d 'x' */
-@@ -369,7 +368,7 @@ int main(int argc, char **argv)
-
- if (PrintHelp) {
- printf("usage: %s [-hvrctglsni46] [--help] [--version] [--report]\n"
-- "\t\t[--report-cycles=COUNT] [--curses] [--gtk]\n"
-+ "\t\t[--report-cycles=COUNT] [--curses]\n"
- "\t\t[--raw] [--split] [--no-dns] [--address interface]\n" /* BL */
- "\t\t[--psize=bytes/-p=bytes]\n" /* ok */
- "\t\t[--interval=SECONDS] HOSTNAME [PACKETSIZE]\n", argv[0]);
diff --git a/net/mtr/patches/patch-ae b/net/mtr/patches/patch-ae
deleted file mode 100644
index 85af218f06c..00000000000
--- a/net/mtr/patches/patch-ae
+++ /dev/null
@@ -1,44 +0,0 @@
-$NetBSD: patch-ae,v 1.4 2005/02/27 22:49:43 wiz Exp $
-
---- mtr.8.orig 2005-01-11 09:10:13.000000000 +0100
-+++ mtr.8
-@@ -8,7 +8,7 @@ mtr \- a network diagnostic tool
- .SH SYNOPSIS
- .B mtr
- [\c
--.B \-hvrctglsni46\c
-+.B \-hvrctlsni46\c
- ]
- [\c
- .B \-\-help\c
-@@ -35,9 +35,6 @@ mtr \- a network diagnostic tool
- .B \-\-no-dns\c
- ]
- [\c
--.B \-\-gtk\c
--]
--[\c
- .B \-\-address\ IP.ADD.RE.SS\c
- ]
- [\c
-@@ -153,20 +150,6 @@ to display numeric IP numbers and not tr
- host names.
-
- .TP
--.B \-g
--.TP
--.B \-\-gtk
--.br
--Use this option to force
--.B mtr
--to use the GTK+ based X11 window interface (if available).
--GTK+ must have been available on the system when
--.B mtr
--was built for this to work. See the GTK+ web page at
--.B http://www.gimp.org/gtk/
--for more information about GTK+.
--
--.TP
- .B \-s
- .TP
- .B \-\-split