View | Details | Raw Unified | Return to bug 96736
Collapse All | Expand All

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

Return to bug 96736