Package: manpages-tr
Version: 1.0.5.1-2
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

--- Please enter the report below this line. ---

Hi!

While conducting a research study in the spirit of the "reproducible builds" 
practice [1], 
we have noticed that manpages-tr could not be built reproducibly.

The attached patch removes extra timestamps from the build system when creating 
the
source archive. Once applied, manpages-tr can be built reproducibly
using reprotest.

 [1]: https://wiki.debian.org/ReproducibleBuilds

diff -u manpages-tr-1.0.5.1/debian/changelog manpages-tr-1.0.5.1/debian/changelog
--- manpages-tr-1.0.5.1/debian/changelog
+++ manpages-tr-1.0.5.1/debian/changelog
@@ -1,3 +1,9 @@
+manpages-tr (1.0.5.1-2.0~reproducible1) UNRELEASED; urgency=low
+
+  * Make the package reproducible by modifying the argument of gzip 
+
+ -- Z. Ren <z...@dlut.edu.cn>  Sun, 05 Feb 2017 22:13:00 +0800
+
 manpages-tr (1.0.5.1-2) unstable; urgency=low
 
   * Patches included (Closes: #540638).
diff -u manpages-tr-1.0.5.1/debian/patches/series manpages-tr-1.0.5.1/debian/patches/series
--- manpages-tr-1.0.5.1/debian/patches/series
+++ manpages-tr-1.0.5.1/debian/patches/series
@@ -1 +1,2 @@
+reproducible
 bashisms.patch
only in patch2:
unchanged:
--- manpages-tr-1.0.5.1.orig/debian/patches/reproducible
+++ manpages-tr-1.0.5.1/debian/patches/reproducible
@@ -0,0 +1,10 @@
+reproducible
+--- a/source/manderle.sh
++++ b/source/manderle.sh
+@@ -26,5 +26,5 @@
+   then
+ 	cp tr/man$i/* ../tr/man$i/
+   fi
+-  gzip -9 ../tr/man$i/*;
++  gzip -9n ../tr/man$i/*;
+ done

Reply via email to