[Reproducible-commits] [docbook-to-man] 03/05: Remove timestamp in generated manpage to help build reproducibility.

Mattia Rizzolo mattia at mapreri.org
Sat Apr 11 15:38:30 UTC 2015


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

mapreri-guest pushed a commit to branch pu/reproducible_builds
in repository docbook-to-man.

commit efe2d7519d06ce5aefdc5c705f50b4d6bc127ea4
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Mon Mar 16 23:53:11 2015 +0100

    Remove timestamp in generated manpage to help build reproducibility.
    
    Conflicts:
    	debian/changelog
    	debian/patches/series
---
 debian/changelog                         |  7 +++++++
 debian/patches/07-remove-timestamp.patch | 17 +++++++++++++++++
 debian/patches/series                    |  1 +
 3 files changed, 25 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index c5c680f..7136bdb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+docbook-to-man (1:2.0.0-32.0~reproducible1) UNRELEASED; urgency=low
+
+  [ Chris Lamb ]
+  * Remove timestamp in generated manpage to help build reproducibility.
+
+ -- Jérémy Bobbio <lunar at debian.org>  Wed, 28 Jan 2015 14:16:27 +0000
+
 docbook-to-man (1:2.0.0-33) experimental; urgency=low
 
   * New maintainer (Closes: #549475).
diff --git a/debian/patches/07-remove-timestamp.patch b/debian/patches/07-remove-timestamp.patch
new file mode 100644
index 0000000..9736b5e
--- /dev/null
+++ b/debian/patches/07-remove-timestamp.patch
@@ -0,0 +1,17 @@
+Description: remove timestamp in generated manpage
+ Capturing the current time during builds prevent packages from building
+ reproducibly. One can already know when a manpage has been generated by
+ looking at the file creation time.
+Author: Chris Lamb <lamby at debian.org>
+
+--- docbook-to-man-2.0.0.orig/Transpec/docbook-to-man.ts
++++ docbook-to-man-2.0.0/Transpec/docbook-to-man.ts
+@@ -60,7 +60,7 @@ GI:		REFENTRY
+ #StartText:	^'\\" t^${_action 1001}
+ StartText:	^${_action 1001}.TH "${_followrel descendant REFENTRYTITLE 1000}"
+ 		"${_followrel descendant MANVOLNUM 1000}"^
+-EndText:	^.\\" created by instant / docbook-to-man, ${date}^
++EndText:	^.\\" created by instant / docbook-to-man^
+ -
+ #
+ GI:		DOCINFO
diff --git a/debian/patches/series b/debian/patches/series
index 699dac6..00f6253 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@
 05-makefile.patch
 06-format-security.patch
 better-checking-of-return-value-of-Split-function.patch
+07-remove-timestamp.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/docbook-to-man.git



More information about the Reproducible-commits mailing list