Source: ssmtp
Version: 2.64-8
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 ssmtp could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, ssmtp 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 ssmtp.orig/ssmtp-2.64/debian/rules ssmtp/ssmtp-2.64/debian/rules
--- ssmtp.orig/ssmtp-2.64/debian/rules  2015-02-07 23:03:10.515790371 +0000
+++ ssmtp/ssmtp-2.64/debian/rules       2015-02-07 23:10:56.588176952 +0000
@@ -55,8 +55,8 @@
        -cd debian/tmp/usr/sbin && ln -sf ssmtp mailq
        install -m 644 debian/mailq.8 debian/tmp/usr/share/man/man8
 
-       gzip -9v debian/tmp/usr/share/man/man5/*
-       gzip -9v debian/tmp/usr/share/man/man8/*
+       gzip -9nv debian/tmp/usr/share/man/man5/*
+       gzip -9nv debian/tmp/usr/share/man/man8/*
        -cd debian/tmp/usr/share/man/man8 && ln -sf ssmtp.8.gz sendmail.8.gz
 
        install -d -m 755 -o root -g root debian/tmp/usr/share/doc/ssmtp
@@ -67,7 +67,7 @@
        install -m 644 debian/changelog 
debian/tmp/usr/share/doc/ssmtp/changelog.Debian
        install -m 644 CHANGELOG_OLD debian/tmp/usr/share/doc/ssmtp/changelog
        install -m 644 debian/AddHeader debian/tmp/usr/share/doc/ssmtp/AddHeader
-       gzip -9 debian/tmp/usr/share/doc/ssmtp/{changelog.Debian,changelog}
+       gzip -9n debian/tmp/usr/share/doc/ssmtp/{changelog.Debian,changelog}
 
        install -d -m 755 debian/tmp/etc/logcheck/ignore.d.server
        install -m 640 debian/logcheck.server \

Reply via email to