Source: zec
Version: 0.12-2
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 zec could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, zec 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 zec.orig/zec-0.12/debian/rules zec/zec-0.12/debian/rules
--- zec.orig/zec-0.12/debian/rules      2015-02-07 13:09:37.924774064 +0000
+++ zec/zec-0.12/debian/rules   2015-02-07 13:09:57.213647160 +0000
@@ -27,15 +27,15 @@
        $(INSTALL_DIR) debian/tmp
        cd debian/tmp && $(INSTALL_DIR) `cat ../dirs` DEBIAN
        $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
-       gzip -9frq debian/tmp/usr/share/man/man6/*.6
+       gzip -9frnq debian/tmp/usr/share/man/man6/*.6
 
        $(INSTALL_SCRIPT) debian/postinst debian/tmp/DEBIAN/postinst
        $(INSTALL_SCRIPT) debian/postrm debian/tmp/DEBIAN/postrm
        $(INSTALL_FILE) debian/copyright 
debian/tmp/usr/share/doc/$(package)/copyright
        $(INSTALL_FILE) debian/changelog 
debian/tmp/usr/share/doc/$(package)/changelog.Debian
        $(INSTALL_FILE) ChangeLog debian/tmp/usr/share/doc/$(package)/changelog
-       gzip -9frq debian/tmp/usr/share/doc/$(package)/changelog.Debian \
-                  debian/tmp/usr/share/doc/$(package)/changelog
+       gzip -9frnq debian/tmp/usr/share/doc/$(package)/changelog.Debian \
+                   debian/tmp/usr/share/doc/$(package)/changelog
        $(INSTALL_FILE) debian/menu debian/tmp/usr/share/menu/$(package)
 
        $(INSTALL_FILE) AUTHORS NEWS README debian/tmp/usr/share/doc/$(package)
_______________________________________________
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