[mathpiper] 01/01: First attempt at building reproducible.

Giovanni Mascellani gio at moszumanska.debian.org
Fri Apr 29 14:09:24 UTC 2016


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

gio pushed a commit to branch master
in repository mathpiper.

commit 9fb5e75504d070dfdfaab9e29ff6af3f8f778bbd
Author: Giovanni Mascellani <mascellani at poisson.phc.unipi.it>
Date:   Fri Apr 29 15:51:09 2016 +0200

    First attempt at building reproducible.
    
    So far completely insufficient.
---
 debian/changelog            |  6 ++++++
 debian/patches/reproducible | 13 +++++++++++++
 debian/patches/series       |  1 +
 3 files changed, 20 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index ae21b9e..7e4d59d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+mathpiper (0.81f+svn4469+dfsg3-4) UNRELEASED; urgency=medium
+
+  * Make build reproducible.
+
+ -- Giovanni Mascellani <gio at debian.org>  Fri, 29 Apr 2016 15:50:58 +0200
+
 mathpiper (0.81f+svn4469+dfsg3-3) unstable; urgency=low
 
   * Upload to unstable.
diff --git a/debian/patches/reproducible b/debian/patches/reproducible
new file mode 100644
index 0000000..0b0264f
--- /dev/null
+++ b/debian/patches/reproducible
@@ -0,0 +1,13 @@
+Index: mathpiper/src/org/mathpiper/mpreduce/packagedatastore/PDSOutputStream.java
+===================================================================
+--- mathpiper.orig/src/org/mathpiper/mpreduce/packagedatastore/PDSOutputStream.java
++++ mathpiper/src/org/mathpiper/mpreduce/packagedatastore/PDSOutputStream.java
+@@ -76,7 +76,7 @@ public void close() throws IOException
+     pds.f.write(length >> 16);
+     pds.f.write(length >> 8);
+     pds.f.write(length);
+-    long date = new Date().getTime();
++    long date = 0;
+     pds.f.write((int)(date >> 56));
+     pds.f.write((int)(date >> 48));
+     pds.f.write((int)(date >> 40));
diff --git a/debian/patches/series b/debian/patches/series
index 451ed48..66cabc4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 variableList
+reproducible

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/mathpiper.git



More information about the pkg-java-commits mailing list