[Reproducible-builds] Bug#833610: ara: please make the build reproducible
Chris Lamb
lamby at debian.org
Sat Aug 6 22:40:21 UTC 2016
Source: ara
Version: 1.0.31
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,
Whilst working on the "reproducible builds" effort [0], we noticed
that ara could not be built reproducibly.
Patch attached.
[0] https://wiki.debian.org/ReproducibleBuilds
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/common/mkversion.sh 2016-08-06 23:30:32.763007181 +0100
--- b/common/mkversion.sh 2016-08-06 23:37:00.142190926 +0100
@@ -1,7 +1,7 @@
#!/bin/sh
VERSION=`sed -n -e '1s/^ara (\([^ ]*\)) .*$/\1/p' ../debian/changelog`
-DATE=`date +'%04Y-%02m-%02d'`
+DATE=$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +'%04Y-%02m-%02d')
rm -f version.ml
sed -e 's/\$VERSION\$/'"$VERSION"'/g' \
More information about the Reproducible-builds
mailing list