head 1.11; access; symbols pkgsrc-2013Q2:1.11.0.8 pkgsrc-2013Q2-base:1.11 pkgsrc-2012Q4:1.11.0.6 pkgsrc-2012Q4-base:1.11 pkgsrc-2011Q4:1.11.0.4 pkgsrc-2011Q4-base:1.11 pkgsrc-2011Q2:1.11.0.2 pkgsrc-2011Q2-base:1.11 pkgsrc-2010Q1:1.9.0.16 pkgsrc-2010Q1-base:1.9 pkgsrc-2009Q4:1.9.0.14 pkgsrc-2009Q4-base:1.9 pkgsrc-2009Q3:1.9.0.12 pkgsrc-2009Q3-base:1.9 pkgsrc-2009Q2:1.9.0.10 pkgsrc-2009Q2-base:1.9 pkgsrc-2009Q1:1.9.0.8 pkgsrc-2009Q1-base:1.9 pkgsrc-2008Q4:1.9.0.6 pkgsrc-2008Q4-base:1.9 pkgsrc-2008Q3:1.9.0.4 pkgsrc-2008Q3-base:1.9 cube-native-xorg:1.9.0.2 cube-native-xorg-base:1.9 pkgsrc-2008Q2:1.7.0.16 pkgsrc-2008Q2-base:1.7 cwrapper:1.7.0.14 pkgsrc-2008Q1:1.7.0.12 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.7.0.10 pkgsrc-2007Q4-base:1.7 pkgsrc-2007Q3:1.7.0.8 pkgsrc-2007Q3-base:1.7 pkgsrc-2007Q2:1.7.0.6 pkgsrc-2007Q2-base:1.7 pkgsrc-2007Q1:1.7.0.4 pkgsrc-2007Q1-base:1.7 pkgsrc-2006Q4:1.7.0.2 pkgsrc-2006Q4-base:1.7 pkgsrc-2006Q3:1.6.0.4 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.2 pkgsrc-2006Q2-base:1.6 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 netbsd-1-5-PATCH001:1.1; locks; strict; comment @# @; 1.11 date 2010.06.13.23.53.22; author wiz; state dead; branches; next 1.10; 1.10 date 2010.06.05.14.50.12; author wiz; state Exp; branches; next 1.9; 1.9 date 2008.08.29.08.32.41; author tonnerre; state Exp; branches; next 1.8; 1.8 date 2008.08.24.12.36.34; author tron; state dead; branches; next 1.7; 1.7 date 2006.10.03.19.15.20; author wiz; state Exp; branches; next 1.6; 1.6 date 2006.05.12.07.51.05; author joerg; state Exp; branches; next 1.5; 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.04.05.15.18.09; author wiz; state Exp; branches; next ; desc @@ 1.11 log @Update to 0.79: contains last remaining pkgsrc patch. @ text @$NetBSD: patch-aa,v 1.10 2010/06/05 14:50:12 wiz Exp $ --- configure.orig 2008-08-19 20:11:50.000000000 +0200 +++ configure @@@@ -6176,7 +6176,7 @@@@ fi done -for ac_header in sys/xti.h +for ac_header in socket.h sys/socket.h sys/xti.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then @@@@ -7834,7 +7834,12 @@@@ cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - +#ifdef HAVE_SOCKET_H +#include +#endif +#ifdef HAVE_SYS_SOCKET_H +#include +#endif typedef socklen_t ac__type_new_; int @ 1.10 log @Remove unnecessary chunk. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.9 2008/08/29 08:32:41 tonnerre Exp $ @ 1.9 log @Add fix to properly detect socklen_t on various system. Fixes PR 39421. @ text @d1 1 a1 1 $NetBSD$ a27 9 @@@@ -8570,6 +8575,8 @@@@ do case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + : Avoid regenerating within pkgsrc + exit 0 ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) echo "$ac_cs_version"; exit ;; @ 1.8 log @Update "mtr" package to version 0.74. Changes since version 0.72: - KES reported a build problem. Turns out I need to install gtk-1.2 on my development sytem, otherwise my release script causes the build to break. - changed some docs to advertise the new mailing list. - added documentation for the Mac OS X compilation problem. - added -Wno-pointer-sign to the compiler options. - Nico Lichtmaier's cleanup-gtk patch. (now mtr uses a more modern dialect of gtk). - as possible after opening the sockets, it still had some sprintf calls, which have now been converted into snprintf. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.7 2006/10/03 19:15:20 wiz Exp $ d3 1 a3 1 --- configure.orig 2006-09-29 19:41:56.000000000 +0000 d5 2 a6 2 @@@@ -7204,6 +7204,7 @@@@ _ACEOF LIBS="-lresolv $LIBS" a7 2 else + LIBS="$ac_check_lib_save_LIBS" d9 7 a15 3 echo "$as_me:$LINENO: checking for __res_mkquery in -lresolv" >&5 echo $ECHO_N "checking for __res_mkquery in -lresolv... $ECHO_C" >&6 @@@@ -7287,8 +7288,6 @@@@ fi d17 8 a24 1 fi d26 11 a36 5 -LIBS="$LIBS -lresolv" - echo "$as_me:$LINENO: checking for herror" >&5 echo $ECHO_N "checking for herror... $ECHO_C" >&6 if test "${ac_cv_func_herror+set}" = set; then @ 1.7 log @Update to 0.72: Minor (undocumented) improvements. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.6 2006/05/12 07:51:05 joerg Exp $ @ 1.6 log @Don't override the result of configure a few moments ago by hard-coding -lresolv. It might not exist at all and break the other configure tests. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- configure.orig 2006-05-12 07:46:21.000000000 +0000 d5 1 a5 1 @@@@ -6882,6 +6882,7 @@@@ _ACEOF d13 1 a13 1 @@@@ -6965,8 +6966,6 @@@@ fi @ 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 @d1 1 a1 1 $NetBSD: patch-aa,v 1.4 2005/02/27 22:49:43 wiz Exp $ d3 19 a21 12 --- 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; } } @ 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-aa,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-aa,v 1.2 2002/03/13 02:16:12 wiz Exp $ d3 3 a5 3 --- 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 @@@@ d7 1 a7 1 (struct sockaddr *)&remoteaddress, sizeof(remoteaddress)); @ 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 4 a6 4 --- net.c.orig Wed Mar 6 12:27:37 2002 +++ net.c @@@@ -219,7 +219,9 @@@@ rv = sendto(sendsock, packet, packetsize, 0, @ 1.1 log @Standardize patch file names. @ text @d1 1 a1 1 $NetBSD: patch-01,v 1.2 1999/12/04 16:50:11 sommerfeld Exp $ d3 3 a5 3 --- net.c.orig Fri Aug 13 18:46:49 1999 +++ net.c Sat Dec 4 11:44:33 1999 @@@@ -213,7 +213,9 @@@@ @