Source: publicsuffix
Version: 20170206.1059-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timezone
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that publicsuffix could not be built reproducibly.

This is due to a timezone variation introduced in the most recent
20170206.1059-1 upload.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2017-02-23 17:02:27.512647411 +0800
--- b/debian/rules      2017-02-23 17:04:37.690176708 +0800
@@ -12,6 +12,6 @@
 
 override_dh_auto_build:
        dh_auto_build
-       touch -t $(subst .,,$(DEB_VERSION_UPSTREAM)) public_suffix_list.dat
+       TZ=UTC touch -t $(subst .,,$(DEB_VERSION_UPSTREAM)) 
public_suffix_list.dat
        psl-make-dafsa --input-format=psl --output-format=binary 
public_suffix_list.dat public_suffix_list.dafsa
-       touch -t $(subst .,,$(DEB_VERSION_UPSTREAM)).59 public_suffix_list.dafsa
+       TZ=UTC touch -t $(subst .,,$(DEB_VERSION_UPSTREAM)).59 
public_suffix_list.dafsa

Reply via email to