Source: segment
Version: 1.3.5~svn57+dfsg-1.1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the "reproducible builds" effort [0], we noticed that
segment could not be built reproducibly.
The attached patch removes timestamps from the build system. Once
applied, segment can be built reproducibly using our reproducible
toolchain.
[0] https://wiki.debian.org/ReproducibleBuilds
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/rules 2015-09-18 23:19:33.199937364 +0100
--- b/debian/rules 2015-09-18 23:37:23.898339306 +0100
@@ -11,6 +11,7 @@
VER := $(shell echo $(DEB_UPSTREAM_VERSION) | awk -F'~' '{print $$1}')
SVN_REV := $(shell echo $(DEB_UPSTREAM_VERSION) | awk -F'~' '{print $$2}' |
sed 's/^svn//' | sed 's/\+dfsg.*//')
+ANT_ARGS := -Dbuild.date=$(shell dpkg-parsechangelog --show-field=Date | date
--file=- --utc +%Y-%m-%d)
install/libsegment-java::
install -m 644 -D build/dist/segment-$(VER).jar \