Source: nsnake Version: 3.0.1-2 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 nsnake 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 01:00:00.000000000 +0100 --- b/debian/patches/reproducible-build.patch 2016-08-06 23:48:47.355996205 +0100 @@ -0,0 +1,18 @@ +Description: Make the build reproducible +Author: Chris Lamb <la...@debian.org> +Last-Update: 2016-08-06 + +--- nsnake-3.0.1.orig/Makefile ++++ nsnake-3.0.1/Makefile +@@ -39,7 +39,11 @@ + # General Info + PACKAGE = nsnake + VERSION = 3.0.0 ++ifdef SOURCE_DATE_EPOCH ++DATE = $(shell LC_ALL=C date --utc --date="@$(SOURCE_DATE_EPOCH)" "+%b%Y") ++else + DATE = $(shell date "+%b%Y") ++endif + + # Install dirs + PREFIX = /usr --- a/debian/patches/series 2016-08-06 23:42:32.808924284 +0100 --- b/debian/patches/series 2016-08-06 23:48:46.227986952 +0100 @@ -1,2 +1,3 @@ install-on-usr-games.patch hardening.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