[ferret-vis] 01/01: Patch for reproducible builds from Chris Lamb. Closes: #797579.
Alastair McKinstry
mckinstry at moszumanska.debian.org
Tue Sep 1 06:05:17 UTC 2015
This is an automated email from the git hooks/post-receive script.
mckinstry pushed a commit to branch master
in repository ferret-vis.
commit 50022ac10bc04fc717d2f9c1caba63a4099e8eb2
Author: Alastair McKinstry <mckinstry at debian.org>
Date: Tue Sep 1 07:02:44 2015 +0100
Patch for reproducible builds from Chris Lamb. Closes: #797579.
---
debian/changelog | 1 +
debian/patches/reproducible-build.patch | 20 ++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 22 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 5d5aec9..400b46a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ ferret-vis (6.9.3-3) UNRELEASED; urgency=medium
* Acknowledge NMUs, thanks.
* Change Vcs-Git to anonscm.d.o form.
+ * Patch for reproducible builds from Chris Lamb. Closes: #797579.
-- Alastair McKinstry <mckinstry at debian.org> Fri, 28 Aug 2015 11:48:15 +0100
diff --git a/debian/patches/reproducible-build.patch b/debian/patches/reproducible-build.patch
new file mode 100644
index 0000000..e75f02c
--- /dev/null
+++ b/debian/patches/reproducible-build.patch
@@ -0,0 +1,20 @@
+Description: Bug to remove timestamps from build, making it reproducible
+Author: Chris Lamb
+Origin-Bug: https://bugs.debian.org/797579
+Last-Updated: 2015-08-31
+Forwarded: no
+
+--- ferret-vis-6.9.3.orig/fer/Makefile
++++ ferret-vis-6.9.3/fer/Makefile
+@@ -145,7 +145,11 @@ ferret:
+ .PHONY: update
+ update:
+ - mv $(EXECNAME) $(EXECNAME)_`ls -l $(EXECNAME) | awk '{print $$6"_"$$7}' | tr [A-Z] [a-z]`
++ifdef SOURCE_DATE_EPOCH
++ ${MAKE} update_date DATE=`/bin/date --utc --date="@$(SOURCE_DATE_EPOCH)" +%D`
++else
+ ${MAKE} update_date DATE=`/bin/date +%D`
++endif
+ rm -f special/xrevision_type_data.[Ffo]
+ sed -e 's&mmmmmmmm&($(DEBUG_TITLE)/$(GUI))&' -e 's&(/&(&' -e 's&/)&)&' < special/xrevision_type_data.template > special/xrevision_type_data.F
+ rm -f special/xplatform_type_data.[Ffo]
diff --git a/debian/patches/series b/debian/patches/series
index 855f470..8ef2872 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ ferret_paths.patch
missing-functions.patch
debian.patch
fix-bashisms.patch
+reproducible-build.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ferret-vis.git
More information about the debian-science-commits
mailing list