maintenance update to 0.71, some changes have been merged upstream.

ok jakob@
This commit is contained in:
aanriot 2006-06-26 20:39:16 +00:00
parent 9888fb9ae3
commit 7f882c6d68
5 changed files with 21 additions and 69 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.30 2006/02/02 18:49:17 jakob Exp $
# $OpenBSD: Makefile,v 1.31 2006/06/26 20:39:16 aanriot Exp $
COMMENT= "Matt's traceroute - network diagnostic tool"
VERSION= 0.69
VERSION= 0.71
DISTNAME= mtr-${VERSION}
CATEGORIES= net
@ -16,8 +16,7 @@ PERMIT_DISTFILES_CDROM= yes
PERMIT_DISTFILES_FTP= yes
WANTLIB= c m termcap
MASTER_SITES= ftp://ftp.bitwizard.nl/mtr/ \
ftp://ftp.lysator.liu.se/mirror/unix/mtr/
MASTER_SITES= ftp://ftp.bitwizard.nl/mtr/
CONFIGURE_STYLE=gnu

View File

@ -1,4 +1,4 @@
MD5 (mtr-0.69.tar.gz) = 58904d6d8d70114195cdeb653d56914c
SHA1 (mtr-0.69.tar.gz) = 3fd0fa148b349d1966e0d79af0ffb84ecc7bed4b
RMD160 (mtr-0.69.tar.gz) = e95e0f27253d8d94587b429cbb65311035e93c2e
SIZE (mtr-0.69.tar.gz) = 183216
MD5 (mtr-0.71.tar.gz) = 8c1c9f5db2c599eea3b12bfed8b80618
RMD160 (mtr-0.71.tar.gz) = 9979721f39a83f4ad6d41d3e9f4c7848b7a99745
SHA1 (mtr-0.71.tar.gz) = 5a2b72e0d69522e524e961c3195d5878c49510b4
SIZE (mtr-0.71.tar.gz) = 205442

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-configure,v 1.1 2006/06/26 20:39:16 aanriot Exp $
--- configure.orig Fri Jun 9 15:45:35 2006
+++ configure Fri Jun 9 15:46:31 2006
@@ -6965,7 +6965,7 @@ fi
fi
-LIBS="$LIBS -lresolv"
+#LIBS="$LIBS -lresolv"
echo "$as_me:$LINENO: checking for herror" >&5
echo $ECHO_N "checking for herror... $ECHO_C" >&6

View File

@ -1,31 +0,0 @@
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++)

View File

@ -1,28 +0,0 @@
--- net.c.orig Thu Jan 13 08:13:53 2005
+++ net.c Wed Nov 16 19:43:05 2005
@@ -277,7 +277,7 @@
exit( EXIT_FAILURE);
}
echotype = ICMP6_ECHO_REQUEST;
- salen = sizeof (struct sockaddr_storage);
+ salen = sizeof (struct sockaddr_in6);
break;
#endif
}
@@ -305,7 +305,6 @@
rv = sendto(sendsock, packet, abs(packetsize), 0,
remotesockaddr, salen);
if (rv >= 0) {
- fprintf (stderr, "You've got a broken (FreeBSD?) system\n");
BSDfix = 1;
}
}
@@ -346,7 +345,7 @@
addrcpy( (void *) &(host[index].addrs[0]), addr, af );
} else {
for( i=0; i<MAXPATH; ) {
- if( addrcmp( (void *) &(host[index].addrs[i]), (void *) &addr,
+ if( addrcmp( (void *) &(host[index].addrs[i]), addr,
af ) == 0 ||
addrcmp( (void *) &(host[index].addrs[i]),
(void *) &unspec_addr, af ) == 0 ) break;