Source: abook
Version: 0.6.0~pre2-3
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 abook could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, abook 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 abook.orig/abook-0.6.0~pre2/debian/rules 
abook/abook-0.6.0~pre2/debian/rules
--- abook.orig/abook-0.6.0~pre2/debian/rules    2015-02-07 09:37:31.939388765 
+0000
+++ abook/abook-0.6.0~pre2/debian/rules 2015-02-07 09:38:46.738721796 +0000
@@ -70,7 +70,7 @@
                $(TMP)/usr/share/doc/$(PKG)
        $(INSTALL_FILE) sample.abookrc \
                $(TMP)/usr/share/doc/$(PKG)/examples
-       cd $(TMP)/usr/share && gzip -9 man/man1/abook.1 man/man5/abookrc.5 \
+       cd $(TMP)/usr/share && gzip -9n man/man1/abook.1 man/man5/abookrc.5 \
                doc/$(PKG)/changelog
 
 
@@ -88,7 +88,7 @@
        $(INSTALL_FILE) debian/copyright $(TMP)/usr/share/doc/$(PKG)
        $(INSTALL_FILE) debian/changelog \
                $(TMP)/usr/share/doc/$(PKG)/changelog.Debian
-       gzip -9 $(TMP)/usr/share/doc/$(PKG)/changelog.Debian
+       gzip -9n $(TMP)/usr/share/doc/$(PKG)/changelog.Debian
        $(INSTALL_SCRIPT) debian/config debian/postinst debian/postrm \
                $(TMP)/DEBIAN
        po2debconf debian/templates > $(TMP)/DEBIAN/templates
_______________________________________________
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