Source: newmail
Version: 0.5-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 newmail could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, newmail 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 newmail.orig/newmail-0.5/debian/rules 
newmail/newmail-0.5/debian/rules
--- newmail.orig/newmail-0.5/debian/rules       2015-02-12 02:55:35.226805079 
+0000
+++ newmail/newmail-0.5/debian/rules    2015-02-12 02:56:38.089063184 +0000
@@ -60,7 +60,7 @@
        $(installbin) -d debian/tmp/usr/share/doc/$(package)
        $(installdoc) debian/changelog 
debian/tmp/usr/share/doc/$(package)/changelog.Debian
        $(installdoc) debian/copyright debian/tmp/usr/share/doc/$(package)
-       gzip -9f debian/tmp/usr/share/doc/$(package)/changelog.Debian
+       gzip -9nf debian/tmp/usr/share/doc/$(package)/changelog.Debian
        #
        $(installdoc) AUTHORS debian/tmp/usr/share/doc/$(package)
        $(installdoc) README debian/tmp/usr/share/doc/$(package)
@@ -70,7 +70,7 @@
        $(MAKE) prefix=debian/tmp/usr install
        $(installbin) $(STRIP) newmail debian/tmp/usr/bin
        #
-       gzip -9f debian/tmp/usr/share/man/man1/newmail.1
+       gzip -9nf debian/tmp/usr/share/man/man1/newmail.1
        #
        dpkg-shlibdeps debian/tmp/usr/bin/newmail
        dpkg-gencontrol -isp
_______________________________________________
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