Source: blosxom
Version: 2.1.2-1
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 blosxom could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, blosxom 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 blosxom.orig/blosxom-2.1.2/debian/rules 
blosxom/blosxom-2.1.2/debian/rules
--- blosxom.orig/blosxom-2.1.2/debian/rules     2015-02-07 11:00:08.991337354 
+0000
+++ blosxom/blosxom-2.1.2/debian/rules  2015-02-07 11:01:14.362216372 +0000
@@ -46,7 +46,7 @@
        $(INSTALL_FILE) debian/plugins-available/* \
                $(TMP)/etc/blosxom/plugins-available
 
-       cd $(TMP)/usr/share && gzip -9 doc/$(PKG)/changelog \
+       cd $(TMP)/usr/share && gzip -9n doc/$(PKG)/changelog \
                man/man7/blosxom.7
 
        chown www-data:www-data $(TMP)/var/lib/blosxom/state
@@ -63,7 +63,7 @@
                debian/NEWS.Debian $(TMP)/usr/share/doc/$(PKG)
        $(INSTALL_FILE) debian/changelog \
                $(TMP)/usr/share/doc/$(PKG)/changelog.Debian
-       cd $(TMP)/usr/share/doc/$(PKG) && gzip -9 changelog.Debian NEWS.Debian
+       cd $(TMP)/usr/share/doc/$(PKG) && gzip -9n changelog.Debian NEWS.Debian
 
        $(INSTALL_SCRIPT) debian/preinst debian/postrm $(TMP)/DEBIAN
 

Reply via email to