Source: lice Version: 1:4.2.5i-1 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 lice could not be built reproducibly. The attached patch removes timestamps from the build system. Once applied, lice 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 lice.orig/lice-4.2.5i/debian/rules lice/lice-4.2.5i/debian/rules --- lice.orig/lice-4.2.5i/debian/rules 2015-02-03 23:57:00.747515974 +0000 +++ lice/lice-4.2.5i/debian/rules 2015-02-03 23:58:06.670450466 +0000 @@ -21,7 +21,7 @@ dh_installdirs # Install the default theme and variables. - gzip -c -d .irc/lice/lice.defaults.gz > \ + gzip -cn -d .irc/lice/lice.defaults.gz > \ $(DEST)/etc/epic4/lice/lice.defaults patch $(DEST)/etc/epic4/lice/lice.defaults \ debian/patches/defaults.diff @@ -35,10 +35,10 @@ $(DEST)/usr/share/epic4/lice/lice-real.irc.gz # Patch theme script - gzip -d $(DEST)/usr/share/epic4/lice/lice/lice.theme.gz + gzip -nd $(DEST)/usr/share/epic4/lice/lice/lice.theme.gz patch $(DEST)/usr/share/epic4/lice/lice/lice.theme \ debian/patches/theme.diff - gzip -9 $(DEST)/usr/share/epic4/lice/lice/lice.theme + gzip -9nm $(DEST)/usr/share/epic4/lice/lice/lice.theme # Install the wrapper script. install -m 0644 $(CURDIR)/debian/wrapper.irc \