Source: supercat Version: 0.5.5-4 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 supercat could not be built reproducibly. The attached patch removes timestamps from the build system. Once applied, supercat 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 supercat.orig/supercat-0.5.5/debian/rules supercat/supercat-0.5.5/debian/rules --- supercat.orig/supercat-0.5.5/debian/rules 2015-02-07 19:14:58.000485921 +0000 +++ supercat/supercat-0.5.5/debian/rules 2015-02-07 19:16:54.969731234 +0000 @@ -79,13 +79,13 @@ $(INSTALL_FILE) -m 644 ChangeLog $(PACKAGE_DIR)/usr/share/doc/$(PACKAGE_NAME)/changelog $(INSTALL_FILE) -m 644 debian/changelog $(PACKAGE_DIR)/usr/share/doc/$(PACKAGE_NAME)/changelog.Debian for i in $(PACKAGE_DIR)/usr/share/doc/$(PACKAGE_NAME)/changelog*;do \ - gzip -9v $$i; \ + gzip -9nv $$i; \ done; $(INSTALL_FILE) -m 644 debian/copyright $(PACKAGE_DIR)/usr/share/doc/$(PACKAGE_NAME)/copyright $(INSTALL_DIR) $(PACKAGE_DIR)/etc/$(PACKAGE_NAME) $(INSTALL_DIR) $(PACKAGE_DIR)/usr/share/man/man1 $(INSTALL_FILE) -m 644 doc/spc.1 $(PACKAGE_DIR)/usr/share/man/man1 - gzip -9v $(PACKAGE_DIR)/usr/share/man/*/* + gzip -9nv $(PACKAGE_DIR)/usr/share/man/*/* # Strip binaries (including hack by policy wonks) ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) strip -R.note -R.comment $(PACKAGE_DIR)/usr/bin/*