[Reproducible-builds] Bug#831380: pavuk: please make the build reproducible

Chris Lamb lamby at debian.org
Fri Jul 15 10:07:53 UTC 2016


Source: pavuk
Version: 0.9.35-4
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 pavuk could not be built reproducibly.

Patch attached. The patch can probably be sent upstream.

 [0] https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/patches/16-reproducible-build.patch	1970-01-01 02:00:00.000000000 +0200
--- b/debian/patches/16-reproducible-build.patch	2016-07-15 12:01:31.909178777 +0200
@@ -0,0 +1,14 @@
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2016-07-15
+
+--- pavuk-0.9.35.orig/configure.in
++++ pavuk-0.9.35/configure.in
+@@ -5,7 +5,7 @@ AM_INIT_AUTOMAKE
+ 
+ ALL_LINGUAS="cs de es fr it ja pl sk uk"
+ 
+-REVISION=`date +%Y-%m-%dT%H:%M`
++REVISION=$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y-%m-%dT%H:%M)
+ AC_DEFINE_UNQUOTED(REVISION, "$REVISION", [revision number of software])
+ AC_SUBST(REVISION)
+ AC_PREFIX_DEFAULT(/usr/local)
--- a/debian/patches/series	2016-07-15 11:21:37.347398722 +0200
--- b/debian/patches/series	2016-07-15 12:01:21.965071324 +0200
@@ -4,3 +4,4 @@
 13-prottable_declaration.patch
 14-dns_ipv6.patch
 15-pavuk-nossl3.patch
+16-reproducible-build.patch


More information about the Reproducible-builds mailing list