summaryrefslogtreecommitdiff
path: root/net/mtr
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-05-28 17:26:23 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-05-28 17:26:23 +0000
commitf2c29dc0241d0e566c32b38da65a649ed1ba5f00 (patch)
tree2d240e7fe8424822fbfc56c34ad269b425e9ef09 /net/mtr
parent- Add mutt-lite, a slave port for mutt which defines MUTT_LITE flag (diff)
- Update to 0.69
PR: ports/79237 Submitted by: ume Approved by: maintainer timeout (2 months)
Notes
Notes: svn path=/head/; revision=136349
Diffstat (limited to 'net/mtr')
-rw-r--r--net/mtr/Makefile5
-rw-r--r--net/mtr/distinfo4
-rw-r--r--net/mtr/files/patch-dns.c31
-rw-r--r--net/mtr/files/patch-raw.c10
4 files changed, 35 insertions, 15 deletions
diff --git a/net/mtr/Makefile b/net/mtr/Makefile
index 45f6c1b5ac2b..5202c8e6efdf 100644
--- a/net/mtr/Makefile
+++ b/net/mtr/Makefile
@@ -6,9 +6,8 @@
#
PORTNAME= mtr
-PORTVERSION= 0.65
-PORTREVISION= 2
-CATEGORIES= net
+PORTVERSION= 0.69
+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/
diff --git a/net/mtr/distinfo b/net/mtr/distinfo
index 7c675897c9e7..c3feeadbe5c8 100644
--- a/net/mtr/distinfo
+++ b/net/mtr/distinfo
@@ -1,2 +1,2 @@
-MD5 (mtr-0.65.tar.gz) = 32de3cb8f0763e352124ff4fd74690ab
-SIZE (mtr-0.65.tar.gz) = 132318
+MD5 (mtr-0.69.tar.gz) = 58904d6d8d70114195cdeb653d56914c
+SIZE (mtr-0.69.tar.gz) = 183216
diff --git a/net/mtr/files/patch-dns.c b/net/mtr/files/patch-dns.c
new file mode 100644
index 000000000000..be647f48674c
--- /dev/null
+++ b/net/mtr/files/patch-dns.c
@@ -0,0 +1,31 @@
+Index: dns.c
+diff -u -p dns.c.orig dns.c
+--- dns.c.orig Tue Jan 11 17:32:42 2005
++++ dns.c Thu Feb 3 19:25:28 2005
+@@ -437,7 +437,7 @@ char *strlongip(ip_t * ip)
+ }
+
+
+-int longipstr(char *s, ip_t *dst)
++int longipstr(char *s, ip_t *dst, int af)
+ {
+ #ifdef ENABLE_IPV6
+ return inet_pton( af, s, dst );
+@@ -488,7 +488,7 @@ void dns_open(void)
+ strerror(errno));
+ exit(-1);
+ }
+- longipstr( "127.0.0.1", &localhost );
++ longipstr( "127.0.0.1", &localhost, AF_INET );
+ aseed = time(NULL) ^ (time(NULL) << 3) ^ (dword)getpid();
+ for (i = 0;i < BashSize;i++) {
+ idbash[i] = NULL;
+@@ -1228,7 +1228,7 @@ void dns_ack(void)
+ if ( addrcmp( (void *) &(_res.nsaddr_list[i].sin_addr),
+ (void *) &(from4->sin_addr), (int) AF_INET ) == 0 ||
+ addrcmp( (void *) &(_res.nsaddr_list[i].sin_addr),
+- (void *) &unspec_addr, (int) AF_INET ) != 0 ) /* 0.0.0.0 replies as 127.0.0.1 */
++ (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++)
diff --git a/net/mtr/files/patch-raw.c b/net/mtr/files/patch-raw.c
deleted file mode 100644
index 58b0bddad136..000000000000
--- a/net/mtr/files/patch-raw.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- raw.c.orig Sat Oct 30 13:27:31 2004
-+++ raw.c Sat Oct 30 13:27:39 2004
-@@ -22,6 +22,7 @@
- #include <ctype.h>
- #include <stdlib.h>
- #include <stdio.h>
-+#include <sys/types.h>
- #include <sys/socket.h>
- #include <netinet/in.h>
- #include <arpa/inet.h>