Source: tcpflow
Version: 1.4.5+repack1-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

Whilst working on the "reproducible builds" effort [0], we noticed
that tcpflow could not be built reproducibly.

Patch attached.

 [0] https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/patches/0002-reproducible-build.patch      1970-01-01 
02:00:00.000000000 +0200
--- b/debian/patches/0002-reproducible-build.patch      2016-07-17 
15:46:21.935150223 +0200
@@ -0,0 +1,14 @@
+Author: Chris Lamb <la...@debian.org>
+Last-Update: 2016-07-17
+
+--- tcpflow-1.4.5+repack1.orig/src/dfxml/src/dfxml_configure.m4
++++ tcpflow-1.4.5+repack1/src/dfxml/src/dfxml_configure.m4
+@@ -18,7 +18,7 @@ AC_LANG_POP()
+ 
+ 
+ # Determine UTC date offset
+-CPPFLAGS="$CPPFLAGS -DUTC_OFFSET=`date +%z`"
++CPPFLAGS="$CPPFLAGS -DUTC_OFFSET=`TZ=UTC date +%z`"
+ 
+ # Get the GIT commit into the GIT_COMMIT variable
+ AC_CHECK_PROG([git],[git],[yes],[no])
--- a/debian/patches/series     2016-07-17 15:33:18.546040383 +0200
--- b/debian/patches/series     2016-07-17 15:46:14.235059933 +0200
@@ -2,3 +2,4 @@
 0001-tcpflow-b-0-now-works.patch
 0001-using-the-debian-package-of-libhttp-parser-instead-o.patch
 packing-struct-tcphdr-to-improve-portability.patch
+0002-reproducible-build.patch
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to