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

satta pushed a commit to branch master
in repository crac.

commit 095db8978b5b9d94d4bffd849072cc204bf49f45
Author: Sascha Steinbiss <sa...@debian.org>
Date:   Tue Aug 8 21:23:06 2017 +0200

    make build reproducible
---
 debian/changelog                        |  9 +++++++--
 debian/patches/reproducible_build.patch | 17 +++++++++++++++++
 debian/patches/series                   |  1 +
 3 files changed, 25 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 292d710..1db81c1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,14 @@
-crac (2.5.0+dfsg-2) UNRELEASED; urgency=low
+crac (2.5.0+dfsg-2) unstable; urgency=low
 
+  [ Steffen Moeller ]
   * debian/upstream/metadata: Added reference to registries
   * debian/copyright: Corrected upstream name to CRAC
 
- -- Steffen Moeller <moel...@debian.org>  Thu, 03 Aug 2017 16:00:16 +0200
+  [ Sascha Steinbiss ]
+  * Make build reproducible. Thanks to Chris Lamb for the patch.
+    Closes: #859300
+
+ -- Sascha Steinbiss <sa...@debian.org>  Tue, 08 Aug 2017 21:16:46 +0200
 
 crac (2.5.0+dfsg-1) unstable; urgency=low
 
diff --git a/debian/patches/reproducible_build.patch 
b/debian/patches/reproducible_build.patch
new file mode 100644
index 0000000..3fb4254
--- /dev/null
+++ b/debian/patches/reproducible_build.patch
@@ -0,0 +1,17 @@
+Description: Make the build reproducible
+Author: Chris Lamb <la...@debian.org>
+Last-Update: 2017-04-01
+
+--- crac-2.5.0+dfsg.orig/configure.ac
++++ crac-2.5.0+dfsg/configure.ac
+@@ -159,6 +159,10 @@ LT_INIT
+ LT_PATH_LD
+ 
+ ISODATE=`date +%Y-%m-%d`
++if test -n "$SOURCE_DATE_EPOCH"; then
++   ISODATE=`date --utc --date="@$SOURCE_DATE_EPOCH" +%Y-%m-%d`
++fi
++
+ AC_SUBST([ISODATE])
+ 
+ ARCH=`uname -m | sed s/i.86/i386/ | sed s/x86_64/amd64/`
diff --git a/debian/patches/series b/debian/patches/series
index bc6bee1..93b83f5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ use_debian_packaged_libjellyfish.patch
 fix_includes.patch
 skip_failed_test_bug-14958.patch
 use_debian_packages_libgtarrays.patch
+reproducible_build.patch

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

_______________________________________________
debian-med-commit mailing list
debian-med-commit@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to