[libjspeex-java] 09/12: Remove the timestamp, the username and the OS information from the manifest to make the build reproducible

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Fri May 27 07:41:06 UTC 2016


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

ebourg-guest pushed a commit to branch master
in repository libjspeex-java.

commit acb4e71f173836181a04b7d7137bfa33348899c1
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Fri May 27 09:30:44 2016 +0200

    Remove the timestamp, the username and the OS information from the manifest to make the build reproducible
---
 debian/changelog                           |  2 ++
 debian/patches/reproducible-manifest.patch | 17 +++++++++++++++++
 debian/patches/series                      |  1 +
 3 files changed, 20 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 794c792..4cd7741 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 libjspeex-java (0.9.7-3.1) UNRELEASED; urgency=medium
 
   * Non-maintainer upload.
+  * Remove the timestamp, the username and the OS information from the manifest
+    to make the build reproducible
   * Standards-Version updated to 3.9.8 (no changes)
   * Moved the package to Git
   * Switch to debhelper level 9
diff --git a/debian/patches/reproducible-manifest.patch b/debian/patches/reproducible-manifest.patch
new file mode 100644
index 0000000..5aa9a4b
--- /dev/null
+++ b/debian/patches/reproducible-manifest.patch
@@ -0,0 +1,17 @@
+Description: Remove the timestamp, the username and the OS information from the manifest to make the build reproducible
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: no
+--- a/build.xml
++++ b/build.xml
+@@ -119,11 +119,6 @@
+       </fileset>
+       <metainf dir="${include}/metainf/"/>
+       <manifest>
+-        <section name="build">
+-          <attribute name="Build-Date" value="${NOW}"/>
+-          <attribute name="Built-By" value="${user.name}"/>
+-          <attribute name="Built-With" value="${os.name} ${os.version} ${os.arch}"/>
+-        </section>
+         <section name="library">
+           <attribute name="Library-Name" value="JSpeex"/>
+           <attribute name="Library-Version" value="${version}"/>
diff --git a/debian/patches/series b/debian/patches/series
index fabd9e3..996d65f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 disable_proguard.diff
+reproducible-manifest.patch

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



More information about the pkg-java-commits mailing list