Chris Lamb:
> The attached patch removes these extra timestamps.

Patch against the source package for the version uploaded to the
reproducible experimental toolchain [1].

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

-- 
Lunar                                .''`. 
[email protected]                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   
diff -Nru docbook-to-man-2.0.0/debian/changelog docbook-to-man-2.0.0/debian/changelog
--- docbook-to-man-2.0.0/debian/changelog	2014-09-27 17:06:58.000000000 +0000
+++ docbook-to-man-2.0.0/debian/changelog	2015-01-28 14:44:43.000000000 +0000
@@ -1,3 +1,11 @@
+docbook-to-man (1:2.0.0-32.0~reproducible1) UNRELEASED; urgency=low
+
+  [ Chris Lamb ]
+  * Remove timestamp in generated manpage to help build reproducibility
+    (Closes: #776143).
+
+ -- Jérémy Bobbio <[email protected]>  Wed, 28 Jan 2015 14:16:27 +0000
+
 docbook-to-man (1:2.0.0-32) unstable; urgency=low
 
   * Package orphaned.
diff -Nru docbook-to-man-2.0.0/debian/patches/07-remove-timestamp.patch docbook-to-man-2.0.0/debian/patches/07-remove-timestamp.patch
--- docbook-to-man-2.0.0/debian/patches/07-remove-timestamp.patch	1970-01-01 00:00:00.000000000 +0000
+++ docbook-to-man-2.0.0/debian/patches/07-remove-timestamp.patch	2015-01-28 14:21:16.000000000 +0000
@@ -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 <[email protected]>
+
+--- 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 -Nru docbook-to-man-2.0.0/debian/patches/series docbook-to-man-2.0.0/debian/patches/series
--- docbook-to-man-2.0.0/debian/patches/series	2014-09-27 17:07:16.000000000 +0000
+++ docbook-to-man-2.0.0/debian/patches/series	2015-01-28 14:21:50.000000000 +0000
@@ -4,3 +4,4 @@
 04-instant-man.patch
 05-makefile.patch
 06-format-security.patch
+07-remove-timestamp.patch

Attachment: signature.asc
Description: Digital signature

Reply via email to