diff options
author | wiz <wiz@pkgsrc.org> | 2005-02-27 22:49:43 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-02-27 22:49:43 +0000 |
commit | c2bf053ad7cae1a9d9000ccb646646c3e50cd824 (patch) | |
tree | 44b377a9ae2f61d715fd311edb37ebedd625a337 /net/mtr | |
parent | 99a9ac2ce1d9fc72bfbfe7b6c2d4a40be8fd97cb (diff) | |
download | pkgsrc-c2bf053ad7cae1a9d9000ccb646646c3e50cd824.tar.gz |
Update to 0.69:
v0.69 make distclean should now also remove "rej" files.
Antonio Querubin: update getopt.h . More cleanups using
new infrastructure.
rcw: Fixed IPV6 support: When compiled in an IPV6-supporting
environment, but when the kernel doesn't support IPV6, mtr would
fail to start.
v0.68 included some old patches.
included patch from Antonio Querubin for better IPV6 support
restructured some more whitespace.
added mtr.h where "global" things should go. Not finished
moving things around, but now that the infrastructure is there,
it should be easy.
Diffstat (limited to 'net/mtr')
-rw-r--r-- | net/mtr/Makefile | 5 | ||||
-rw-r--r-- | net/mtr/distinfo | 16 | ||||
-rw-r--r-- | net/mtr/patches/patch-aa | 10 | ||||
-rw-r--r-- | net/mtr/patches/patch-ab | 33 | ||||
-rw-r--r-- | net/mtr/patches/patch-ad | 14 | ||||
-rw-r--r-- | net/mtr/patches/patch-ae | 16 |
6 files changed, 47 insertions, 47 deletions
diff --git a/net/mtr/Makefile b/net/mtr/Makefile index 72bdc2c50ad..06d1e4a8352 100644 --- a/net/mtr/Makefile +++ b/net/mtr/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.39 2005/02/01 17:02:00 wiz Exp $ +# $NetBSD: Makefile,v 1.40 2005/02/27 22:49:43 wiz Exp $ # -DISTNAME= mtr-0.67 -PKGREVISION= 1 +DISTNAME= mtr-0.69 CATEGORIES= net MASTER_SITES= ftp://ftp.bitwizard.nl/mtr/ diff --git a/net/mtr/distinfo b/net/mtr/distinfo index 99bd4cc576e..4edcff23f07 100644 --- a/net/mtr/distinfo +++ b/net/mtr/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.15 2005/02/24 12:13:53 agc Exp $ +$NetBSD: distinfo,v 1.16 2005/02/27 22:49:43 wiz Exp $ -SHA1 (mtr-0.67.tar.gz) = 23fe652ebe25fe86fcb421e78eb76917248b9c94 -RMD160 (mtr-0.67.tar.gz) = 2bd87ddb09a4c2aaf0f78156d8d8f272b4060f29 -Size (mtr-0.67.tar.gz) = 131393 bytes -SHA1 (patch-aa) = eb1998efc2a5b455461333382c34ed9c77cf76ef -SHA1 (patch-ab) = cfddf96d24c734990a15beec796b6bbbf7cb3b9d -SHA1 (patch-ad) = 91788870a4375fc622f512b5823202e7084f4c2e -SHA1 (patch-ae) = ccc70fa482a8b8d4ab3124558e6586254a8c36bf +SHA1 (mtr-0.69.tar.gz) = 3fd0fa148b349d1966e0d79af0ffb84ecc7bed4b +RMD160 (mtr-0.69.tar.gz) = e95e0f27253d8d94587b429cbb65311035e93c2e +Size (mtr-0.69.tar.gz) = 183216 bytes +SHA1 (patch-aa) = 5eb4ab7bfa02095c2b7a110426dd4aa5738f0a2c +SHA1 (patch-ab) = 25e8711a7736d2772a17e6b6dda962d95e294c86 +SHA1 (patch-ad) = 0565b900e45baf624866e3858ab43a2ab2c4bbfe +SHA1 (patch-ae) = 4e40b16e0416f024898eda8375b5560ae08cbfaa diff --git a/net/mtr/patches/patch-aa b/net/mtr/patches/patch-aa index 75fb4e8f397..e55f5d89646 100644 --- a/net/mtr/patches/patch-aa +++ b/net/mtr/patches/patch-aa @@ -1,10 +1,10 @@ -$NetBSD: patch-aa,v 1.3 2004/10/27 16:18:31 wiz Exp $ +$NetBSD: patch-aa,v 1.4 2005/02/27 22:49:43 wiz Exp $ ---- 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 @@ +--- 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, - (struct sockaddr *)&remoteaddress, sizeof(remoteaddress)); + remotesockaddr, salen); if (rv >= 0) { +#if 0 fprintf (stderr, "You've got a broken (FreeBSD?) system\n"); diff --git a/net/mtr/patches/patch-ab b/net/mtr/patches/patch-ab index f88905302bd..fa0b327ebfb 100644 --- a/net/mtr/patches/patch-ab +++ b/net/mtr/patches/patch-ab @@ -1,6 +1,6 @@ -$NetBSD: patch-ab,v 1.8 2005/02/01 17:02:00 wiz Exp $ +$NetBSD: patch-ab,v 1.9 2005/02/27 22:49:43 wiz Exp $ ---- dns.c.orig 2004-08-26 09:56:53.000000000 +0200 +--- dns.c.orig 2005-01-11 09:32:42.000000000 +0100 +++ dns.c @@ -32,9 +32,17 @@ #include <sys/socket.h> @@ -20,7 +20,7 @@ $NetBSD: patch-ab,v 1.8 2005/02/01 17:02:00 wiz Exp $ #include <unistd.h> #include <fcntl.h> #include <ctype.h> -@@ -282,6 +290,17 @@ char nullstring[] = ""; +@@ -294,6 +302,17 @@ char nullstring[] = ""; int use_dns = 1; @@ -38,7 +38,7 @@ $NetBSD: patch-ab,v 1.8 2005/02/01 17:02:00 wiz Exp $ /* Code */ #ifdef CorruptCheck -@@ -448,14 +467,14 @@ void dns_open(void) +@@ -468,14 +487,14 @@ void dns_open(void) { int option,i; @@ -58,7 +58,7 @@ $NetBSD: patch-ab,v 1.8 2005/02/01 17:02:00 wiz Exp $ resfd = socket(AF_INET, SOCK_DGRAM, 0); if (resfd == -1) { fprintf(stderr,"Unable to allocate socket for nameserver communication: %s\n", -@@ -814,17 +833,17 @@ void dorequest(char *s,int type,word id) +@@ -858,17 +877,17 @@ void dorequest(char *s,int type,word id) { packetheader *hp; int r,i; @@ -80,25 +80,28 @@ $NetBSD: patch-ab,v 1.8 2005/02/01 17:02:00 wiz Exp $ sizeof(struct sockaddr)); } -@@ -1161,15 +1180,15 @@ void dns_ack(void) - if (r > 0) { +@@ -1224,18 +1243,18 @@ void dns_ack(void) /* Check to see if this server is actually one we sent to */ - if (from.sin_addr.s_addr == localhost) { + if ( addrcmp( (void *) &(from4->sin_addr), (void *) &localhost, + (int) AF_INET ) == 0 ) { - for (i = 0;i < _res.nscount;i++) -- if ((_res.nsaddr_list[i].sin_addr.s_addr == from.sin_addr.s_addr) || -- (!_res.nsaddr_list[i].sin_addr.s_addr)) /* 0.0.0.0 replies as 127.0.0.1 */ +- if ( addrcmp( (void *) &(_res.nsaddr_list[i].sin_addr), + for (i = 0;i < myres.nscount;i++) -+ if ((myres.nsaddr_list[i].sin_addr.s_addr == from.sin_addr.s_addr) || -+ (!myres.nsaddr_list[i].sin_addr.s_addr)) /* 0.0.0.0 replies as 127.0.0.1 */ ++ if ( addrcmp( (void *) &(myres.nsaddr_list[i].sin_addr), + (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 */ break; } else - for (i = 0;i < _res.nscount;i++) -- if (_res.nsaddr_list[i].sin_addr.s_addr == from.sin_addr.s_addr) +- if ( addrcmp( (void *) &(_res.nsaddr_list[i].sin_addr), + for (i = 0;i < myres.nscount;i++) -+ if (myres.nsaddr_list[i].sin_addr.s_addr == from.sin_addr.s_addr) ++ if ( addrcmp( (void *) &(myres.nsaddr_list[i].sin_addr), + (void *) &(from4->sin_addr), AF_INET ) == 0 ) break; - if (i == _res.nscount) { + if (i == myres.nscount) { sprintf(tempstring,"Resolver error: Received reply from unknown source: %s", - inet_ntoa(from.sin_addr)); + inet_ntoa(from4->sin_addr )); restell(tempstring); diff --git a/net/mtr/patches/patch-ad b/net/mtr/patches/patch-ad index c3c7ff2fcde..af310245ea8 100644 --- a/net/mtr/patches/patch-ad +++ b/net/mtr/patches/patch-ad @@ -1,8 +1,8 @@ -$NetBSD: patch-ad,v 1.3 2004/10/27 16:18:31 wiz Exp $ +$NetBSD: patch-ad,v 1.4 2005/02/27 22:49:43 wiz Exp $ ---- mtr.c.orig 2004-08-12 12:39:40.000000000 -0400 -+++ mtr.c 2004-10-27 11:50:40.000000000 -0400 -@@ -124,7 +124,6 @@ +--- 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' }, @@ -10,13 +10,11 @@ $NetBSD: patch-ad,v 1.3 2004/10/27 16:18:31 wiz Exp $ { "raw", 0, 0, 'l' }, { "split", 0, 0, 'p' }, /* BL */ /* maybe above should change to -d 'x' */ -@@ -342,8 +341,8 @@ - } +@@ -369,7 +368,7 @@ int main(int argc, char **argv) if (PrintHelp) { -- printf("usage: %s [-hvrctglsni] [--help] [--version] [--report]\n" + printf("usage: %s [-hvrctglsni46] [--help] [--version] [--report]\n" - "\t\t[--report-cycles=COUNT] [--curses] [--gtk]\n" -+ printf("usage: %s [-hvrctlsni] [--help] [--version] [--report]\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 */ diff --git a/net/mtr/patches/patch-ae b/net/mtr/patches/patch-ae index 78fd0d3443c..85af218f06c 100644 --- a/net/mtr/patches/patch-ae +++ b/net/mtr/patches/patch-ae @@ -1,17 +1,17 @@ -$NetBSD: patch-ae,v 1.3 2004/10/27 16:18:31 wiz Exp $ +$NetBSD: patch-ae,v 1.4 2005/02/27 22:49:43 wiz Exp $ ---- mtr.8.orig 2004-10-27 11:51:38.000000000 -0400 -+++ mtr.8 2004-10-27 11:52:14.000000000 -0400 -@@ -8,7 +8,7 @@ +--- 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 \-hvrctglsni\c -+.B \-hvrctlsni\c +-.B \-hvrctglsni46\c ++.B \-hvrctlsni46\c ] [\c .B \-\-help\c -@@ -35,9 +35,6 @@ +@@ -35,9 +35,6 @@ mtr \- a network diagnostic tool .B \-\-no-dns\c ] [\c @@ -21,7 +21,7 @@ $NetBSD: patch-ae,v 1.3 2004/10/27 16:18:31 wiz Exp $ .B \-\-address\ IP.ADD.RE.SS\c ] [\c -@@ -153,20 +150,6 @@ +@@ -153,20 +150,6 @@ to display numeric IP numbers and not tr host names. .TP |