Source: tetrinet
Version: 0.11+CVS20070911-1
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 tetrinet could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, tetrinet can be built reproducibly in our current experimental
framework.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff -urNad tetrinet.orig/tetrinet-0.11+CVS20070911/debian/rules 
tetrinet/tetrinet-0.11+CVS20070911/debian/rules
--- tetrinet.orig/tetrinet-0.11+CVS20070911/debian/rules        2015-02-07 
23:03:29.952640202 +0000
+++ tetrinet/tetrinet-0.11+CVS20070911/debian/rules     2015-02-07 
23:11:24.757409689 +0000
@@ -64,10 +64,10 @@
        $(INSTALL_FILE) README tetrinet.txt TODO AUTHORS Changes \
                $(TMP1)/usr/share/doc/$(PKG1)
 
-       cd $(TMP1)/usr/share && gzip -9 man/man6/tetrinet-client.6 \
+       cd $(TMP1)/usr/share && gzip -9n man/man6/tetrinet-client.6 \
                doc/$(PKG1)/changelog doc/$(PKG1)/changelog.old \
                doc/$(PKG1)/README doc/$(PKG1)/tetrinet.txt
-       cd $(TMP2)/usr/share && gzip -9 man/man6/tetrinet-server.6 \
+       cd $(TMP2)/usr/share && gzip -9n man/man6/tetrinet-server.6 \
                doc/$(PKG2)/changelog doc/$(PKG2)/changelog.old
 
        touch install-stamp
@@ -89,10 +89,10 @@
 
        $(INSTALL_FILE) debian/changelog \
                $(TMP1)/usr/share/doc/$(PKG1)/changelog.Debian
-       gzip -9 $(TMP1)/usr/share/doc/$(PKG1)/changelog.Debian
+       gzip -9n $(TMP1)/usr/share/doc/$(PKG1)/changelog.Debian
        $(INSTALL_FILE) debian/changelog \
                $(TMP2)/usr/share/doc/$(PKG2)/changelog.Debian
-       gzip -9 $(TMP2)/usr/share/doc/$(PKG2)/changelog.Debian
+       gzip -9n $(TMP2)/usr/share/doc/$(PKG2)/changelog.Debian
 
        dpkg-shlibdeps -Tdebian/$(PKG1).substvars -dDepends \
                $(TMP1)/usr/games/tetrinet-client
_______________________________________________
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