Source: postfix-gld Version: 1.7-6 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Hi, While working on the "reproducible builds" effort [1], we have noticed that postfix-gld could not be built reproducibly. The attached patch removes timestamps from the build system. Once applied, postfix-gld 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 postfix-gld.orig/postfix-gld-1.7/debian/rules postfix-gld/postfix-gld-1.7/debian/rules --- postfix-gld.orig/postfix-gld-1.7/debian/rules 2015-02-08 22:59:46.864350183 +0000 +++ postfix-gld/postfix-gld-1.7/debian/rules 2015-02-08 23:01:28.048858374 +0000 @@ -50,9 +50,9 @@ cp -p debian/changelog $(docdir)/changelog.Debian cp -p HISTORY README debian/README.Debian $(docdir) cp -p debian/copyright $(docdir) - cd $(docdir) && gzip -9 HISTORY changelog.Debian + cd $(docdir) && gzip -9n HISTORY changelog.Debian ln -s HISTORY.gz $(docdir)/changelog.gz - gzip -r9 debian/tmp/usr/share/man + gzip -r9n debian/tmp/usr/share/man $(STRIP) debian/tmp/usr/sbin/* dpkg-shlibdeps debian/tmp/usr/sbin/* dpkg-gencontrol