Source: shorewall-core
Version: 4.6.4.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 shorewall-core could not be built reproducibly.
The attached patch removes timestamps from the build system. Once
applied, shorewall-core 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 shorewall-core.orig/shorewall-core-4.6.4.3/debian/rules
shorewall-core/shorewall-core-4.6.4.3/debian/rules
--- shorewall-core.orig/shorewall-core-4.6.4.3/debian/rules 2015-02-02
00:49:17.825424713 +0000
+++ shorewall-core/shorewall-core-4.6.4.3/debian/rules 2015-02-02
01:02:17.167712947 +0000
@@ -14,6 +14,8 @@
override_dh_auto_configure:
./configure
+ # Strip non-determinstic build time
+ sed -i -e 's/^\(#.*\) - .*/\1/g' shorewallrc
override_dh_auto_build:
true