Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 May 2006 19:19:08 -0300 (BRST)
From:      Rainer Alves <rainer.alves@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/96736: [UPDATE] net/mtr to 0.71
Message-ID:  <200605032219.k43MJ8Qt071406@valfenda.ibest.com.br>
Resent-Message-ID: <200605032220.k43MKME1000927@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         96736
>Category:       ports
>Synopsis:       [UPDATE] net/mtr to 0.71
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 03 22:20:21 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Rainer Alves
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
BrasilTelecom

>Environment:
>Description:

- Update to 0.71
- Take maintainership


>How-To-Repeat:
>Fix:

--- mtr-0.71.diff begins here ---
diff -ruN /usr/ports/net/mtr/Makefile net/mtr/Makefile
--- /usr/ports/net/mtr/Makefile	Fri Apr 21 18:37:49 2006
+++ net/mtr/Makefile	Wed May  3 18:42:44 2006
@@ -6,13 +6,14 @@
 #
 
 PORTNAME=	mtr
-PORTVERSION=	0.70
+PORTVERSION=	0.71
 CATEGORIES=	net ipv6
 MASTER_SITES=	ftp://ftp.bitwizard.nl/mtr/ \
-		ftp://ftp.netsw.org/net/ip/audit/packets/ \
-		ftp://ftp.gw.com/mirrors/pub/unix/mtr/
+		http://www.mirrors.wiretapped.net/security/network-mapping/mtr/ \
+		http://gd.tuwien.ac.at/infosys/network/tools/mtr/ \
+		http://mirrors.evolva.ro/util/mtr/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	rainer.alves@gmail.com
 COMMENT=	Traceroute and ping in a single graphical network diagnostic tool
 
 GNU_CONFIGURE=	yes
diff -ruN /usr/ports/net/mtr/distinfo net/mtr/distinfo
--- /usr/ports/net/mtr/distinfo	Fri Apr 21 18:37:49 2006
+++ net/mtr/distinfo	Wed May  3 18:44:08 2006
@@ -1,3 +1,3 @@
-MD5 (mtr-0.70.tar.gz) = 3011726717c60972ecbbb53c74f31e84
-SHA256 (mtr-0.70.tar.gz) = 2e3ae5b774f24e5d1ffaafe1947295cd9fd3e3a87f8d0ae1ad8808aaba1990c3
-SIZE (mtr-0.70.tar.gz) = 201017
+MD5 (mtr-0.71.tar.gz) = 8c1c9f5db2c599eea3b12bfed8b80618
+SHA256 (mtr-0.71.tar.gz) = b742c46797ba23000e149c99127580d541ed44a69b5bbc44323211665c95e02a
+SIZE (mtr-0.71.tar.gz) = 205442
diff -ruN /usr/ports/net/mtr/files/patch-configure net/mtr/files/patch-configure
--- /usr/ports/net/mtr/files/patch-configure	Wed Dec 31 21:00:00 1969
+++ net/mtr/files/patch-configure	Wed May  3 19:00:51 2006
@@ -0,0 +1,51 @@
+--- configure.orig	Fri Mar 24 03:46:43 2006
++++ configure	Wed May  3 19:00:36 2006
+@@ -6817,7 +6817,7 @@
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lresolv  $LIBS"
++LIBS="$LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h.  */
+ _ACEOF
+@@ -6876,10 +6876,10 @@
+ echo "${ECHO_T}$ac_cv_lib_resolv_res_mkquery" >&6
+ if test $ac_cv_lib_resolv_res_mkquery = yes; then
+   cat >>confdefs.h <<_ACEOF
+-#define HAVE_LIBRESOLV 1
++#define HAVE_LIBRESOLV 0
+ _ACEOF
+ 
+-  LIBS="-lresolv $LIBS"
++  LIBS="$LIBS"
+ 
+ else
+ 
+@@ -6889,7 +6889,7 @@
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lresolv  $LIBS"
++LIBS="$LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h.  */
+ _ACEOF
+@@ -6951,7 +6951,7 @@
+ #define HAVE_LIBRESOLV 1
+ _ACEOF
+ 
+-  LIBS="-lresolv $LIBS"
++  LIBS="$LIBS"
+ 
+ else
+   { { echo "$as_me:$LINENO: error: No resolver library found" >&5
+@@ -6965,7 +6965,7 @@
+ 
+ fi
+ 
+-LIBS="$LIBS -lresolv"
++LIBS="$LIBS"
+ 
+ echo "$as_me:$LINENO: checking for herror" >&5
+ echo $ECHO_N "checking for herror... $ECHO_C" >&6
diff -ruN /usr/ports/net/mtr/files/patch-dns.c net/mtr/files/patch-dns.c
--- /usr/ports/net/mtr/files/patch-dns.c	Fri Apr 21 18:37:49 2006
+++ net/mtr/files/patch-dns.c	Wed May  3 18:48:27 2006
@@ -1,6 +1,20 @@
---- dns.c      2006-03-22 19:45:58.000000000 -1000
-+++ dns.c      2006-03-25 11:41:31.000000000 -1000
-@@ -1357,7 +1357,7 @@
+--- dns.c.orig	Thu Mar 23 02:45:58 2006
++++ dns.c	Wed May  3 18:48:01 2006
+@@ -48,11 +48,13 @@
+ #include "dns.h"
+ #include "net.h"
+ 
++/*
+ #ifdef NO_STRERROR
+ extern int sys_nerr;
+ extern char *sys_errlist[];
+ #define strerror(errno) (((errno) >= 0 && (errno) < sys_nerr) ? sys_errlist[errno] : "unlisted error")
+ #endif
++*/
+ 
+ /*  Hmm, it seems Irix requires this  */
+ extern int errno;
+@@ -1357,7 +1359,7 @@
  #ifdef ENABLE_IPV6
  /* Returns an ip6.arpa character string. */
  void addr2ip6arpa( ip_t * ip, char * buf ) {
@@ -8,3 +22,4 @@
 +  unsigned char * p = (unsigned char *) ip;
    char * b = buf;
    int i;
+ 
diff -ruN /usr/ports/net/mtr/pkg-descr net/mtr/pkg-descr
--- /usr/ports/net/mtr/pkg-descr	Fri Sep 17 16:16:19 1999
+++ net/mtr/pkg-descr	Wed May  3 18:43:33 2006
@@ -1,10 +1,4 @@
 mtr combines the functionality of the "traceroute" and "ping" programs
 into a single network diagnostic tool. 
 
-Authors:   Matt Kimball <mkimball@xmission.com> is the primary author of mtr.
-	   Roger Wolff <R.E.Wolff@BitWizard.nl> is currently maintaing mtr. 
 WWW:  http://www.bitwizard.nl/mtr/
-
-Ported to FreeBSD by:
-Bill Fumerola (billf@chc-chimes.com)
-Gianmarco Giovannelli (gmarco@giovannelli.it)
--- mtr-0.71.diff ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605032219.k43MJ8Qt071406>