Your message dated Fri, 14 Jul 2017 16:25:33 +0000
with message-id <e1dw3pj-0009ag...@fasolo.debian.org>
and subject line Bug#868321: fixed in node-marked-man 0.3.0-1
has caused the Debian Bug report #868321,
regarding node-marked-man: please make the output reproducible
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
868321: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=868321
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: node-marked-man
Version: 0.2.0-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps toolchain
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that node-marked-man generated reproducible output. In particular,
it uses the current timestamp which varies between builds.

Patch attached that uses SOURCE_DATE_EPOCH[1] if that is exported
in the environment.

 [0] https://reproducible-builds.org/
 [1] https://reproducible-builds.org/specs/source-date-epoch/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb, Debian Project Leader
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff --git a/lib/marked-man.js b/lib/marked-man.js
index 71e58d2..e34d089 100644
--- a/lib/marked-man.js
+++ b/lib/marked-man.js
@@ -414,6 +414,9 @@ function rparseHeader(str, options) {
 }
 function manDate(date) {
   date = new Date(date);
+  if (process.env.SOURCE_DATE_EPOCH) {
+    date = new Date(process.env.SOURCE_DATE_EPOCH * 1000);
+  }
   var month = ["January", "February", "March", "April", "May", "June", "July", 
"August", "September", "October", "November", "December"][date.getMonth()];
   return month + " " + date.getFullYear();
 }

--- End Message ---
--- Begin Message ---
Source: node-marked-man
Source-Version: 0.3.0-1

We believe that the bug you reported is fixed in the latest version of
node-marked-man, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 868...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jérémy Lal <kapo...@melix.org> (supplier of updated node-marked-man package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 14 Jul 2017 17:55:08 +0200
Source: node-marked-man
Binary: node-marked-man
Architecture: source
Version: 0.3.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers 
<pkg-javascript-de...@lists.alioth.debian.org>
Changed-By: Jérémy Lal <kapo...@melix.org>
Description:
 node-marked-man - Markdown to man page conversion - Node.js
Closes: 868321
Changes:
 node-marked-man (0.3.0-1) unstable; urgency=medium
 .
   * New upstream version 0.3.0
   * Set manpage date from SOURCE_DATE_EPOCH (Closes: #868321).
Checksums-Sha1:
 d10a823bc97f8882d55bfef8507143544dbf706b 2120 node-marked-man_0.3.0-1.dsc
 0fc54500cd3fc00e60cce46a7d3490db4340f59c 47247 
node-marked-man_0.3.0.orig.tar.gz
 29722f36824c78acfede596e4384f2b7f0115ca6 2636 
node-marked-man_0.3.0-1.debian.tar.xz
 b0cd1daf61eda8a9ea8fe910505dd7eb5349b726 5662 
node-marked-man_0.3.0-1_source.buildinfo
Checksums-Sha256:
 624e19f4311c81a7f3326d31b243afb525c176cd9e3cde359094ef8f4effc131 2120 
node-marked-man_0.3.0-1.dsc
 36fc437173b508525e9b3c1f54cfc5341056975538019d85560e4722419f8321 47247 
node-marked-man_0.3.0.orig.tar.gz
 04172d5d23b3d08403879db5f586a07631de81b8f6388a0d441b458f4eda7fc1 2636 
node-marked-man_0.3.0-1.debian.tar.xz
 188de60262bf6ef9e77522a342b556f9983b505d592eee0b9bfa7aa3d9d5b1f1 5662 
node-marked-man_0.3.0-1_source.buildinfo
Files:
 c86497b2ab62b1b02d7f0af1c3e32a29 2120 web optional node-marked-man_0.3.0-1.dsc
 9649083187c55dd1d7277df0cde1c9dd 47247 web optional 
node-marked-man_0.3.0.orig.tar.gz
 bd8b8176f1226de8bd5263ac864d123d 2636 web optional 
node-marked-man_0.3.0-1.debian.tar.xz
 1c008436ebe31fddf27aaeb1f9019166 5662 web optional 
node-marked-man_0.3.0-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCAAwFiEEA8Tnq7iA9SQwbkgVZhHAXt0583QFAllo6lgSHGthcG91ZXJA
bWVsaXgub3JnAAoJEGYRwF7dOfN0NJMP/isd4AVz5Q6eAZMxGnw21SZ2CXuu1w2S
9XtH0Umxg03HVqdpT/r/ZmtwP8J5Ar1xEBSXJ6p8nZ0DRL3a723U28OPse+K6J8z
XG/aHZ2kulVYZiYsdNr2dAVOwujmvuL9jyGOg2OQVBy/C9nG4i5Bpv9zp/JUDf2w
A6dFQ7sQ2ppoFDScB5DL0VpYK00x3PfciI+fdBMlebbMWaQjiXvvjvAz/kQHCmr9
Pt3kVHlPCyH8QPRwhv8yMGIlJ1TX7TpRAbQ+Dj1Z9KoBTdxFSY0NEhrl5tvvXmKw
m220EU30mePJgHMhP9pdDNqI81t5h9WYmiNfHDhxI6USaepqBpl3wpUP5LpL/UXc
wqBW0lnhDIBAAW7rK1ZGGR1VxQHnMglY0bJkHwr5rWgHp9BS6uqubb3uxrVykK5M
UBhsMFsF9oB1fjEr8PPUwVQBDO2zbopGfhfVGiCEkkZcfecUkXTnaGpVK+mNPJgT
hXJ/rbUkqekGZ8Ji/81rIXsdpS/yaKxJrGN0jhtf9FD+4QW23RqxUNZuCBlJZqrA
pykRNELbhcdifc47d7A4PtuNQvbTh2mxtDIjCD+q9zXMIuNRpl2N38JX1SR98qM9
RqMU1Ywe2oH1ydTtUQYY/qNldnXbkgYx0vcfuCijVExKwSfGikxqvLNKOXTPfaLt
GnwjUl5KOF8h
=ZC7i
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to