Source: amora-server Version: 1.2~svn+git2015.04.25-1 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org
Hi, Whilst working on the "reproducible builds" effort [0], we noticed that amora-server could not be built reproducibly. Patch attached. [0] https://wiki.debian.org/ReproducibleBuilds Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/debian/patches/reproducible_build.patch 1969-12-31 19:00:00.000000000 -0500 --- b/debian/patches/reproducible_build.patch 2016-08-03 20:09:08.470954312 -0400 @@ -0,0 +1,19 @@ +Description: Make the build reproducible +Author: Chris Lamb <la...@debian.org> +Last-Update: 2016-08-03 + +--- amora-server-1.2~svn+git2015.04.25.orig/amora-cli/m4/auxdevel.m4 ++++ amora-server-1.2~svn+git2015.04.25/amora-cli/m4/auxdevel.m4 +@@ -123,7 +123,11 @@ fi + AC_DEFUN([AC_DEVEL_MACROS], + [ + +-ac_isodate="`date +%Y-%m-%d`" ++if test -n "$SOURCE_DATE_EPOCH"; then ++ ac_isodate="`date --utc --date="@$SOURCE_DATE_EPOCH" +%Y-%m-%d`" ++else ++ ak_isodate="`date +%Y-%m-%d`" ++fi + AC_SUBST(ac_isodate) + + AC_ARG_ENABLE(warnings, --- a/debian/patches/series 1969-12-31 19:00:00.000000000 -0500 --- b/debian/patches/series 2016-08-03 20:09:06.998940699 -0400 @@ -0,0 +1 @@ +reproducible_build.patch
_______________________________________________ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds