Source: kbtin
Version: 1.0.15-1.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 kbtin could not be built reproducibly.
The attached patch removes timezone-varying timestamps from the build
system. Once applied, kbtin 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 kbtin.orig/kbtin-1.0.15/fixmanual
kbtin/kbtin-1.0.15/fixmanual
--- kbtin.orig/kbtin-1.0.15/fixmanual 2015-06-28 20:05:32.097981188 +0100
+++ kbtin/kbtin-1.0.15/fixmanual 2015-06-28 20:11:30.285861240 +0100
@@ -22,7 +22,7 @@
($blah,$blah,$blah,$blah,$blah,$blah,$blah,$blah,
$blah,$mtime,$blah,$blah,$blah)
= stat($ARGV[0]);
- print "Last modified: ".localtime($mtime) if (defined $mtime &&
$mtime);
+ print "Last modified: ".gmtime($mtime) if (defined $mtime &&
$mtime);
}
print "</body></html>\n";
exit;