--- traceroute-2.0.15.orig/debian/traceroute.linitian-overrides +++ traceroute-2.0.15/debian/traceroute.linitian-overrides @@ -0,0 +1,2 @@ +traceroute: command-with-path-in-maintainer-script postinst:8 /usr/bin/traceroute +traceroute: command-with-path-in-maintainer-script postinst:10 /usr/bin/traceroute --- traceroute-2.0.15.orig/debian/traceroute.prerm +++ traceroute-2.0.15/debian/traceroute.prerm @@ -0,0 +1,32 @@ +#!/bin/sh + +set -e + +case "${1}" in + remove|upgrade|deconfigure) + update-alternatives --remove traceroute /usr/bin/traceroute.db + + for ALTERNATIVE in traceroute6 lft traceproto + do + update-alternatives --remove ${ALTERNATIVE} /usr/bin/${ALTERNATIVE}.db + done + + for ALTERNATIVE in tcptraceroute + do + update-alternatives --remove ${ALTERNATIVE} /usr/sbin/${ALTERNATIVE}.db + done + ;; + + failed-upgrade) + + ;; + + *) + echo "prerm called with unknown argument \`${1}'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- traceroute-2.0.15.orig/debian/copyright +++ traceroute-2.0.15/debian/copyright @@ -0,0 +1,44 @@ +Upstream-Contact: Traceroute project +Upstream-Homepage: http://traceroute.sourceforge.net/ +Maintainer-Contact: Daniel Baumann +Maintainer-Homepage: http://daniel.debian-maintainers.org/ + +Files: * +Copyright: (C) 2006-2010 Dmitry K. Butskoy +License: GPL-2+ + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-2 file. + +Files: debian/* +Copyright (C) 2007-2010 Daniel Baumann +License: GPL-2+ + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-2 file. --- traceroute-2.0.15.orig/debian/traceroute.docs +++ traceroute-2.0.15/debian/traceroute.docs @@ -0,0 +1,3 @@ +CREDITS +README +TODO --- traceroute-2.0.15.orig/debian/compat +++ traceroute-2.0.15/debian/compat @@ -0,0 +1 @@ +7 --- traceroute-2.0.15.orig/debian/README.source +++ traceroute-2.0.15/debian/README.source @@ -0,0 +1,37 @@ +Package Repositories +-------------------- + +Backports for the current stable debian distribution as well as snapshots of +unreleased versions may be available in repositories listed on the maintainers +homepage. The current URL of the maintainer homepage can be seen in +debian/copyright. + + +Source Access +------------- + +You can obtain the sources of this package with: + + $ apt-get source ${PACKAGE} + +whereas '${PACKAGE}' has to be replaced with the actual name of the package. + +This package is maintained with the Git version control system. The current git +source tree can be obtained with: + + $ git clone ${GIT_URI} + +whereas '${GIT_URI}' has to be replaced with the actual URI for the Git +repository. The current Git URI can be seen in debian/control in the extracted +package sources. + +More information about Git can be found in the git-core package. + +This package may use the Quilt patch system to manage all modifications to the +upstream source. Changes, if any, are stored in the source package as diffs in +debian/diff and are applied during the build. Current modifications can be +applied to the source tree with: + + $ QUILT_PATCHES=debian/patches quilt push -a + +More information about Quilt can be found in the quilt package. --- traceroute-2.0.15.orig/debian/control +++ traceroute-2.0.15/debian/control @@ -0,0 +1,36 @@ +Source: traceroute +Section: net +Priority: important +Maintainer: Daniel Baumann +Uploaders: Daniel Baumann +Build-Depends: debhelper (>= 7.0.50~), quilt (>= 0.46-7) +Standards-Version: 3.9.0 +Homepage: http://traceroute.sourceforge.net/ +Vcs-Browser: http://git.debian-maintainers.org/?p=daniel/traceroute.git +Vcs-Git: git://git.debian-maintainers.org/git/daniel/traceroute.git + +Package: traceroute +Architecture: any +Conflicts: traceroute-nanog (<< 1:2.0.13-3) +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: Traces the route taken by packets over an IPv4/IPv6 network + The traceroute utility displays the route used by IP packets on their way to a + specified network (or Internet) host. Traceroute displays the IP number and + host name (if possible) of the machines along the route taken by the packets. + Traceroute is used as a network debugging tool. If you're having network + connectivity problems, traceroute will show you where the trouble is coming + from along the route. + . + Install traceroute if you need a tool for diagnosing network connectivity + problems. + +Package: traceroute-nanog +Priority: extra +Architecture: all +Depends: ${misc:Depends}, traceroute +Description: Traces the route taken by packets over an IP network (transitional package) + Package to ease upgrading from older traceroute-nanog packages to the new + traceroute package. + . + This package can be purged at anytime once the traceroute package has been + installed. --- traceroute-2.0.15.orig/debian/rules +++ traceroute-2.0.15/debian/rules @@ -0,0 +1,40 @@ +#!/usr/bin/make -f + +SHELL := sh -e + +%: + dh --with quilt ${@} + +override_dh_auto_install: + install -D -m 0755 traceroute/traceroute debian/traceroute/usr/bin/traceroute.db + install -D -m 0644 traceroute/traceroute.8 debian/traceroute/usr/share/man/man1/traceroute.db.1 + + install -D -m 0755 wrappers/traceroute-nanog debian/traceroute/usr/bin/traceroute-nanog + ln -s traceroute.db.1.gz debian/traceroute/usr/share/man/man1/traceroute-nanog.1.gz + + install -D -m 0644 libsupp/libsupp.a debian/traceroute/usr/lib/libsupp.a + install -D -m 0644 libsupp/clif.h debian/traceroute/usr/include/clif.h + + # Installing symlinks + mkdir -p debian/traceroute/usr/share/man/man1 + + for ALTERNATIVE in traceroute6; \ + do \ + ln -s traceroute.db debian/traceroute/usr/bin/$$ALTERNATIVE.db; \ + ln -s traceroute.db.1.gz debian/traceroute/usr/share/man/man1/$$ALTERNATIVE.db.1.gz; \ + done + + # Installing wrappers + for WRAPPER in lft traceproto; \ + do \ + install -D -m 0755 wrappers/$$WRAPPER debian/traceroute/usr/bin/$$WRAPPER.db; \ + ln -s traceroute.db.1.gz debian/traceroute/usr/share/man/man1/$$WRAPPER.db.1.gz; \ + done + + mkdir -p debian/traceroute/usr/share/man/man8 + + for WRAPPER in tcptraceroute; \ + do \ + install -D -m 0755 wrappers/$$WRAPPER debian/traceroute/usr/sbin/$$WRAPPER.db; \ + ln -s ../man1/traceroute.db.1.gz debian/traceroute/usr/share/man/man8/$$WRAPPER.db.8.gz; \ + done --- traceroute-2.0.15.orig/debian/changelog +++ traceroute-2.0.15/debian/changelog @@ -0,0 +1,401 @@ +traceroute (1:2.0.15-1) unstable; urgency=low + + * Merging upstream version 2.0.15. + * Removing previously cherry-picked lftp.patch. + + -- Daniel Baumann Sun, 18 Jul 2010 20:35:26 +0200 + +traceroute (1:2.0.14-3) unstable; urgency=low + + * Adding patch from upstream to add help argument to lft wrapper + (Closes: #554892). + + -- Daniel Baumann Tue, 13 Jul 2010 16:12:56 +0200 + +traceroute (1:2.0.14-2) unstable; urgency=low + + * Updating standards version to 3.9.0. + * Patching the traceroute manpage to mention that -p specifies the + source port and not the destination when being invoked through the + tcptraceroute wrapper (Closes: #448200). + * Updating manpage-lft.patch to add description about lft itself + (Closes: #555028). + + -- Daniel Baumann Mon, 12 Jul 2010 20:23:38 +0200 + +traceroute (1:2.0.14-1) unstable; urgency=low + + * Merging upstream version 2.0.14. + * Removing typo.patch, went upstream. + * Renumbering patches. + * Sorting dh call in rules to more common order. + * Updating year in copyright file. + * Updating README.source. + + -- Daniel Baumann Fri, 30 Apr 2010 05:29:21 +0200 + +traceroute (1:2.0.13-5) unstable; urgency=low + + * Shortening package short-description of traceroute-nanog. + + -- Daniel Baumann Thu, 08 Apr 2010 07:20:43 +0200 + +traceroute (1:2.0.13-4) unstable; urgency=low + + * Setting priority of traceroute-nanog transitional package to extra. + + -- Daniel Baumann Thu, 25 Feb 2010 16:48:48 +0100 + +traceroute (1:2.0.13-3) unstable; urgency=low + + * Adding explicit debian source version 1.0 until switch to 3.0. + * Updating year in copyright file. + * Updating to standards 3.8.4. + * Adding traceroute-nanog transitional package (Closes: #568316). + + -- Daniel Baumann Sat, 06 Feb 2010 09:23:55 +0100 + +traceroute (2.0.13-2) unstable; urgency=low + + * Installing tcpwrapper into /usr/sbin instead of /usr/bin (Closes: + #512146). + * Adjusting manpage section. + * Installing wrappers manpages in man1 instead of man8. + * Dropping tracert symlink, upstream dropped wrapper some time ago + (Closes: #544382). + * Using mkdir instead of install in rules. + * Mentioning lft in traceroute manpage (Closes: #554891). + + -- Daniel Baumann Sat, 07 Nov 2009 16:48:08 +0100 + +traceroute (2.0.13-1) unstable; urgency=low + + * Correcting wrong vcs-browser field. + * Merging upstream version 2.0.13. + + -- Daniel Baumann Fri, 06 Nov 2009 08:26:37 +0100 + +traceroute (2.0.12-3) unstable; urgency=low + + * Using correct rfc-2822 date formats in changelog. + * Simplyfing shell error handling in rules file. + * Upgrading package to standards version 3.8.3. + * Updating maintainer field. + * Updating vcs fields. + * Minimizing rules file. + * Adding README.source. + * Adding maintainer homepage in copyright. + * Sorting depends. + * Bumping versioned build-depends on quilt. + + -- Daniel Baumann Sun, 04 Oct 2009 10:20:00 +0200 + +traceroute (2.0.12-2) unstable; urgency=low + + * Using patch-stamp rather than patch in rules file. + * Replacing obsolete dh_clean -k with dh_prep. + * Updating standards to 3.8.1. + * Removing old conflicts. + * Prefixing debhelper files with package name. + * Tidy rules file. + * Using quilt rather than dpatch. + * Adding patch from Mathieu Geli to fix typo in + option_list (Closes: #518535). + * Updating year in copyright. + + -- Daniel Baumann Mon, 06 Apr 2009 13:45:00 +0200 + +traceroute (2.0.12-1) unstable; urgency=low + + * Updating vcs fields in control file. + * Merging upstream version 2.0.12. + * Adding lintian overrides. + + -- Daniel Baumann Wed, 17 Sep 2008 22:38:00 +0200 + +traceroute (2.0.11-2) unstable; urgency=medium + + * Updating upstream URL. + * Updating to standards 3.8.0. + + -- Daniel Baumann Fri, 20 Jun 2008 18:34:00 +0200 + +traceroute (2.0.11-1) unstable; urgency=medium + + * Reordering rules file. + * Rediffing 02-path.dpatch. + * Rediffing 01-skipdirs.dpatch. + * Removing watch file. + * Rewriting copyright file in machine-interpretable format. + * Adding vcs fields in control file. + * Upgrading package to debhelper 7. + * Merging upstream version 2.0.11. + + -- Daniel Baumann Sat, 03 May 2008 09:26:00 +0200 + +traceroute (2.0.10-1) unstable; urgency=low + + * New upstream release. + + -- Daniel Baumann Mon, 21 Apr 2008 12:20:00 +0200 + +traceroute (2.0.9-4) unstable; urgency=low + + * Added versioned conflicts against tcptraceroute. + * Update standards version. + * Removed debian/TODO; all done. + + -- Daniel Baumann Sun, 23 Dec 2007 11:10:00 +0100 + +traceroute (2.0.9-3) unstable; urgency=low + + * Applying patch from Neil Williams to add cross build + support (Closes: #451851). + + -- Daniel Baumann Sun, 18 Nov 2007 22:58:00 +0100 + +traceroute (2.0.9-2) unstable; urgency=medium + + * Adding versioned conflict against traceroute-nanog (Closes: #446305). + + -- Daniel Baumann Thu, 11 Oct 2007 23:49:00 +0200 + +traceroute (2.0.9-1) unstable; urgency=low + + * New upstream release. + + -- Daniel Baumann Tue, 09 Oct 2007 11:20:00 +0200 + +traceroute (2.0.9~rc1-1) unstable; urgency=medium + + * New upstream release. + + -- Daniel Baumann Fri, 07 Sep 2007 23:36:00 +0200 + +traceroute (2.0.8-1) unstable; urgency=low + + * New upstream release. + + -- Daniel Baumann Tue, 04 Sep 2007 21:48:00 +0200 + +traceroute (2.0.8~rc2-1) unstable; urgency=low + + * New upstream release. + * Added forgotten symlinks for traceroute6 (Closes: #439782). + + -- Daniel Baumann Wed, 29 Aug 2007 07:49:00 +0200 + +traceroute (2.0.8~rc1-1) unstable; urgency=low + + * New upstream release. + + -- Daniel Baumann Sat, 25 Aug 2007 08:28:00 +0200 + +traceroute (2.0.7-4) unstable; urgency=low + + * Complying with policy (Closes: #436698, #437815). + + -- Daniel Baumann Tue, 15 Aug 2007 21:51:00 +0200 + +traceroute (2.0.7-3) unstable; urgency=low + + * Added conflicts/replaces to tcptraceroute (Closes: #436648). + * Added conflicts/replaces to iputils-tracepath (Closes: #436698). + + -- Daniel Baumann Wed, 08 Aug 2007 22:09:00 +0200 + +traceroute (2.0.7-2) unstable; urgency=low + + * Including tcptracroute wrapper script. + + -- Daniel Baumann Wed, 08 Aug 2007 02:05:00 +0200 + +traceroute (2.0.7-1) unstable; urgency=low + + * Replacing traceroute from BSD with traceroute from Dmitry K. Butskoy. + * Dropping obsolete alternatives. + + -- Daniel Baumann Wed, 08 Aug 2007 01:16:00 +0200 + +traceroute (1.4a12-21) unstable; urgency=low + + * New maintainer (Closes: #400088). + * Adjusted package to my own packaging style. + * Bumped policy version. + + -- Daniel Baumann Thu, 23 Nov 2006 21:37:00 +0100 + +traceroute (1.4a12-20) unstable; urgency=medium + + * Apply a patch to prevent bus errors on Sparc. (closes: #320120) + + -- Graham Wilson Tue, 30 Aug 2005 15:19:55 +0000 + +traceroute (1.4a12-19) unstable; urgency=low + + * Change from Michael Banck to work on Hurd. (closes: #288104) + * Change autogen.sh script to use latest autoconf. + * Update debhlper compat level to 4. + * Bump standards version. No changes. + + -- Graham Wilson Mon, 11 Jul 2005 00:00:33 +0000 + +traceroute (1.4a12-18) unstable; urgency=medium + + * Fix a size calculation error in findsaddr. (closes: #283591) + + -- Graham Wilson Wed, 01 Dec 2004 01:05:12 +0000 + +traceroute (1.4a12-17) experimental; urgency=low + + * Correctly set SO_DEBUG and SO_DONTROUTE socket options. + (closes: #278425) + + -- Graham Wilson Wed, 03 Nov 2004 03:20:17 +0000 + +traceroute (1.4a12-16) unstable; urgency=low + + * Don't set priority on the binary packge, and set the source package + priority to important. + * Add a watch file for uscan. + * Don't use a full stop in the short description. + + -- Graham Wilson Sun, 25 Jul 2004 18:38:16 +0000 + +traceroute (1.4a12-15) unstable; urgency=low + + * New mainainer. Thanks Herbert. + * Don't build auto* files while building. + + -- Graham Wilson Mon, 24 May 2004 05:12:34 +0000 + +traceroute (1.4a12-14) unstable; urgency=low + + * Fixed priority disparity. + * Removed suggestion of obsolete pchar package (closes: #231165). + * Restored reference to pathchar. + + -- Herbert Xu Sat, 20 Mar 2004 19:37:22 +1100 + +traceroute (1.4a12-13) unstable; urgency=low + + * Fixed rta_len setting. + * Removed build-stamp/install-stamp. + * Fixed UDP checksum when IP options are present (closes: #212663). + * findsaddr-linux: Check pid. + * findsaddr-linux: Handle EINTR for send. + + -- Herbert Xu Sat, 11 Oct 2003 21:44:53 +1000 + +traceroute (1.4a12-12) unstable; urgency=low + + * Use alternatives. + + -- Herbert Xu Sat, 11 Jan 2003 11:30:07 +1100 + +traceroute (1.4a12-11) unstable; urgency=low + + * Use config.* from autotools-dev instead of automake. + * Refer to pchar instead of pathchar (closes: #171727). + * Suggest the pchar package. + + -- Herbert Xu Sun, 05 Jan 2003 08:09:28 +1100 + +traceroute (1.4a12-10) unstable; urgency=low + + * Documented traceroute warning when rtnetlink fails. + * Fixed documentation about the base port (closes: #162484). + + -- Herbert Xu Mon, 21 Oct 2002 21:09:26 +1000 + +traceroute (1.4a12-9) unstable; urgency=low + + * Disable UDP checksum if findsaddr fails. + + -- Herbert Xu Sat, 23 Mar 2002 10:22:01 +1100 + +traceroute (1.4a12-8) unstable; urgency=low + + * Removed dependency on iproute. + + -- Herbert Xu Thu, 21 Mar 2002 21:42:28 +1100 + +traceroute (1.4a12-7) unstable; urgency=low + + * Use netlink directly (closes: #139303, #139124). + * Bind to device when -i is specified. + * Always bind IP address to help routing. + + -- Herbert Xu Thu, 21 Mar 2002 21:11:46 +1100 + +traceroute (1.4a12-6) unstable; urgency=low + + * Moved traceroute to /usr/bin. + * Removed USE_KERNEL_ROUTING_TABLE crap. + * Use ip ro get to get the source address (closes: #105502). + Patches to do this within traceroute are welcome. + + -- Herbert Xu Tue, 19 Mar 2002 22:11:27 +1100 + +traceroute (1.4a12-5) unstable; urgency=low + + * Restrict the -s option to the super-user. + * Updated documentation for the -s option (closes: #105362). + + -- Herbert Xu Mon, 16 Jul 2001 19:28:45 +1000 + +traceroute (1.4a12-4) unstable; urgency=low + + * Updated aclocal.m4 for autoconf 2.50 (closes: #98367). + + -- Herbert Xu Wed, 23 May 2001 18:48:59 +1000 + +traceroute (1.4a12-3) unstable; urgency=low + + * Drop privileges earlier. + * Applied "paranoia" patch from Richard Kettlewell (closes: #85619). + - eliminate unbounded sprintf calls + - eliminate unbounded sscanf calls + - strncpy final-null paranoia + * Set HAVE_RAW_OPTIONS (closes: #78475). + * Added missing option to usage (Neale Banks, closes: #88892). + + -- Herbert Xu Fri, 09 Mar 2001 22:24:11 +1100 + +traceroute (1.4a12-2) unstable; urgency=low + + * Made changes for dpkg-statoverride (closes: #83817). + + -- Herbert Xu Sun, 28 Jan 2001 21:49:35 +1100 + +traceroute (1.4a12-1) unstable; urgency=low + + * New upstream release (closes: #79920, #81395). + * Use struct sockaddr_stroage (closes: #79348). + + -- Herbert Xu Fri, 26 Jan 2001 20:57:21 +1100 + +traceroute (1.4a8-1) unstable; urgency=low + + * New upstream release. + + -- Herbert Xu Sat, 09 Dec 2000 14:18:00 +1100 + +traceroute (1.4a5-3) stable unstable; urgency=low + + * Fixed a bug where free(3) was called on non-malloced memory. + + -- Herbert Xu Thu, 24 Aug 2000 20:44:51 +1000 + +traceroute (1.4a5-2) frozen unstable; urgency=low + + * Use config.* from automake, needed for building traceroute on ARM + (closes: #61267). + + -- Herbert Xu Fri, 31 Mar 2000 07:50:33 +1000 + +traceroute (1.4a5-1) unstable; urgency=low + + * Initial release (closes: #34166). + + -- Herbert Xu Mon, 01 Nov 1999 15:11:06 +1100 --- traceroute-2.0.15.orig/debian/traceroute.postinst +++ traceroute-2.0.15/debian/traceroute.postinst @@ -0,0 +1,43 @@ +#!/bin/sh + +set -e + +case "${1}" in + configure) + update-alternatives --install \ + /usr/bin/traceroute traceroute /usr/bin/traceroute.db 100 \ + --slave /usr/sbin/traceroute traceroute.sbin \ + /usr/bin/traceroute.db \ + --slave /usr/share/man/man1/traceroute.1.gz traceroute.1.gz \ + /usr/share/man/man1/traceroute.db.1.gz + + for ALTERNATIVE in traceroute6 lft traceproto + do + update-alternatives --install \ + /usr/bin/${ALTERNATIVE} ${ALTERNATIVE} /usr/bin/${ALTERNATIVE}.db 100 \ + --slave /usr/share/man/man1/${ALTERNATIVE}.1.gz ${ALTERNATIVE}.1.gz \ + /usr/share/man/man1/${ALTERNATIVE}.db.1.gz + done + + for ALTERNATIVE in tcptraceroute + do + update-alternatives --install \ + /usr/sbin/${ALTERNATIVE} ${ALTERNATIVE} /usr/sbin/${ALTERNATIVE}.db 100 \ + --slave /usr/share/man/man8/${ALTERNATIVE}.8.gz ${ALTERNATIVE}.8.gz \ + /usr/share/man/man8/${ALTERNATIVE}.db.8.gz + done + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`${1}'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- traceroute-2.0.15.orig/debian/source/format +++ traceroute-2.0.15/debian/source/format @@ -0,0 +1 @@ +1.0 --- traceroute-2.0.15.orig/debian/patches/series +++ traceroute-2.0.15/debian/patches/series @@ -0,0 +1,5 @@ +01-skipdirs.patch +02-path.patch +03-manpage-section.patch +04-manpage-lft.patch +05-manpage-p.patch --- traceroute-2.0.15.orig/debian/patches/04-manpage-lft.patch +++ traceroute-2.0.15/debian/patches/04-manpage-lft.patch @@ -0,0 +1,38 @@ +Author: Daniel Baumann +Description: Mentioning lft in traceroute manpage (Closes: #554891, #555028). + +diff -Naurp traceroute.orig/traceroute/traceroute.8 traceroute/traceroute/traceroute.8 +--- traceroute.orig/traceroute/traceroute.8 2010-07-12 20:08:53.495867879 +0200 ++++ traceroute/traceroute/traceroute.8 2010-07-12 20:18:56.510883917 +0200 +@@ -29,6 +29,12 @@ traceroute \- print the route packets tr + .br + .BR traceroute6 + .RI " [" options ] ++.br ++.BR tcptraceroute ++.RI " [" options ] ++.br ++.BR lft ++.RI " [" options ] + .ad + .SH DESCRIPTION + .I traceroute +@@ -41,6 +47,18 @@ along the path to the host. + is equivalent to + .I traceroute + .B \-6 ++.P ++.I tcptraceroute ++is equivalent to ++.I traceroute ++.B \-T ++.P ++.I lft ++, the Layer Four Traceroute, performs a TCP traceroute, like ++.I traceroute ++.B \-T ++, but attempts to provide compatibility with the original ++such implementation, also called "lft". + .PP + The only required parameter is the name or IP address of the + destination --- traceroute-2.0.15.orig/debian/patches/05-manpage-p.patch +++ traceroute-2.0.15/debian/patches/05-manpage-p.patch @@ -0,0 +1,18 @@ +Author: Daniel Baumann +Description: + Mentioning that -p with the tcptraceroute wrapper specifies the source port, + not the destination port (Closes: #448200). + +diff -Naurp traceroute.orig//traceroute/traceroute.8 traceroute/traceroute/traceroute.8 +--- traceroute.orig//traceroute/traceroute.8 2010-07-12 20:05:38.630891185 +0200 ++++ traceroute/traceroute/traceroute.8 2010-07-12 20:05:22.586936647 +0200 +@@ -208,7 +208,8 @@ For ICMP tracing, specifies the initial + by each probe too). + .br + For TCP specifies just the (constant) destination +-port to connect. ++port to connect. When using the tcptraceroute wrapper, ++\-p specifies the source port. + .TP + .BI \-t " tos + For IPv4, set the Type of Service (TOS) and Precedence value. Useful values --- traceroute-2.0.15.orig/debian/patches/02-path.patch +++ traceroute-2.0.15/debian/patches/02-path.patch @@ -0,0 +1,44 @@ +Author: Daniel Baumann +Description: Adjust path. + +diff -Naurp traceroute.orig/wrappers/lft traceroute/wrappers/lft +--- traceroute.orig/wrappers/lft 2008-04-21 18:54:41.000000000 +0200 ++++ traceroute/wrappers/lft 2008-05-03 09:18:47.000000000 +0200 +@@ -113,5 +113,5 @@ opts="$opts -w $sec.${timeout#$sec}" + + opts="$method $opts" + +-exec traceroute $opts $host $length ++exec /usr/bin/traceroute.db $opts $host $length + +diff -Naurp traceroute.orig/wrappers/tcptraceroute traceroute/wrappers/tcptraceroute +--- traceroute.orig/wrappers/tcptraceroute 2008-04-21 18:54:46.000000000 +0200 ++++ traceroute/wrappers/tcptraceroute 2008-05-03 09:18:47.000000000 +0200 +@@ -68,5 +68,5 @@ shift + shift + } + +-exec traceroute $opts $host $length ++exec /usr/bin/traceroute.db $opts $host $length + +diff -Naurp traceroute.orig/wrappers/traceproto traceroute/wrappers/traceproto +--- traceroute.orig/wrappers/traceproto 2008-04-21 18:55:06.000000000 +0200 ++++ traceroute/wrappers/traceproto 2008-05-03 09:18:47.000000000 +0200 +@@ -122,6 +122,6 @@ opts="$opts -z $sendwait" + while [ "$cont" -gt 0 ] + do + cont=$(($cont - 1)) +- traceroute $opts $host $length ++ /usr/bin/traceroute.db $opts $host $length + done + +diff -Naurp traceroute.orig/wrappers/traceroute-nanog traceroute/wrappers/traceroute-nanog +--- traceroute.orig/wrappers/traceroute-nanog 2008-04-21 18:55:17.000000000 +0200 ++++ traceroute/wrappers/traceroute-nanog 2008-05-03 09:18:47.000000000 +0200 +@@ -71,5 +71,5 @@ done + + [ -z "$spray" ] && opts="$opts -N 1" + +-exec traceroute $opts $1 $2 ++exec /usr/bin/traceroute.db $opts $1 $2 + --- traceroute-2.0.15.orig/debian/patches/03-manpage-section.patch +++ traceroute-2.0.15/debian/patches/03-manpage-section.patch @@ -0,0 +1,15 @@ +Author: Daniel Baumann +Description: Adjust manpage section. + +diff -Naurp traceroute.orig/traceroute/traceroute.8 traceroute/traceroute/traceroute.8 +--- traceroute.orig/traceroute/traceroute.8 2009-11-06 08:25:57.000000000 +0100 ++++ traceroute/traceroute/traceroute.8 2009-11-07 16:02:37.000000000 +0100 +@@ -1,7 +1,7 @@ + .\" Copyright (c) 2006 Dmitry Butskoy (dmitry@butskoy.name) + .\" License: GPL v2 or any later version + .\" See COPYING for the status of this software +-.TH TRACEROUTE 8 "11 October 2006" "Traceroute" "Traceroute For Linux" ++.TH TRACEROUTE 1 "11 October 2006" "Traceroute" "Traceroute For Linux" + .\" .UC 6 + .SH NAME + traceroute \- print the route packets trace to network host --- traceroute-2.0.15.orig/debian/patches/01-skipdirs.patch +++ traceroute-2.0.15/debian/patches/01-skipdirs.patch @@ -0,0 +1,15 @@ +Author: Daniel Baumann +Description: Exclude debian directory from subdirs. + +diff -Naurp traceroute.orig/Make.rules traceroute/Make.rules +--- traceroute.orig/Make.rules 2008-04-18 13:22:05.000000000 +0200 ++++ traceroute/Make.rules 2008-05-03 09:18:15.000000000 +0200 +@@ -72,7 +72,7 @@ DESTDIR = + + + # layout stuff +-SKIPDIRS = tmp% ++SKIPDIRS = tmp% debian + INCLUDEDIRS = include% + LIBDIRS = lib% + MODDIRS = mod%