Source: swaks
Version: 20130209.0-3
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 swaks could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, swaks 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 swaks.orig/swaks-20130209.0/debian/rules 
swaks/swaks-20130209.0/debian/rules
--- swaks.orig/swaks-20130209.0/debian/rules    2015-02-03 10:52:45.246957032 
+0000
+++ swaks/swaks-20130209.0/debian/rules 2015-02-03 10:54:23.210915819 +0000
@@ -36,7 +36,7 @@
                debian/tmp/usr/share/doc/swaks/
        $(INSTALL_FILE) doc/recipes.txt debian/tmp/usr/share/doc/swaks/examples/
        find debian/tmp/usr/share/man/man1 debian/tmp/usr/share/doc/swaks/ \
-               -type f -size +4096c -exec gzip -v9 {} +
+               -type f -size +4096c -exec gzip -v9n {} +
        (cd debian/tmp; find -type f | sed s#^./## | grep -v DEBIAN | \
                                        xargs md5sum > DEBIAN/md5sums && \
                                        chmod 644 DEBIAN/md5sums )

Reply via email to