Source: hylafax
Version: 3:6.0.6-6
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 hylafax could not be built reproducibly.
The attached patch removes changing timestamps from the build system.
Once applied, hylafax can be built reproducibly in our reproducible
toolchain.
[1]: https://wiki.debian.org/ReproducibleBuilds
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
diff --no-dereference -urNad hylafax.orig/hylafax-6.0.6/configure
hylafax/hylafax-6.0.6/configure
--- hylafax.orig/hylafax-6.0.6/configure 2015-06-28 13:42:22.670329691
+0100
+++ hylafax/hylafax-6.0.6/configure 2015-06-28 13:47:59.336943945 +0100
@@ -470,7 +470,7 @@
$RM ./config.log
exec 5>./config.log # compiler messages and the like
-DATE=`date`
+DATE=`dpkg-parsechangelog -SDate`
eval `cat $SRCDIR/VERSION | sed
's/\([0-9][0-9]*\)\.\([0-9][0-9]*\)[.-]\([0-9]*\)\(.*\)/DIST_MAJOR=\1;
DIST_MINOR=\2; DIST_PATCH=\3; DIST_TYPE=\4/'`
DIST_ALPHA=`awk '{print $3}' $SRCDIR/dist/hylafax.alpha`