Bug#776925: markdown: please make the build reproducible

2015-02-03 Thread Matt Kraai
Hi,

On Tue, Feb 03, 2015 at 11:00:03AM +, Chris Lamb wrote:
 While working on the reproducible builds effort [1], we have noticed
 that markdown could not be built reproducibly.
 
 The attached patch removes timestamps from the build system. Once
 applied, markdown can be built reproducibly in our current experimental
 framework.

Thanks for the information and patch.  I'll upload a patched version
to experimental now and upload a patched version to unstable once
jessie is released.

-- 
Matt


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#776925: markdown: please make the build reproducible

2015-02-03 Thread Chris Lamb
Source: markdown
Version: 1.0.1-7
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

While working on the reproducible builds effort [1], we have noticed
that markdown could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, markdown can be built reproducibly in our current experimental
framework.

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


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff -urNad markdown.orig/markdown-1.0.1/debian/rules 
markdown/markdown-1.0.1/debian/rules
--- markdown.orig/markdown-1.0.1/debian/rules   2015-02-03 10:58:20.204499948 
+
+++ markdown/markdown-1.0.1/debian/rules2015-02-03 10:59:08.302446231 
+
@@ -13,14 +13,14 @@
install -d debian/tmp/usr/share/man/man1 
install -d debian/tmp/usr/share/man/man3
install -m 644 markdown.1 debian/tmp/usr/share/man/man1/markdown.1
-   gzip -9 debian/tmp/usr/share/man/man1/markdown.1
+   gzip -9n debian/tmp/usr/share/man/man1/markdown.1
ln -sf ../man1/markdown.1.gz \
debian/tmp/usr/share/man/man3/Markdown.3.gz
 
install -d debian/tmp/usr/share/doc/markdown
install -m 644 debian/changelog \
debian/tmp/usr/share/doc/markdown/changelog.Debian
-   gzip -9 debian/tmp/usr/share/doc/markdown/changelog.Debian
+   gzip -9n debian/tmp/usr/share/doc/markdown/changelog.Debian
install -m 644 debian/copyright \
debian/tmp/usr/share/doc/markdown/copyright