[yorick] 01/01: * Patch build system to make it reproducible.
Thibaut Jean-Claude Paumard
thibaut at moszumanska.debian.org
Thu May 21 16:20:32 UTC 2015
This is an automated email from the git hooks/post-receive script.
thibaut pushed a commit to branch master
in repository yorick.
commit 813567432c8547b491aaffcc26709c1eb189ee16
Author: Thibaut Paumard <thibaut at debian.org>
Date: Thu May 21 18:20:13 2015 +0200
* Patch build system to make it reproducible.
---
debian/changelog | 6 ++++--
debian/patches/reproducible-build | 42 +++++++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 47 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 2c6a064..955b0e1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,9 +2,11 @@ yorick (2.2.04+dfsg1-2) UNRELEASED; urgency=low
* Include autopkgtest suite;
* Also run X11 tests during build (in xfb-run);
- * Get rid of texi2html build-dep.
+ * Get rid of texi2html build-dep;
+ * Separate Build-Depends-Indep and split build-indep target;
+ * Patch build system to make it reproducible.
- -- Thibaut Paumard <thibaut at debian.org> Thu, 21 May 2015 11:03:38 +0200
+ -- Thibaut Paumard <thibaut at debian.org> Thu, 21 May 2015 18:12:55 +0200
yorick (2.2.04+dfsg1-1) unstable; urgency=low
diff --git a/debian/patches/reproducible-build b/debian/patches/reproducible-build
new file mode 100644
index 0000000..0bd5338
--- /dev/null
+++ b/debian/patches/reproducible-build
@@ -0,0 +1,42 @@
+Description: Make build reproducible
+ Remove timestamps and other non-reproducible, irrelevant data from files produced.
+Author: Thibaut Paumard <thibaut at debian.org>
+Origin: Vendor
+Forwarded: no
+Last-Update: 2015-05-20
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/configure
++++ b/configure
+@@ -41,8 +41,6 @@
+ curdate=`date`
+ cursystem=`uname -a`
+ cat >Make.cfg <<EOF
+-# Make.cfg built by configure script on $curdate
+-# $cursystem
+ SHELL=/bin/sh
+ EOF
+
+--- a/mpy/configure
++++ b/mpy/configure
+@@ -144,8 +144,6 @@
+
+ cat >Makempy <<EOF
+ # Makempy configure results for mpy
+-# generated by mpy configure script on $curdate
+-# $cursystem
+
+ CC=$mpicc_exe
+ FC=$mpifc_exe
+--- a/play/unix/config.sh
++++ b/play/unix/config.sh
+@@ -19,8 +19,7 @@
+ #endif
+ EOF
+ cat >config.0h <<EOF
+-/* config.h from config.sh script $curdate
+- * $cursystem
++/* config.h from config.sh script
+ * always empty -- see D_... defines in Make.cfg
+ */
+ EOF
diff --git a/debian/patches/series b/debian/patches/series
index 2f93e62..54ed1f9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ help_text
packinfo_txt
refs_index
fix-weird-alignment
+reproducible-build
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/yorick.git
More information about the debian-science-commits
mailing list