Source: netris
Version: 0.52-9
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]
Hi,
While working on the "reproducible builds" effort [1], we have noticed
that netris could not be built reproducibly.
The attached patch removes timestamps from the build system. Once
applied, netris can be built reproducibly in our current experimental
framework.
[1]: https://wiki.debian.org/ReproducibleBuilds
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
diff -urNad netris.orig/netris-0.52/debian/rules netris/netris-0.52/debian/rules
--- netris.orig/netris-0.52/debian/rules 2015-02-12 02:55:23.618388633
+0000
+++ netris/netris-0.52/debian/rules 2015-02-12 02:56:02.971801113 +0000
@@ -64,7 +64,7 @@
$(INSTALL_FILE) debian/netris*.6 $(TMP)/usr/share/man/man6
$(INSTALL_FILE) FAQ robot_desc $(TMP)/usr/share/doc/$(PKG)
$(INSTALL_FILE) sr.c $(TMP)/usr/share/doc/$(PKG)/examples
- gzip -9 $(TMP)/usr/share/man/man6/netris*.6 \
+ gzip -9n $(TMP)/usr/share/man/man6/netris*.6 \
$(TMP)/usr/share/doc/$(PKG)/FAQ \
$(TMP)/usr/share/doc/$(PKG)/robot_desc \
$(TMP)/usr/share/doc/$(PKG)/examples/sr.c
@@ -86,7 +86,7 @@
$(TMP)/usr/share/doc/$(PKG)
$(INSTALL_FILE) debian/changelog \
$(TMP)/usr/share/doc/$(PKG)/changelog.Debian
- gzip -9 $(TMP)/usr/share/doc/$(PKG)/changelog.Debian
+ gzip -9n $(TMP)/usr/share/doc/$(PKG)/changelog.Debian
$(INSTALL_SCRIPT) debian/postinst debian/postrm \
$(TMP)/DEBIAN
dpkg-shlibdeps -Tdebian/substvars -dDepends \