Source: postfix
Version: 2.11.3-1
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 postfix could not be built reproducibly.
The attached patch removes timestamps from the build system. Once
applied, postfix 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 postfix.orig/postfix-2.11.3/debian/rules
postfix/postfix-2.11.3/debian/rules
--- postfix.orig/postfix-2.11.3/debian/rules 2015-02-08 19:58:19.464414464
+0000
+++ postfix/postfix-2.11.3/debian/rules 2015-02-08 20:12:41.730601065 +0000
@@ -145,7 +145,7 @@
chown root:root ${base}/usr/share/$${f}postfix; \
done
install rmail/rmail.8 debian/*.8 ${base}/usr/share/man/man8
- gzip -9 ${base}/usr/share/man/man8/*.8postfix
+ gzip -9n ${base}/usr/share/man/man8/*.8postfix
ln -sf bounce.8postfix.gz ${base}/usr/share/man/man8/trace.8postfix.gz
ln -sf bounce.8postfix.gz ${base}/usr/share/man/man8/defer.8postfix.gz