Source: markdown
Version: 1.0.1-7
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@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 
+0000
+++ markdown/markdown-1.0.1/debian/rules        2015-02-03 10:59:08.302446231 
+0000
@@ -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
 
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to