Source: eurephia
Version: 1.1.0-5
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 eurephia 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   1970-01-01 02:00:00.000000000 
+0200
--- b/debian/patches/reproducible-build.patch   2016-07-14 21:59:54.876962398 
+0200
@@ -0,0 +1,18 @@
+Author: Chris Lamb <la...@debian.org>
+Last-Update: 2016-07-14
+
+--- eurephia-1.1.0.orig/eurephiadm/mk_buildinfo.sh
++++ eurephia-1.1.0/eurephiadm/mk_buildinfo.sh
+@@ -21,9 +21,9 @@
+ #  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, 
USA.
+ #
+ #
+-builddate="`date -u`"
+-buildsystem="`uname -a`"
+-buildhost="`hostname`"
++builddate="$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}")"
++buildsystem="Debian"
++buildhost="Debian"
+ 
+ # Check if we're in a git tree
+ gitdir="`git rev-parse --git-dir 2> /dev/null`"
--- a/debian/patches/series     2016-07-14 21:55:27.798254790 +0200
--- b/debian/patches/series     2016-07-14 21:59:41.792829752 +0200
@@ -1,3 +1,4 @@
 double-free.patch
 sql-error-handling.patch
 ldflags.patch
+reproducible-build.patch
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to