[Reproducible-builds] Bug#792596: jsmath: please make the build reproducible
Dhole
dhole at openmailbox.org
Thu Jul 16 15:24:10 UTC 2015
Source: jsmath
Version: 3.6e-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Hi,
While working on the "reproducible builds" effort [1], we have noticed
that jsmath could not be built reproducibly.
The attached patch removes timezone-varying timestamps from the
files extracted with unzip. Once applied, jsmath can be built
reproducibly in our reproducible toolchain.
[1]: https://wiki.debian.org/ReproducibleBuilds
Regards,
--
Dhole
-------------- next part --------------
diff -Nru jsmath-3.6e/debian/changelog jsmath-3.6e/debian/changelog
--- jsmath-3.6e/debian/changelog 2014-05-18 20:21:54.000000000 +0200
+++ jsmath-3.6e/debian/changelog 2015-07-15 18:08:15.000000000 +0200
@@ -1,3 +1,11 @@
+jsmath (3.6e-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * add TZ=UTC before unzip in debian/rules to make the files mtime
+ invariant to timezone to make the package build reproducibly.
+
+ -- red <red at viper.Home> Wed, 15 Jul 2015 18:06:34 +0200
+
jsmath (3.6e-1) unstable; urgency=medium
* upgraded to the newest upstream package.
diff -Nru jsmath-3.6e/debian/rules jsmath-3.6e/debian/rules
--- jsmath-3.6e/debian/rules 2014-05-18 22:33:01.000000000 +0200
+++ jsmath-3.6e/debian/rules 2015-07-15 18:06:25.000000000 +0200
@@ -17,7 +17,7 @@
dh $@ --with apache2
override_dh_auto_build:
- unzip -q jsMath-*.zip
+ TZ=UTC unzip -q jsMath-*.zip
override_dh_clean:
dh_clean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150716/1ce8f7e1/attachment.sig>
More information about the Reproducible-builds
mailing list