[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#795562: htp: please make the build reproducible



Source: htp
Version: 1.16-5
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

While working on the "reproducible builds" effort [1], we have noticed
that htp could not be built reproducibly.

The attached patch ensures a consistent timezone when building so that
"last modified X" strings do not vary depending on the host system. Once
applied, htp can be built reproducibly in our reproducible toolchain.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-
--- a/debian/rules	2015-08-15 11:07:14.328660231 +0200
--- b/debian/rules	2015-08-15 11:43:11.806046578 +0200
@@ -3,6 +3,8 @@
 
 #export DH_VERBOSE=1
 
+export TZ=UTC
+
 CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
 CFLAGS := $(shell dpkg-buildflags --get CFLAGS)
 LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)

Reply to: