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

The attached patch removes timestamps from the build system. Once
applied, xbs 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 xbs.orig/xbs-0/debian/rules xbs/xbs-0/debian/rules
--- xbs.orig/xbs-0/debian/rules 2015-02-03 23:58:23.991221490 +0000
+++ xbs/xbs-0/debian/rules      2015-02-03 23:59:44.090787151 +0000
@@ -32,7 +32,7 @@
 # install man page
        install -d debian/tmp/usr/share/man/man1
        cp debian/$(package).1 debian/tmp/usr/share/man/man1
-       gzip -9 debian/tmp/usr/share/man/man1/*
+       gzip -9n debian/tmp/usr/share/man/man1/*
 
 
 # install standard docs
@@ -40,7 +40,7 @@
        cp debian/README.debian  debian/tmp/usr/share/doc/$(package)
        cp debian/changelog debian/tmp/usr/share/doc/$(package)/changelog.Debian
        cp Changes.xbs debian/tmp/usr/share/doc/$(package)/changelog
-       gzip -9v debian/tmp/usr/share/doc/$(package)/change*
+       gzip -9vn debian/tmp/usr/share/doc/$(package)/change*
 
 # but don't gzip the copyright statement
 #
_______________________________________________
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