Jérémy Bobbio: > Tags: patch Here it is.
-- Lunar .''`. lu...@debian.org : :Ⓐ : # apt-get install anarchism `. `'` `-
diff -Nru traceroute-2.0.20/debian/changelog traceroute-2.0.20/debian/changelog --- traceroute-2.0.20/debian/changelog 2014-08-10 13:15:22.000000000 +0000 +++ traceroute-2.0.20/debian/changelog 2015-01-01 14:52:07.000000000 +0000 @@ -1,3 +1,9 @@ +traceroute (1:2.0.20-2.0reproducible1) UNRELEASED; urgency=low + + * Add 08-remove-build-date.patch to make the package build reproducibly. + + -- Jérémy Bobbio <lu...@debian.org> Thu, 01 Jan 2015 14:51:10 +0000 + traceroute (1:2.0.20-2) unstable; urgency=medium [ Graham Inggs <gra...@nerve.org.za> ] diff -Nru traceroute-2.0.20/debian/patches/08-remove-build-date.patch traceroute-2.0.20/debian/patches/08-remove-build-date.patch --- traceroute-2.0.20/debian/patches/08-remove-build-date.patch 1970-01-01 00:00:00.000000000 +0000 +++ traceroute-2.0.20/debian/patches/08-remove-build-date.patch 2015-01-01 14:54:37.000000000 +0000 @@ -0,0 +1,19 @@ +Description: Remove build date from version string + Using the C pre-processor __DATE__ macro prevents traceroute from being built + reproducibly. In the context of Debian, adding the build date to the version + string gives little information to users. So we just remove it. +Author: Jérémy Bobbio <lu...@debian.org> + +Index: traceroute-2.0.20/traceroute/traceroute.c +=================================================================== +--- traceroute-2.0.20.orig/traceroute/traceroute.c ++++ traceroute-2.0.20/traceroute/traceroute.c +@@ -72,7 +72,7 @@ + + + static char version_string[] = "Modern traceroute for Linux, " +- "version " _TEXT(VERSION) ", " __DATE__ ++ "version " _TEXT(VERSION) + "\nCopyright (c) 2008 Dmitry Butskoy, " + " License: GPL v2 or any later"; + static int debug = 0; diff -Nru traceroute-2.0.20/debian/patches/series traceroute-2.0.20/debian/patches/series --- traceroute-2.0.20/debian/patches/series 2014-08-10 13:12:34.000000000 +0000 +++ traceroute-2.0.20/debian/patches/series 2015-01-01 14:49:15.000000000 +0000 @@ -5,3 +5,4 @@ 05-manpage-p.patch 06-build.patch 07-fix-mtu-on-recent-kernels.patch +08-remove-build-date.patch
signature.asc
Description: Digital signature