[Pkg-roundcube-maintainers] Bug#880827: roundcube: please make the build reproducible
Chris Lamb
lamby at debian.org
Sat Nov 4 22:15:55 UTC 2017
Source: roundcube
Version: 1.3.1+dfsg.1-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed
that roundcube could not be built reproducibly.
This is because it extracts zipfiles as part of the build in
debian/install-jsdeps.sh which need normalising.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2017-11-04 20:51:52.586393773 +0000
--- b/debian/rules 2017-11-04 22:07:24.745642529 +0000
@@ -31,6 +31,10 @@
yui-compressor --type js "$$js" -o "$${js%.*}.min.js" ; \
done
+ # Dont encode timezones, etc.
+ find "$(CURDIR)"/debian/roundcube-core/usr/share/roundcube/program/js/tinymce/ -print0 | \
+ xargs -0r touch --no-dereference --date="@$(SOURCE_DATE_EPOCH)"
+
# Plugins are in usr/share/roundcube/plugins, for each plugin
# if there is config.inc.php.dist, we symlink a config.inc.php
# in /etc/roundcube/plugins with some dummy content.
More information about the Pkg-roundcube-maintainers
mailing list