Source: gdbm
Version: 1.18.1-4
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0] we noticed
that gdbm could not be built reproducibly.

Patch attached that removes an obvious build timestamp from the
generated binaries.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/patches/reproducible-build.patch   1969-12-31 16:00:00.000000000 
-0800
--- b/debian/patches/reproducible-build.patch   2019-08-21 14:29:56.638894870 
-0700
@@ -0,0 +1,16 @@
+Description: Make the build more reproducible
+Author: Chris Lamb <la...@debian.org>
+Last-Update: 2019-08-21
+
+--- gdbm-1.18.1.orig/src/version.c
++++ gdbm-1.18.1/src/version.c
+@@ -25,9 +25,6 @@
+    making the distdir. */
+ const char * gdbm_version = "GDBM version " PACKAGE_VERSION ". "
+ "27/10/2018"
+-#if defined(__STDC__) && defined(__DATE__) && defined(__TIME__)
+-              " (built " __DATE__ " " __TIME__ ")"
+-#endif
+ ;
+ int const gdbm_version_number[3] = {
+   GDBM_VERSION_MAJOR,
--- a/debian/patches/series     2019-08-21 14:21:50.974478734 -0700
--- b/debian/patches/series     2019-08-21 14:29:49.614830587 -0700
@@ -1 +1,2 @@
 patch-fix-spelling-error-in-gdbm.3.patch
+reproducible-build.patch

Reply via email to