[Reproducible-builds] Bug#832290: uisp: please make the build reproducible
Chris Lamb
lamby at debian.org
Sat Jul 23 21:06:55 UTC 2016
Source: uisp
Version: 20050207-4.2
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 uisp 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/configure.ac 2016-07-23 21:55:24.930712130 +0100
--- b/configure.ac 2016-07-23 22:06:00.327815870 +0100
@@ -53,7 +53,11 @@
AC_CHECK_FUNCS([gettimeofday memset select strcasecmp strncasecmp strstr strtol])
# Set the DATE variable for the man page
-DATE=`date "+%B, %Y"`
+if test -n "$SOURCE_DATE_EPOCH"; then
+ DATE=`LC_ALL date --utc --date="@$SOURCE_DATE_EPOCH" "+%B, %Y"`
+else
+ DATE=`date "+%B, %Y"`
+fi
AC_SUBST(DATE)
AC_CONFIG_FILES([Makefile
More information about the Reproducible-builds
mailing list