Hello community, here is the log from the commit of package mtr for openSUSE:Factory checked in at Fri Jan 9 01:36:04 CET 2009. -------- --- mtr/mtr.changes 2008-05-27 18:05:37.000000000 +0200 +++ /mounts/work_src_done/STABLE/mtr/mtr.changes 2009-01-06 17:15:48.000000000 +0100 @@ -1,0 +2,16 @@ +Tue Jan 6 16:30:13 CET 2009 - mseben@suse.cz + +- update to v0.75 + * feelgood patch to move sprintf to snprintf + * cut-paste patches: you can now copy an intermediate host to the + clipboard +- v0.74 + * Martin Pels' patch to allow UDP probes + * changed some docs to advertise the new mailing list + * added documentation for the Mac OS X compilation problem + * added -Wno-pointer-sign to the compiler options + * Nico Lichtmaier's cleanup-gtk patch. (now mtr uses a more modern + dialect of gtk) +- rewritten mtr-*-sec_snprintf.patch for v0.75 + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- mtr-0.73-manmtr.patch mtr-0.73-manxmtr.patch mtr-0.73-nonvoid.patch mtr-0.73-sec_snprintf.patch mtr-0.73.tar.bz2 New: ---- mtr-0.75-manmtr.patch mtr-0.75-manxmtr.patch mtr-0.75-nonvoid.patch mtr-0.75-sec_snprintf.patch mtr-0.75.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mtr.spec ++++++ --- /var/tmp/diff_new_pack.dj6957/_old 2009-01-09 01:35:41.000000000 +0100 +++ /var/tmp/diff_new_pack.dj6957/_new 2009-01-09 01:35:41.000000000 +0100 @@ -1,10 +1,17 @@ # -# spec file for package mtr (Version 0.73) +# spec file for package mtr (Version 0.75) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -14,8 +21,8 @@ Name: mtr BuildRequires: gtk1-compat-devel gtk2-devel ncurses-devel update-desktop-files xorg-x11-devel Summary: Ping and Traceroute Network Diagnostic Tool -Version: 0.73 -Release: 14 +Version: 0.75 +Release: 1 Group: Productivity/Networking/Diagnostic License: GPL v2 or later Url: http://www.BitWizard.nl/mtr @@ -150,6 +157,19 @@ %verify_permissions -e /usr/sbin/mtr %changelog +* Tue Jan 06 2009 mseben@suse.cz +- update to v0.75 + * feelgood patch to move sprintf to snprintf + * cut-paste patches: you can now copy an intermediate host to the + clipboard +- v0.74 + * Martin Pels' patch to allow UDP probes + * changed some docs to advertise the new mailing list + * added documentation for the Mac OS X compilation problem + * added -Wno-pointer-sign to the compiler options + * Nico Lichtmaier's cleanup-gtk patch. (now mtr uses a more modern + dialect of gtk) +- rewritten mtr-*-sec_snprintf.patch for v0.75 * Tue May 27 2008 lmichnovic@suse.cz - fixed more possible overflows because of using sprintf in dns.c (*-sec_snprintf.patch) [bnc#392458] @@ -189,7 +209,7 @@ * Thu Jan 20 2005 postadal@suse.cz - updated to version 0.69 - removed obsoleted patch automake.patch -* Thu Dec 16 2004 hvogel@suse.de +* Wed Dec 15 2004 hvogel@suse.de - fix desktop file * Wed Nov 10 2004 ro@suse.de - permission handling fixes for /usr/sbin/mtr @@ -221,7 +241,7 @@ * Mon Mar 18 2002 pmladek@suse.cz - security update to fix a local buffer overflow, which enables an attacker to gain access to mtr's raw socket -* Tue Feb 12 2002 bk@suse.de +* Mon Feb 11 2002 bk@suse.de - updated to version 0.46(looks sane) * Added --address option to bind to given IP addess - adapt configure.in check for res_mkquery to work on s390x also ++++++ mtr-0.73-manmtr.patch -> mtr-0.75-manmtr.patch ++++++ ++++++ mtr-0.73-manxmtr.patch -> mtr-0.75-manxmtr.patch ++++++ ++++++ mtr-0.73-nonvoid.patch -> mtr-0.75-nonvoid.patch ++++++ ++++++ mtr-0.73-sec_snprintf.patch -> mtr-0.75-sec_snprintf.patch ++++++ --- mtr/mtr-0.73-sec_snprintf.patch 2008-05-27 17:45:30.000000000 +0200 +++ /mounts/work_src_done/STABLE/mtr/mtr-0.75-sec_snprintf.patch 2009-01-06 16:20:38.000000000 +0100 @@ -1,213 +1,5 @@ --- dns.c +++ dns.c -@@ -877,14 +877,14 @@ - if (type == T_A) { - dorequest(rp->hostname,type,rp->id); - if (debug) { -- sprintf(tempstring,"Resolver: Sent reverse authentication request for \"%s\".", -+ snprintf(tempstring, sizeof(tempstring),"Resolver: Sent reverse authentication request for \"%s\".", - rp->hostname); - restell(tempstring); - } - } else if (type == T_PTR) { - switch ( af ) { - case AF_INET: +@@ -903 +903 @@ void resendrequest(struct resolve *rp,in - sprintf(tempstring,"%u.%u.%u.%u.in-addr.arpa", + snprintf(tempstring, sizeof(tempstring),"%u.%u.%u.%u.in-addr.arpa", - ((byte *)&rp->ip)[3], - ((byte *)&rp->ip)[2], - ((byte *)&rp->ip)[1], -@@ -898,7 +898,7 @@ - } - dorequest(tempstring,type,rp->id); - if (debug) { -- sprintf(tempstring,"Resolver: Sent domain lookup request for \"%s\".", -+ snprintf(tempstring, sizeof(tempstring),"Resolver: Sent domain lookup request for \"%s\".", - strlongip( &(rp->ip) )); - restell(tempstring); - } -@@ -934,7 +934,7 @@ - rp->expiretime = sweeptime + (double)ttl; - untieresolve(rp); - if (debug) { -- sprintf(tempstring,"Resolver: Lookup successful: %s\n",rp->hostname); -+ snprintf(tempstring, sizeof(tempstring),"Resolver: Lookup successful: %s\n",rp->hostname); - restell(tempstring); - } - } -@@ -991,7 +991,7 @@ - case NOERROR: - if (hp->ancount) { - if (debug) { -- sprintf(tempstring,"Resolver: Received nameserver reply. (qd:%u an:%u ns:%u ar:%u)", -+ snprintf(tempstring, sizeof(tempstring),"Resolver: Received nameserver reply. (qd:%u an:%u ns:%u ar:%u)", - hp->qdcount,hp->ancount,hp->nscount,hp->arcount); - restell(tempstring); - } -@@ -1031,14 +1031,14 @@ - namestring[strlen(stackstring)] = '\0'; - if (strcasecmp(stackstring,namestring)) { - if (debug) { -- sprintf(tempstring,"Resolver: Unknown query packet dropped. (\"%s\" does not match \"%s\")", -+ snprintf(tempstring, sizeof(tempstring),"Resolver: Unknown query packet dropped. (\"%s\" does not match \"%s\")", - stackstring,namestring); - restell(tempstring); - } - return; - } - if (debug) { -- sprintf(tempstring,"Resolver: Queried domain name: \"%s\"",namestring); -+ snprintf(tempstring, sizeof(tempstring),"Resolver: Queried domain name: \"%s\"",namestring); - restell(tempstring); - } - c+= r; -@@ -1049,7 +1049,7 @@ - qdatatype = sucknetword(c); - qclass = sucknetword(c); - if (qclass != C_IN) { -- sprintf(tempstring,"Resolver error: Received unsupported query class: %u (%s)", -+ snprintf(tempstring, sizeof(tempstring), "Resolver error: Received unsupported query class: %u (%s)", - qclass,qclass < ClasstypeCount ? classtypes[qclass] : - classtypes[ClasstypeCount]); - restell(tempstring); -@@ -1063,7 +1063,7 @@ - } - break; - default: -- sprintf(tempstring,"Resolver error: Received unimplemented query type: %u (%s)", -+ snprintf(tempstring, sizeof(tempstring),"Resolver error: Received unimplemented query type: %u (%s)", - qdatatype,qdatatype < ResourcetypeCount ? - resourcetypes[qdatatype] : resourcetypes[ResourcetypeCount]); - restell(tempstring); -@@ -1085,7 +1085,7 @@ - else - usefulanswer = 1; - if (debug) { -- sprintf(tempstring,"Resolver: answered domain query: \"%s\"",namestring); -+ snprintf(tempstring, sizeof(tempstring),"Resolver: answered domain query: \"%s\"",namestring); - restell(tempstring); - } - c+= r; -@@ -1098,10 +1098,10 @@ - ttl = sucknetlong(c); - rdatalength = sucknetword(c); - if (class != qclass) { -- sprintf(tempstring,"query class: %u (%s)",qclass,qclass < ClasstypeCount ? -+ snprintf(tempstring, sizeof(tempstring),"query class: %u (%s)",qclass,qclass < ClasstypeCount ? - classtypes[qclass] : classtypes[ClasstypeCount]); - restell(tempstring); -- sprintf(tempstring,"rr class: %u (%s)",class,class < ClasstypeCount ? -+ snprintf(tempstring, sizeof(tempstring),"rr class: %u (%s)",class,class < ClasstypeCount ? - classtypes[class] : classtypes[ClasstypeCount]); - restell(tempstring); - restell("Resolver error: Answered class does not match queried class."); -@@ -1117,20 +1117,20 @@ - } - if (datatype == qdatatype || datatype == T_CNAME) { - if (debug) { -- sprintf(tempstring,"Resolver: TTL: %s",strtdiff(sendstring,ttl)); -+ snprintf(tempstring, sizeof(tempstring), "Resolver: TTL: %s",strtdiff(sendstring,ttl)); - restell(tempstring); - } - if (usefulanswer) - switch (datatype) { - case T_A: - if (rdatalength != 4) { -- sprintf(tempstring,"Resolver error: Unsupported rdata format for \"A\" type. (%u bytes)", -+ snprintf(tempstring, sizeof(tempstring),"Resolver error: Unsupported rdata format for \"A\" type. (%u bytes)", - rdatalength); - restell(tempstring); - return; - } - if ( addrcmp( (void *) &(rp->ip), (void *) c, af ) == 0 ) { -- sprintf(tempstring,"Resolver: Reverse authentication failed: %s != ", -+ snprintf(tempstring, sizeof(tempstring),"Resolver: Reverse authentication failed: %s != ", - strlongip( &(rp->ip) )); - addrcpy( (void *) &alignedip, (void *) c, af ); - strcat(tempstring,strlongip( &alignedip )); -@@ -1138,7 +1138,7 @@ - res_hostipmismatch++; - failrp(rp); - } else { -- sprintf(tempstring,"Resolver: Reverse authentication complete: %s == \"%s\".", -+ snprintf(tempstring, sizeof(tempstring),"Resolver: Reverse authentication complete: %s == \"%s\".", - strlongip( &(rp->ip) ),nonull(rp->hostname)); - restell(tempstring); - res_reversesuccess++; -@@ -1155,7 +1155,7 @@ - return; - } - if (debug) { -- sprintf(tempstring,"Resolver: Answered domain: \"%s\"",namestring); -+ snprintf(tempstring, sizeof(tempstring),"Resolver: Answered domain: \"%s\"",namestring); - restell(tempstring); - } - if (r > HostnameLength) { -@@ -1180,14 +1180,14 @@ - } - break; - default: -- sprintf(tempstring,"Resolver error: Received unimplemented data type: %u (%s)", -+ snprintf(tempstring, sizeof(tempstring),"Resolver error: Received unimplemented data type: %u (%s)", - datatype,datatype < ResourcetypeCount ? - resourcetypes[datatype] : resourcetypes[ResourcetypeCount]); - restell(tempstring); - } - } else { - if (debug) { -- sprintf(tempstring,"Resolver: Ignoring resource type %u. (%s)", -+ snprintf(tempstring, sizeof(tempstring),"Resolver: Ignoring resource type %u. (%s)", - datatype,datatype < ResourcetypeCount ? - resourcetypes[datatype] : resourcetypes[ResourcetypeCount]); - restell(tempstring); -@@ -1205,7 +1205,7 @@ - failrp(rp); - break; - default: -- sprintf(tempstring,"Resolver: Received error response %u. (%s)", -+ snprintf(tempstring, sizeof(tempstring),"Resolver: Received error response %u. (%s)", - getheader_rcode(hp),getheader_rcode(hp) < ResponsecodeCount ? - responsecodes[getheader_rcode(hp)] : responsecodes[ResponsecodeCount]); - restell(tempstring); -@@ -1236,13 +1236,13 @@ - (void *) &(from4->sin_addr), AF_INET ) == 0 ) - break; - if (i == _res.nscount) { -- sprintf(tempstring,"Resolver error: Received reply from unknown source: %s", -+ snprintf(tempstring, sizeof(tempstring), "Resolver error: Received reply from unknown source: %s", - inet_ntoa(from4->sin_addr )); - restell(tempstring); - } else - parserespacket((byte *)resrecvbuf,r); - } else { -- sprintf(tempstring,"Resolver: Socket error: %s",strerror(errno)); -+ snprintf(tempstring, sizeof(tempstring),"Resolver: Socket error: %s",strerror(errno)); - restell(tempstring); - } - } -@@ -1271,7 +1271,7 @@ - case STATE_FINISHED: /* TTL has expired */ - case STATE_FAILED: /* Fake TTL has expired */ - if (debug) { -- sprintf(tempstring,"Resolver: Cache record for \"%s\" (%s) has expired. (state: %u) Marked for expire at: %g, time: %g.", -+ snprintf(tempstring, sizeof(tempstring),"Resolver: Cache record for \"%s\" (%s) has expired. (state: %u) Marked for expire at: %g, time: %g.", - nonull(rp->hostname), strlongip( &(rp->ip) ), - rp->state, rp->expiretime, sweeptime); - restell(tempstring); -@@ -1315,14 +1315,14 @@ - if ((rp->state == STATE_FINISHED) || (rp->state == STATE_FAILED)) { - if ((rp->state == STATE_FINISHED) && (rp->hostname)) { - if (debug) { -- sprintf(tempstring,"Resolver: Used cached record: %s == \"%s\".\n", -+ snprintf(tempstring, sizeof(tempstring),"Resolver: Used cached record: %s == \"%s\".\n", - strlongip(ip),rp->hostname); - restell(tempstring); - } - return rp->hostname; - } else { - if (debug) { -- sprintf(tempstring,"Resolver: Used failed record: %s == ???\n", -+ snprintf(tempstring, sizeof(tempstring),"Resolver: Used failed record: %s == ???\n", - strlongip(ip)); - restell(tempstring); - } ++++++ mtr-0.73.tar.bz2 -> mtr-0.75.tar.bz2 ++++++ ++++ 33291 lines of diff (skipped) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org