[med-svn] [rna-star] 01/02: make reproducible

Sascha Steinbiss sascha at steinbiss.name
Sat May 21 21:12:01 UTC 2016


This is an automated email from the git hooks/post-receive script.

sascha-guest pushed a commit to branch master
in repository rna-star.

commit ea5e4b0b4370d78ae7f925290c37a98db467a4fa
Author: Sascha Steinbiss <sascha at steinbiss.name>
Date:   Sat May 21 21:06:44 2016 +0000

    make reproducible
---
 debian/changelog                  |  8 ++++++++
 debian/patches/reproducible.patch | 14 ++++++++++++++
 debian/patches/series             |  1 +
 3 files changed, 23 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index e706454..3613e85 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+rna-star (2.5.2a+dfsg-2) unstable; urgency=medium
+
+  * Team upload.
+  * Make build reproducible.
+    - Stop recording build environment in binary.
+
+ -- Sascha Steinbiss <sascha at steinbiss.name>  Sat, 21 May 2016 20:53:28 +0000
+
 rna-star (2.5.2a+dfsg-1) UNRELEASED; urgency=medium
 
   * New upstream version
diff --git a/debian/patches/reproducible.patch b/debian/patches/reproducible.patch
new file mode 100644
index 0000000..01a67d7
--- /dev/null
+++ b/debian/patches/reproducible.patch
@@ -0,0 +1,14 @@
+Description: make build reproducible
+ Stops build hostname and directory from being recorded in the artifact.
+Author: Sascha Steinbiss <sascha at steinbiss.name>
+--- a/source/Makefile
++++ b/source/Makefile
+@@ -18,7 +18,7 @@
+ LDFLAGS_Mac_static :=-pthread -lz -static-libgcc htslib/libhts.a
+ LDFLAGS_gdb += $(LDFLAGS_shared)
+ 
+-COMPTIMEPLACE := -D'COMPILATION_TIME_PLACE="$(shell echo `date` $(HOSTNAME):`pwd`)"'
++COMPTIMEPLACE := -D'COMPILATION_TIME_PLACE="<not set in Debian>"'
+ 
+ CXXFLAGS_common := -pipe -std=c++11 -Wall -Wextra -fopenmp $(COMPTIMEPLACE) $(CCFLAGS_common_add)
+ CXXFLAGS_main += -O3 $(CXXFLAGS_common)
diff --git a/debian/patches/series b/debian/patches/series
index 4abc50b..6c3b15b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 donotuse_own_htslib.patch
 mips_shm_noreserve.patch
+reproducible.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/rna-star.git



More information about the debian-med-commit mailing list