summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-09 13:40:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-09 13:40:29 +0000
commitb9b66f0ed977be6f30d93514371f9835a1b1069f (patch)
treeff02a25fe7ac43fc854f95204259af273f2b519a
parentAdding upstream version 1:2.1.5. (diff)
downloadtraceroute-b9b66f0ed977be6f30d93514371f9835a1b1069f.tar.xz
traceroute-b9b66f0ed977be6f30d93514371f9835a1b1069f.zip
Adding debian version 1:2.1.5-1.debian/1%2.1.5-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/changelog588
-rw-r--r--debian/control22
-rw-r--r--debian/copyright52
-rw-r--r--debian/patches/01-skipdirs.patch15
-rw-r--r--debian/patches/02-path.patch46
-rw-r--r--debian/patches/03-manpage-section.patch15
-rw-r--r--debian/patches/04-manpage-lft.patch38
-rw-r--r--debian/patches/05-manpage-p.patch18
-rw-r--r--debian/patches/06-build.patch19
-rw-r--r--debian/patches/07-reproducible-build.patch37
-rw-r--r--debian/patches/08-manpage-update.patch172
-rw-r--r--debian/patches/series8
-rwxr-xr-xdebian/rules53
-rw-r--r--debian/source/format1
-rw-r--r--debian/traceroute.docs3
-rw-r--r--debian/traceroute.postinst43
-rw-r--r--debian/traceroute.prerm32
-rw-r--r--debian/watch4
18 files changed, 1166 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..46bf1ec
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,588 @@
+traceroute (1:2.1.5-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Mon, 25 Dec 2023 08:29:19 +0100
+
+traceroute (1:2.1.4-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Use no for Rules-Requires-Root.
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Sat, 16 Dec 2023 09:24:01 +0100
+
+traceroute (1:2.1.3-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Wed, 06 Sep 2023 09:52:03 +0000
+
+traceroute (1:2.1.2-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Update Standards-Version to 4.6.2 .
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Sat, 25 Feb 2023 13:24:47 +0100
+
+traceroute (1:2.1.1-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Update watch file.
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Wed, 28 Dec 2022 19:14:31 +0100
+
+traceroute (1:2.1.0-3) unstable; urgency=medium
+
+ * Add patch for fixing lines with a misused two-fonts macro in manpage
+ (closes: #935132).
+ * Update debhelper level to 13 .
+ * Update Standards-Version to 4.6.1 .
+ * Update watch file.
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Thu, 14 Jul 2022 01:42:56 +0200
+
+traceroute (1:2.1.0-2.1) unstable; urgency=medium
+
+ * Non maintainer upload by the Reproducible Builds team.
+ * No source change upload to rebuild on buildd with .buildinfo files.
+
+ -- Holger Levsen <holger@debian.org> Wed, 13 Jul 2022 17:30:36 +0200
+
+traceroute (1:2.1.0-2) unstable; urgency=low
+
+ * Update Standards-Version to 3.9.8 .
+
+ [ Helmut Grohne <helmut@subdivi.de> ]
+ * Fix FTCBFS: pass CROSS= to make (closes: #835920).
+
+ [ Reiner Herrmann <reiner@reiner-h.de> ]
+ * Sort lists of libraries/source/object files for deterministic linking
+ order (closes: #826431).
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Mon, 29 Aug 2016 15:45:51 +0000
+
+traceroute (1:2.1.0-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Wed, 09 Mar 2016 17:31:43 +0100
+
+traceroute (1:2.0.22-1) unstable; urgency=low
+
+ * New upstream release.
+ * Delete remove-build-date.patch, applied upstream.
+ * Update Standards-Version to 3.9.7 .
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Sun, 28 Feb 2016 19:01:29 +0100
+
+traceroute (1:2.0.21-1) unstable; urgency=low
+
+ * New upstream release.
+ * Remove 07-fix-mtu-on-recent-kernels.patch , applied upstream.
+ * Update Standards-Version to 3.9.6 .
+
+ [ Jérémy Bobbio <lunar@debian.org> ]
+ * Add 08-remove-build-date.patch to make the package build reproducibly
+ (closes: #774365).
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Sun, 03 May 2015 10:44:53 +0000
+
+traceroute (1:2.0.20-2) unstable; urgency=medium
+
+ [ Graham Inggs <graham@nerve.org.za> ]
+ * Fix --mtu on recent kernels (closes: #757568).
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Sun, 10 Aug 2014 13:13:05 +0000
+
+traceroute (1:2.0.20-1) unstable; urgency=low
+
+ * New upstream release (closes: #751791), fixes segfault with --mtu
+ (closes: #750759).
+ * Update 05-manpage-p.patch , remove 07-hardening.patch as applied upstream.
+ * Make the package linux-only.
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Mon, 16 Jun 2014 17:11:12 +0000
+
+traceroute (1:2.0.19-4) unstable; urgency=low
+
+ * New maintainer (closes: #748489).
+ * Update Standards-Version to 3.9.5 .
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Sun, 18 May 2014 12:27:55 +0200
+
+traceroute (1:2.0.19-3) unstable; urgency=low
+
+ * Taking over with maintainer's consent.
+ * Adding watch file.
+
+ -- Luk Claes <luk@debian.org> Sat, 06 Apr 2013 09:48:42 +0200
+
+traceroute (1:2.0.19-2) unstable; urgency=low
+
+ * Removing all references to my old email address.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Sun, 10 Mar 2013 21:52:57 +0100
+
+traceroute (1:2.0.19-1) unstable; urgency=low
+
+ * Merging upstream version 2.0.19.
+ * Updating years in copyright file.
+ * Updating to standards version 3.9.4.
+ * Rediffing manpage-p.patch.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Mon, 10 Dec 2012 11:50:54 +0100
+
+traceroute (1:2.0.18-3) unstable; urgency=low
+
+ * Updating GPL boilerplate in copyright file.
+ * Switching to xz compression.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Sat, 30 Jun 2012 14:48:05 +0200
+
+traceroute (1:2.0.18-2) unstable; urgency=low
+
+ * Using compression level 9 also for binary packages.
+ * Updating package to standards version 3.9.3.
+ * Updating package to debhelper version 9.
+ * Adding patch to avoid overwriting build environment.
+ * Adding patch from Moritz Muehlenhoff <jmm@debian.org> to add missing
+ format strings in order to build with hardening flags.
+ * Enabling hardening build flags (Closes: #656014).
+ * Updating copyright file to machine-readable format version 1.0.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Fri, 18 May 2012 12:53:18 +0200
+
+traceroute (1:2.0.18-1) unstable; urgency=low
+
+ * Merging upstream version 2.0.18.
+ * Updating maintainer and uploaders fields.
+ * Removing vcs entries.
+ * Removing references to my old email address.
+ * Makging packaging distribution neutral.
+ * Updating years in copyright file.
+ * Updating to standards version 3.9.2.
+ * Compacting copyright file.
+ * Dropping conflicts on traceroute-nanog, not needed anymore.
+ * Using common coding style for shell in rules and maintainer scripts.
+ * Adding copyright stanza for libsupp/*.
+ * Removing lintian overrides, not needed anymore.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Sun, 28 Aug 2011 20:04:09 +0200
+
+traceroute (1:2.0.17-1) experimental; urgency=low
+
+ * Merging upstream version 2.0.17.
+ * Switching to source format 3.0 (quilt).
+ * Updating to debhelper version 8.
+ * Updating to standards version 3.9.1.
+ * Removing traceroute-nanog transitional package.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Tue, 14 Dec 2010 19:29:54 +0100
+
+traceroute (1:2.0.16-1) experimental; urgency=low
+
+ * Merging upstream version 2.0.16.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Wed, 15 Sep 2010 08:46:54 +0200
+
+traceroute (1:2.0.15-1) unstable; urgency=low
+
+ * Merging upstream version 2.0.15.
+ * Removing previously cherry-picked lftp.patch.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> 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 <mail@daniel-baumann.ch> 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 <mail@daniel-baumann.ch> 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 <mail@daniel-baumann.ch> 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 <mail@daniel-baumann.ch> 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 <mail@daniel-baumann.ch> Thu, 25 Feb 2010 16:48:48 +0100
+
+traceroute (1:2.0.13-3) unstable; urgency=low
+
+ * Adding explicit 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 <mail@daniel-baumann.ch> 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 <mail@daniel-baumann.ch> 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 <mail@daniel-baumann.ch> 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 <mail@daniel-baumann.ch> 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 <mathieu.geli@gmail.com> to fix typo in
+ option_list (Closes: #518535).
+ * Updating year in copyright.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> 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 <mail@daniel-baumann.ch> 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 <mail@daniel-baumann.ch> 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 <mail@daniel-baumann.ch> Sat, 03 May 2008 09:26:00 +0200
+
+traceroute (2.0.10-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> 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 TODO; all done.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Sun, 23 Dec 2007 11:10:00 +0100
+
+traceroute (2.0.9-3) unstable; urgency=low
+
+ * Applying patch from Neil Williams <codehelp@debian.org> to add cross build
+ support (Closes: #451851).
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> 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 <mail@daniel-baumann.ch> Thu, 11 Oct 2007 23:49:00 +0200
+
+traceroute (2.0.9-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Tue, 09 Oct 2007 11:20:00 +0200
+
+traceroute (2.0.9~rc1-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Fri, 07 Sep 2007 23:36:00 +0200
+
+traceroute (2.0.8-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> 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 <mail@daniel-baumann.ch> Wed, 29 Aug 2007 07:49:00 +0200
+
+traceroute (2.0.8~rc1-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Sat, 25 Aug 2007 08:28:00 +0200
+
+traceroute (2.0.7-4) unstable; urgency=low
+
+ * Complying with policy (Closes: #436698, #437815).
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> 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 <mail@daniel-baumann.ch> Wed, 08 Aug 2007 22:09:00 +0200
+
+traceroute (2.0.7-2) unstable; urgency=low
+
+ * Including tcptracroute wrapper script.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> 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 <mail@daniel-baumann.ch> 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 <mail@daniel-baumann.ch> 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 <graham@debian.org> 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 <graham@debian.org> 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 <graham@debian.org> 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 <graham@debian.org> 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 <graham@debian.org> 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 <graham@debian.org> 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 <herbert@debian.org> 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 <herbert@debian.org> Sat, 11 Oct 2003 21:44:53 +1000
+
+traceroute (1.4a12-12) unstable; urgency=low
+
+ * Use alternatives.
+
+ -- Herbert Xu <herbert@debian.org> 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 <herbert@debian.org> 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 <herbert@debian.org> Mon, 21 Oct 2002 21:09:26 +1000
+
+traceroute (1.4a12-9) unstable; urgency=low
+
+ * Disable UDP checksum if findsaddr fails.
+
+ -- Herbert Xu <herbert@debian.org> Sat, 23 Mar 2002 10:22:01 +1100
+
+traceroute (1.4a12-8) unstable; urgency=low
+
+ * Removed dependency on iproute.
+
+ -- Herbert Xu <herbert@debian.org> 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 <herbert@debian.org> 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 <herbert@debian.org> 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 <herbert@debian.org> 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 <herbert@debian.org> 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 <herbert@debian.org> Fri, 09 Mar 2001 22:24:11 +1100
+
+traceroute (1.4a12-2) unstable; urgency=low
+
+ * Made changes for dpkg-statoverride (closes: #83817).
+
+ -- Herbert Xu <herbert@debian.org> 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 <herbert@debian.org> Fri, 26 Jan 2001 20:57:21 +1100
+
+traceroute (1.4a8-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Herbert Xu <herbert@debian.org> 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 <herbert@debian.org> 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 <herbert@debian.org> Fri, 31 Mar 2000 07:50:33 +1000
+
+traceroute (1.4a5-1) unstable; urgency=low
+
+ * Initial release (closes: #34166).
+
+ -- Herbert Xu <herbert@debian.org> Mon, 01 Nov 1999 15:11:06 +1100
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..60ca196
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,22 @@
+Source: traceroute
+Section: net
+Priority: important
+Maintainer: Laszlo Boszormenyi (GCS) <gcs@debian.org>
+Build-Depends: debhelper-compat (= 13)
+Standards-Version: 4.6.2
+Rules-Requires-Root: no
+Homepage: https://traceroute.sourceforge.net/
+
+Package: traceroute
+Architecture: linux-any
+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.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..2e217d9
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,52 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: traceroute
+Upstream-Contact: traceroute-devel@lists.sourceforge.net
+Source: https://sourceforge.net/projects/traceroute/files/
+
+Files: *
+Copyright: 2006-2012 Dmitry K. Butskoy <Dmitry@Butskoy.name>
+License: GPL-2+
+
+Files: libsupp/*
+Copyright: 2006-2012 Dmitry K. Butskoy <Dmitry@Butskoy.name>
+License: LGPL-2.1+
+
+Files: debian/*
+Copyright: 2014- Laszlo Boszormenyi (GCS) <gcs@debian.org>,
+ 2013-2014 Luk Claes <luk@debian.org>,
+ 2007-2012 Daniel Baumann <mail@daniel-baumann.ch>
+License: GPL-2+
+
+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, see <https://www.gnu.org/licenses/>.
+ .
+ The complete text of the GNU General Public License
+ can be found in /usr/share/common-licenses/GPL-2 file.
+
+License: LGPL-2.1+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation, either version 2.1 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 Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+ .
+ The complete text of the GNU Lesser General Public License
+ can be found in /usr/share/common-licenses/LGPL-2.1 file.
diff --git a/debian/patches/01-skipdirs.patch b/debian/patches/01-skipdirs.patch
new file mode 100644
index 0000000..fb0b3ee
--- /dev/null
+++ b/debian/patches/01-skipdirs.patch
@@ -0,0 +1,15 @@
+Author: Daniel Baumann <mail@daniel-baumann.ch>
+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%
diff --git a/debian/patches/02-path.patch b/debian/patches/02-path.patch
new file mode 100644
index 0000000..8fa0116
--- /dev/null
+++ b/debian/patches/02-path.patch
@@ -0,0 +1,46 @@
+Author: Daniel Baumann <mail@daniel-baumann.ch>
+Description: Adjust path.
+Reviewed-By: Laszlo Boszormenyi (GCS) <gcs@debian.org>
+Last-Update: 2016-03-09
+
+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
+@@ -74,5 +74,5 @@ echo "Running:
+ traceroute $opts $host $length" >&2
+
+
+-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
+@@ -72,5 +72,5 @@ done
+
+ [ -z "$spray" ] && opts="$opts -N 1"
+
+-exec traceroute $opts $1 $2
++exec /usr/bin/traceroute.db $opts $1 $2
+
diff --git a/debian/patches/03-manpage-section.patch b/debian/patches/03-manpage-section.patch
new file mode 100644
index 0000000..ae0616c
--- /dev/null
+++ b/debian/patches/03-manpage-section.patch
@@ -0,0 +1,15 @@
+Author: Daniel Baumann <mail@daniel-baumann.ch>
+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
diff --git a/debian/patches/04-manpage-lft.patch b/debian/patches/04-manpage-lft.patch
new file mode 100644
index 0000000..60eb8db
--- /dev/null
+++ b/debian/patches/04-manpage-lft.patch
@@ -0,0 +1,38 @@
+Author: Daniel Baumann <mail@daniel-baumann.ch>
+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
diff --git a/debian/patches/05-manpage-p.patch b/debian/patches/05-manpage-p.patch
new file mode 100644
index 0000000..49d990f
--- /dev/null
+++ b/debian/patches/05-manpage-p.patch
@@ -0,0 +1,18 @@
+Author: Daniel Baumann <mail@daniel-baumann.ch>
+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 2012-12-10 11:49:37.056140846 +0100
++++ traceroute/traceroute/traceroute.8 2012-12-10 11:49:46.172143321 +0100
+@@ -216,7 +216,8 @@ For ICMP tracing, specifies the initial
+ by each probe too).
+ .br
+ For TCP and others 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" ", --tos=" tos
+ For IPv4, set the Type of Service (TOS) and Precedence value. Useful values
diff --git a/debian/patches/06-build.patch b/debian/patches/06-build.patch
new file mode 100644
index 0000000..fa40373
--- /dev/null
+++ b/debian/patches/06-build.patch
@@ -0,0 +1,19 @@
+Author: Daniel Baumann <mail@daniel-baumann.ch>
+Description: Avoid overwriting build environment.
+
+diff -Naurp traceroute.orig/Make.rules traceroute/Make.rules
+--- traceroute.orig/Make.rules 2012-04-26 09:43:18.442365190 +0200
++++ traceroute/Make.rules 2012-05-18 12:39:37.970036900 +0200
+@@ -46,9 +46,9 @@ $(call set, INSTALL, cp)
+ $(call set, INDENT, true)
+
+ gcc = $(findstring gcc,$(CC))
+-$(call set, CFLAGS, $(if $(gcc), -O2 -Wall, -O))
+-$(call set, CPPFLAGS, )
+-$(call set, LDFLAGS, -s)
++#$(call set, CFLAGS, $(if $(gcc), -O2 -Wall, -O))
++#$(call set, CPPFLAGS, )
++#$(call set, LDFLAGS, -s)
+ $(call set, LIBS, )
+
+
diff --git a/debian/patches/07-reproducible-build.patch b/debian/patches/07-reproducible-build.patch
new file mode 100644
index 0000000..c00d349
--- /dev/null
+++ b/debian/patches/07-reproducible-build.patch
@@ -0,0 +1,37 @@
+Author: Reiner Herrmann <reiner@reiner-h.de>
+Description: Sort lists of libraries/source/object files
+ for deterministic linking order
+
+--- a/Make.rules
++++ b/Make.rules
+@@ -136,8 +136,8 @@
+ _libs = $(strip $(foreach _lib,$(LIBDIRS),\
+ $(if $(filter lib%,$(_lib)),\
+ $(patsubst lib%,-l%,$(_lib)),\
+- $(wildcard $(srcdir)/$(_lib)/$(_lib).so \
+- $(srcdir)/$(_lib)/$(_lib).a))))
++ $(sort $(wildcard $(srcdir)/$(_lib)/$(_lib).so \
++ $(srcdir)/$(_lib)/$(_lib).a)))))
+
+ override LIBS := $(_libs) -lm $(LIBS)
+
+@@ -166,7 +166,7 @@
+ endif
+ endif
+
+-sources = $(wildcard *.c)
++sources = $(sort $(wildcard *.c))
+ OBJS = $(sources:.c=.$(obj))
+
+
+--- a/default.rules
++++ b/default.rules
+@@ -143,7 +143,7 @@
+ ifeq ($(filter $(TARGET),$(EXEDIRS)),$(TARGET))
+
+ ifeq ($(filter $(TARGET),$(MODUSERS)),$(TARGET))
+-MOD_OBJS = $(wildcard $(foreach dir,$(MODDIRS),$(srcdir)/$(dir)/*.o))
++MOD_OBJS = $(sort $(wildcard $(foreach dir,$(MODDIRS),$(srcdir)/$(dir)/*.o)))
+ ifeq ($(shared),yes)
+ override LDFLAGS := -rdynamic $(LDFLAGS)
+ endif
diff --git a/debian/patches/08-manpage-update.patch b/debian/patches/08-manpage-update.patch
new file mode 100644
index 0000000..518ac43
--- /dev/null
+++ b/debian/patches/08-manpage-update.patch
@@ -0,0 +1,172 @@
+Description: fix lines with a misused two-fonts macro in manpage
+Author: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
+Last-Update: 2019-08-19
+
+--- traceroute.orig/traceroute/traceroute.8 2019-08-19 19:07:42.000000000 +0000
++++ traceroute/traceroute/traceroute.8.new 2019-08-19 19:26:05.000000000 +0000
+@@ -27,13 +27,13 @@ traceroute \- print the route packets tr
+ .ti +8
+ .BR host " [" "packet_len" "]"
+ .br
+-.BR traceroute6
++.B traceroute6
+ .RI " [" options ]
+ .br
+-.BR tcptraceroute
++.B tcptraceroute
+ .RI " [" options ]
+ .br
+-.BR lft
++.B lft
+ .RI " [" options ]
+ .ad
+ .SH DESCRIPTION
+@@ -122,7 +122,7 @@ and source/destination port, in order to
+ by firewalls just as a start of allowed type of a network session).
+ .SH OPTIONS
+ .TP
+-.BI \--help
++.B \-\-help
+ Print help info and exit.
+ .TP
+ .BR \-4 ", " \-6
+@@ -173,14 +173,14 @@ Specifies with what TTL to start. Defaul
+ Tells traceroute to add an IP source routing option to the outgoing
+ packet that tells the network to route the packet through the
+ specified
+-.IR gateway
++.I gateway
+ (most routers have disabled source routing for security reasons).
+ In general, several
+-.IR gateway\fR's
++.IR gateway 's
+ is allowed (comma separated). For IPv6, the form of
+-.IR num\fB,\fIaddr\fB,\fIaddr...
++.IB num , addr , addr...
+ is allowed, where
+-.IR num
++.I num
+ is a route header type (default is type 2). Note the type 0 route header
+ is now deprecated (rfc5095).
+ .TP
+@@ -204,7 +204,7 @@ considerably. The default value is 16.
+ Note that some routers and hosts can use ICMP rate throttling. In such
+ a situation specifying too large number can lead to loss of some responses.
+ .TP
+-.BI \-n
++.B \-n
+ Do not try to map IP addresses to host names when displaying them.
+ .TP
+ .BI \-p " port" ", --port=" port
+@@ -236,13 +236,13 @@ Determines how long to wait for a respon
+ .br
+ There are three (in general) float values separated by a comma
+ (or a slash).
+-.IR Max
++.I Max
+ specifies the maximum time (in seconds, default 5.0) to wait, in any case.
+ .br
+
+ .br
+ Traditional traceroute implementation always waited whole
+-.IR max
++.I max
+ seconds for any probe. But if we already have some replies from the
+ .B same
+ hop, or even from some
+@@ -253,15 +253,15 @@ to determine the actual reasonable amoun
+
+ .br
+ The optional
+-.IR here
++.I here
+ (default 3.0) specifies a factor to multiply the round trip time of an already
+ received response from the
+ .B same
+ hop. The resulting value is used as a timeout for the probe, instead of
+ (but no more than)
+-.IR max\fR.
++.IR max .
+ The optional
+-.IR near
++.I near
+ (default 10.0) specifies a similar factor for a response from some
+ .B next
+ hop.
+@@ -275,24 +275,24 @@ hop (of the probe which will be printed
+ If nothing found, then look for some
+ .B next
+ hop. If nothing found, use
+-.IR max\fR.
++.IR max .
+ If
+-.IR here
++.I here
+ and/or
+-.IR near
++.I near
+ have zero values, the corresponding computation is skipped.
+ .br
+-.IR Here
++.I Here
+ and
+-.IR near
++.I near
+ are always set to zero if only
+-.IR max
++.I max
+ is specified (for compatibility with previous versions).
+ .TP
+ .BI \-q " nqueries" ", --queries=" nqueries
+ Sets the number of probe packets per hop. The default is 3.
+ .TP
+-.BI \-r
++.B \-r
+ Bypass the normal routing tables and send directly to a host on
+ an attached network. If the host is not on a directly-attached
+ network, an error is returned. This option can be used to ping a
+@@ -370,7 +370,7 @@ To print information about available opt
+ Use UDP to particular destination port for tracerouting (instead of increasing
+ the port per each probe). Default port is 53 (dns).
+ .TP
+-.BI \-UL
++.B \-UL
+ Use UDPLITE for tracerouting (default port is 53).
+ .TP
+ .B \-D, \-\-dccp
+@@ -380,7 +380,7 @@ Use DCCP Requests for probes.
+ Use raw packet of specified protocol for tracerouting. Default protocol is
+ 253 (rfc3692).
+ .TP
+-.BI \--mtu
++.B \-\-mtu
+ Discover MTU along the path being traced. Implies
+ .BR \-F\ \-N\ 1 .
+ New
+@@ -406,7 +406,7 @@ See
+ .B \-F
+ option for more info.
+ .TP
+-.BI \--back
++.B \-\-back
+ Print the number of backward hops when it seems different with the forward
+ direction. This number is guessed in assumption that remote hops send reply
+ packets with initial ttl set to either 64, or 128 or 255 (which seems
+@@ -437,7 +437,7 @@ This method may be allowed for unprivile
+ since the kernel 3.0 (IPv4, for IPv6 since 3.11), which supports new
+ .I dgram icmp
+ (or
+-.IR \fR"\fIping\fR")
++.RI """" ping """)"
+ sockets. To allow such sockets, sysadmin should provide
+ .I net/ipv4/ping_group_range
+ sysctl range to match any group of the user.
+@@ -555,7 +555,7 @@ Options:
+ .TP
+ .B service\fR=\fInum
+ Set DCCP service code to
+-.IR num
++.I num
+ (default is 1885957735).
+ .SS raw \ \ \ \ \-P proto
+ Send raw packet of protocol
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..105cec7
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,8 @@
+01-skipdirs.patch
+02-path.patch
+03-manpage-section.patch
+04-manpage-lft.patch
+05-manpage-p.patch
+06-build.patch
+07-reproducible-build.patch
+08-manpage-update.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..032a03a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,53 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+SHELL := sh -e
+
+include /usr/share/dpkg/architecture.mk
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+override_dh_auto_build:
+ dh_auto_build -- CROSS=$(DEB_HOST_GNU_TYPE)-
+
+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
+
+%:
+ dh ${@}
+
+.PHONY: override_dh_auto_build override_dh_auto_install
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/traceroute.docs b/debian/traceroute.docs
new file mode 100644
index 0000000..892f1d9
--- /dev/null
+++ b/debian/traceroute.docs
@@ -0,0 +1,3 @@
+CREDITS
+README
+TODO
diff --git a/debian/traceroute.postinst b/debian/traceroute.postinst
new file mode 100644
index 0000000..920006e
--- /dev/null
+++ b/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
diff --git a/debian/traceroute.prerm b/debian/traceroute.prerm
new file mode 100644
index 0000000..b00d32a
--- /dev/null
+++ b/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
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..327880e
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts=uversionmangle=s/^(SNAPSHOT|RELEASE)\.//;s/(\d+)[_-](\d+)[_-](\d+)/\$1.\$2.\$3/;s/(\d+)[_-](\d+)/\$1.\$2/;s/(\d)[_\.\-\+]?((rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/;s/(\d)[_\.\-\+]?RC[\-\.]?(\d*)$/$1~rc$2/,\
+dversionmangle=s/\+(debian|dfsg|ds|deb)(\.?\d+)?$//i \
+https://qa.debian.org/watch/sf.php/traceroute/traceroute-[vV]?(\d\S+)@ARCHIVE_EXT@