head 1.5; access; symbols pkgsrc-2013Q2:1.5.0.34 pkgsrc-2013Q2-base:1.5 pkgsrc-2012Q4:1.5.0.32 pkgsrc-2012Q4-base:1.5 pkgsrc-2011Q4:1.5.0.30 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q2:1.5.0.28 pkgsrc-2011Q2-base:1.5 pkgsrc-2009Q4:1.5.0.26 pkgsrc-2009Q4-base:1.5 pkgsrc-2008Q4:1.5.0.24 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.22 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.20 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.18 pkgsrc-2008Q2-base:1.5 pkgsrc-2008Q1:1.5.0.16 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.14 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.12 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.10 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.8 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.6 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.4 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.2 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.4.0.10 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.8 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.6 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.4 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.2 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.3.0.2 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.2.0.16 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.14 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.12 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.10 pkgsrc-2003Q4-base:1.2 netbsd-1-6-1:1.2.0.6 netbsd-1-6-1-base:1.2 netbsd-1-6:1.2.0.8 netbsd-1-6-RELEASE-base:1.2 pkgviews:1.2.0.4 pkgviews-base:1.2 buildlink2:1.2.0.2 buildlink2-base:1.2 netbsd-1-5-PATCH003:1.2; locks; strict; comment @# @; 1.5 date 2006.04.03.18.38.58; author wiz; state dead; branches; next 1.4; 1.4 date 2005.02.27.22.49.43; author wiz; state Exp; branches; next 1.3; 1.3 date 2004.10.27.16.18.31; author wiz; state Exp; branches; next 1.2; 1.2 date 2002.03.13.02.16.12; author wiz; state Exp; branches; next 1.1; 1.1 date 2001.10.16.15.08.56; author agc; state Exp; branches; next ; desc @@ 1.5 log @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. @ text @$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]); @ 1.4 log @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. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.3 2004/10/27 16:18:31 wiz Exp $ @ 1.3 log @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. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.2 2002/03/13 02:16:12 wiz Exp $ d3 3 a5 3 --- 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 @@@@ d13 1 a13 2 @@@@ -342,8 +341,8 @@@@ } d16 1 a16 1 - printf("usage: %s [-hvrctglsni] [--help] [--version] [--report]\n" a17 1 + printf("usage: %s [-hvrctlsni] [--help] [--version] [--report]\n" @ 1.2 log @Update mtr packages to 0.49. Changes since 0.42: v0.49 Fix compilation problems on several platforms. v0.48 Draw names in red (GTK) or bold (Curses) if host doesn't respond. v0.47 Fixed a (believed-) non-exploitable bufferoverflow. Thanks Damian. v0.46 Included patch to be able to specify outgoing interface address. v0.45 People are pressuring me to release new versions with their changes. That's fine. Now this version just adds dynamic switching between numeric / dns names, and some minor stuff I forgot. This release serves as a code-sycn-release. new version with even more new stuff in about two weeks! I'm afraid I don't know how to fix the MaxOS-X compilation problems in the source. Help wanted... v0.44 David Stone adds the "last" column to the gtk version. v0.43 Compile fixes. @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- mtr.c.orig Thu Mar 7 08:48:27 2002 +++ mtr.c @@@@ -59,7 +59,6 @@@@ d7 1 a7 1 { "report-cycles", 1, 0, 'c' }, d10 4 a13 4 { "interval", 1, 0, 'i' }, { "psize", 1, 0, 'p' }, { "no-dns", 0, 0, 'n' }, @@@@ -192,8 +191,8 @@@@ d16 1 a16 1 if(PrintHelp) { @ 1.1 log @Split this package into two - the original mtr uses a curses-based interface, the mtr-gtk package uses gtk. For use in environments which need mtr's functionality, but which are unlikely to have X11 installed, such as DMZ hosts, etc. Patches by Andrew Brown, atatat@@netbsd.org. @ text @d3 3 a5 5 Remove the gtk related options since we're not using gtk. --- mtr.c 2001/10/16 11:22:10 1.1 +++ mtr.c 2001/10/16 11:23:02 @@@@ -56,7 +56,6 @@@@ d13 1 a13 1 @@@@ -182,8 +181,8 @@@@ d21 1 a21 1 "\t\t[--raw] [--split] [--no-dns]\n" /* BL */ @