Source: mailfront Version: 1.16-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 mailfront could not be built reproducibly. The attached patch removes timestamps from the build system. Once applied, mailfront 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 mailfront.orig/mailfront-1.16/debian/implicit mailfront/mailfront-1.16/debian/implicit --- mailfront.orig/mailfront-1.16/debian/implicit 2015-02-08 03:02:59.821317915 +0000 +++ mailfront/mailfront-1.16/debian/implicit 2015-02-08 03:05:53.813155234 +0000 @@ -35,7 +35,7 @@ debian/$*/usr/share/doc/$*/changelog' @test -s debian/$*/usr/share/doc/$*/changelog || \ sh -cx 'rm -f debian/$*/usr/share/doc/$*/changelog' - @gzip -9 debian/$*/usr/share/doc/$*/changelog* + @gzip -9n debian/$*/usr/share/doc/$*/changelog* %.deb-docs-docs: %.deb-docs-base @for i in `cat debian/$*.docs 2>/dev/null || :`; do \ if test -d $$i; then \ @@ -54,7 +54,7 @@ @if test -r debian/$*.NEWS.Debian; then \ sh -cx 'install -m0644 debian/$*.NEWS.Debian \ debian/$*/usr/share/doc/$*/NEWS.Debian && \ - gzip -9 debian/$*/usr/share/doc/$*/NEWS.Debian'; \ + gzip -9n debian/$*/usr/share/doc/$*/NEWS.Debian'; \ fi %.deb-docs-examples: %.deb-docs-docs @rm -rf debian/$*/usr/share/doc/$*/examples diff -urNad mailfront.orig/mailfront-1.16/debian/rules mailfront/mailfront-1.16/debian/rules --- mailfront.orig/mailfront-1.16/debian/rules 2015-02-08 03:02:59.821317915 +0000 +++ mailfront/mailfront-1.16/debian/rules 2015-02-08 03:05:39.392505724 +0000 @@ -68,7 +68,7 @@ (ln -s "`head -n1 $$i |cut -c10-`".gz $$i.gz && rm -f $$i) \ || exit 1; \ done - gzip -9 '$(DIR)'/usr/share/man/man8/*.8 + gzip -9n '$(DIR)'/usr/share/man/man8/*.8 # service directories install -d -m0755 \ '$(DIR)'/usr/share/doc/mailfront/etc/smtpfront-qmail/log