Source: posh Version: 0.12.3 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 posh could not be built reproducibly. The attached patch removes timestamps from the build system. Once applied, posh 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 posh.orig/posh-0.12.3/debian/rules posh/posh-0.12.3/debian/rules --- posh.orig/posh-0.12.3/debian/rules 2015-02-07 19:08:56.852287972 +0000 +++ posh/posh-0.12.3/debian/rules 2015-02-07 19:13:23.772260093 +0000 @@ -105,10 +105,10 @@ $(INSTALL_FILE) debian/menu debian/posh/usr/share/menu/posh $(INSTALL_FILE) debian/changelog debian/posh/usr/share/doc/posh/changelog - gzip -9f debian/posh/usr/share/doc/posh/changelog + gzip -9nf debian/posh/usr/share/doc/posh/changelog $(INSTALL_FILE) debian/copyright debian/posh/usr/share/doc/posh/copyright chmod a-x debian/posh/usr/share/man/man1/posh.1 - gzip -9f debian/posh/usr/share/man/man1/posh.1 + gzip -9nf debian/posh/usr/share/man/man1/posh.1 $(INSTALL_SCRIPT) debian/posh.postinst debian/posh/DEBIAN/postinst $(INSTALL_SCRIPT) debian/posh.prerm debian/posh/DEBIAN/prerm