summaryrefslogtreecommitdiff
path: root/net/mtr-gtk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-03-13 02:16:11 +0000
committerwiz <wiz@pkgsrc.org>2002-03-13 02:16:11 +0000
commit42753fc182b11a7dfb981798297ba7eb802bd2b9 (patch)
tree43926467ec15b59f20e5a0ff46cf3c9eb74384d7 /net/mtr-gtk
parentdaaf57e4e5d472ccc3291c5f85829bab9ae0518f (diff)
downloadpkgsrc-42753fc182b11a7dfb981798297ba7eb802bd2b9.tar.gz
Update mtr packages to 0.49. Changes since 0.42:
v0.49 Fix compilation problems on several platforms. v0.48 Draw names in red (GTK) or bold (Curses) if host doesn't respond. v0.47 Fixed a (believed-) non-exploitable bufferoverflow. Thanks Damian. v0.46 Included patch to be able to specify outgoing interface address. v0.45 People are pressuring me to release new versions with their changes. That's fine. Now this version just adds dynamic switching between numeric / dns names, and some minor stuff I forgot. This release serves as a code-sycn-release. new version with even more new stuff in about two weeks! I'm afraid I don't know how to fix the MaxOS-X compilation problems in the source. Help wanted... v0.44 David Stone adds the "last" column to the gtk version. v0.43 Compile fixes.
Diffstat (limited to 'net/mtr-gtk')
-rw-r--r--net/mtr-gtk/Makefile7
-rw-r--r--net/mtr-gtk/distinfo10
-rw-r--r--net/mtr-gtk/patches/patch-aa4
-rw-r--r--net/mtr-gtk/patches/patch-ab32
4 files changed, 12 insertions, 41 deletions
diff --git a/net/mtr-gtk/Makefile b/net/mtr-gtk/Makefile
index 6adeff2d480..03c04467c94 100644
--- a/net/mtr-gtk/Makefile
+++ b/net/mtr-gtk/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2001/12/05 15:00:48 agc Exp $
+# $NetBSD: Makefile,v 1.5 2002/03/13 02:16:13 wiz Exp $
#
-DISTNAME= mtr-0.42
-PKGNAME= mtr-gtk-0.42
-PKGREVISION= 1
+DISTNAME= mtr-0.49
+PKGNAME= ${DISTNAME:S/-/-gtk-/}
CATEGORIES= net
MASTER_SITES= ftp://ftp.bitwizard.nl/mtr/ \
http://www.giovannelli.it/~gmarco/files/
diff --git a/net/mtr-gtk/distinfo b/net/mtr-gtk/distinfo
index 34f013ba44f..12a244a6c76 100644
--- a/net/mtr-gtk/distinfo
+++ b/net/mtr-gtk/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2001/11/04 14:09:32 wiz Exp $
+$NetBSD: distinfo,v 1.3 2002/03/13 02:16:13 wiz Exp $
-SHA1 (mtr-0.42.tar.gz) = 7bcb6c317911139355cabe5b21e1c7efc5cb5694
-Size (mtr-0.42.tar.gz) = 84767 bytes
-SHA1 (patch-aa) = c098f19f68220fa6c37d3e43edc2d6c49cba8118
-SHA1 (patch-ab) = 6bb67583986d71e0986e65d61e96b3c41b40d4b4
+SHA1 (mtr-0.49.tar.gz) = b7cb6e3691c9a8abfdd66ba0d22745caf2374024
+Size (mtr-0.49.tar.gz) = 87205 bytes
+SHA1 (patch-aa) = 7dd40b1a6e7781b309e419432e994879fe5be83e
+SHA1 (patch-ab) = acd87c1b5e0d02ba4427947d30389fc196b1d0fe
diff --git a/net/mtr-gtk/patches/patch-aa b/net/mtr-gtk/patches/patch-aa
index 17f4028c569..80d46c7e437 100644
--- a/net/mtr-gtk/patches/patch-aa
+++ b/net/mtr-gtk/patches/patch-aa
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/10/16 15:11:00 agc Exp $
+$NetBSD: patch-aa,v 1.2 2002/03/13 02:16:13 wiz Exp $
--- net.c.orig Fri Aug 13 18:46:49 1999
-+++ net.c Sat Dec 4 11:44:33 1999
++++ net.c
@@ -213,7 +213,9 @@
rv = sendto(sendsock, packet, packetsize, 0,
(struct sockaddr *)&remoteaddress, sizeof(remoteaddress));
diff --git a/net/mtr-gtk/patches/patch-ab b/net/mtr-gtk/patches/patch-ab
index ff4af0543be..bf316baf4b1 100644
--- a/net/mtr-gtk/patches/patch-ab
+++ b/net/mtr-gtk/patches/patch-ab
@@ -1,7 +1,7 @@
-$NetBSD: patch-ab,v 1.2 2001/11/04 14:09:32 wiz Exp $
+$NetBSD: patch-ab,v 1.3 2002/03/13 02:16:13 wiz Exp $
--- dns.c.orig Sat Mar 4 02:46:55 2000
-+++ dns.c Fri Nov 2 14:16:56 2001
++++ dns.c
@@ -751,7 +751,7 @@
void dorequest(char *s,int type,word id){
packetheader *hp;
@@ -11,31 +11,3 @@ $NetBSD: patch-ab,v 1.2 2001/11/04 14:09:32 wiz Exp $
r = res_mkquery(QUERY,s,C_IN,type,NULL,0,NULL,buf,MaxPacketsize);
if (r == -1){
restell("Resolver error: Query too large.");
-@@ -981,7 +981,7 @@
- restell("Resolver error: Specified rdata length exceeds packet size.");
- return;
- }
-- if (datatype == qdatatype){
-+ if (datatype == qdatatype || datatype == T_CNAME){
- if (debug){
- sprintf(tempstring,"Resolver: TTL: %s",strtdiff(sendstring,ttl));
- restell(tempstring);
-@@ -1013,6 +1013,7 @@
- }
- break;
- case T_PTR:
-+ case T_CNAME:
- *namestring = '\0';
- r = dn_expand(s,s + l,c,namestring,MAXDNAME);
- if (r == -1){
-@@ -1027,6 +1028,10 @@
- restell("Resolver error: Domain name too long.");
- failrp(rp);
- return;
-+ }
-+ if (datatype == T_CNAME){
-+ strcpy(stackstring,namestring);
-+ break;
- }
- if (!rp->hostname){
- rp->hostname = (char *)statmalloc(strlen(namestring) + 1);