Source: leave
Version: 1.12-2.1
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 leave could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, leave 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 leave.orig/leave-1.12/debian/rules leave/leave-1.12/debian/rules
--- leave.orig/leave-1.12/debian/rules  2015-02-07 23:20:48.038072396 +0000
+++ leave/leave-1.12/debian/rules       2015-02-07 23:24:22.823482516 +0000
@@ -28,8 +28,8 @@
        install -d -m 755 $(tmp)/usr/bin $(tmp)/usr/share/man/man1 \
                $(tmp)/DEBIAN $(tmp)/usr/share/doc/leave
        install $(stripflag) -m 755 leave $(tmp)/usr/bin
-       gzip -c9 leave.1 > $(tmp)/usr/share/man/man1/leave.1.gz
-       gzip -c9 debian/changelog > 
$(tmp)/usr/share/doc/leave/changelog.Debian.gz
+       gzip -c9n leave.1 > $(tmp)/usr/share/man/man1/leave.1.gz
+       gzip -c9n debian/changelog > 
$(tmp)/usr/share/doc/leave/changelog.Debian.gz
        install -m 644 debian/copyright $(tmp)/usr/share/doc/leave
        dpkg-shlibdeps $(tmp)/usr/bin/leave
        dpkg-gencontrol -isp -P$(tmp)
_______________________________________________
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