[Reproducible-builds] Bug#834779: dicom3tools: please make the build reproducible

Chris Lamb lamby at debian.org
Fri Aug 19 00:03:45 UTC 2016


Source: dicom3tools
Version: 1.00~20160610072711-1
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], I noticed
that dicom3tools could not be built reproducibly.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/patches/reproducible_build.patch	1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/reproducible_build.patch	2016-08-19 00:41:28.316823596 +0100
@@ -0,0 +1,14 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2016-08-19
+
+--- dicom3tools-1.00~20160610072711.orig/support/setversion
++++ dicom3tools-1.00~20160610072711/support/setversion
+@@ -1,6 +1,6 @@
+ #!/bin/sh
+ 
+-VERSION="1.00.snapshot."`date +%Y%m%d%H%M%S`
++VERSION="1.00.snapshot."$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m%d%H%M%S)
+ 
+ rm -f libsrc/src/generic/version.cc
+ 
--- a/debian/patches/series	2016-08-19 00:10:33.505238164 +0100
--- b/debian/patches/series	2016-08-19 00:41:27.328815210 +0100
@@ -4,3 +4,4 @@
 bmpdump.man.patch
 pvrg_naming.patch
 codeblockstylefix.patch
+reproducible_build.patch


More information about the Reproducible-builds mailing list