Source: uisp Version: 20050207-4.2 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-bui...@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 `. `'` la...@debian.org / chris-lamb.co.uk `-
--- 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