summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-05-28 17:26:23 +0000
committerpav <pav@FreeBSD.org>2005-05-28 17:26:23 +0000
commitf665a2cfcf6bace12e584c6f49322a9320ef8a69 (patch)
treebb4f8aa8963a052c1b17fa8f650e6691ceb605d2 /net
parentf27480481f85fac543d115df3244283ce25bf12f (diff)
downloadFreeBSD-ports-f665a2cfcf6bace12e584c6f49322a9320ef8a69.zip
FreeBSD-ports-f665a2cfcf6bace12e584c6f49322a9320ef8a69.tar.gz
- Update to 0.69
PR: ports/79237 Submitted by: ume Approved by: maintainer timeout (2 months)
Diffstat (limited to 'net')
-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 45f6c1b..5202c8e 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 7c67589..c3feead 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 0000000..be647f4
--- /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 58b0bdd..0000000
--- 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>
OpenPOWER on IntegriCloud