Source: chiark-utils
Version: 4.4.2
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 chiark-utils could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, chiark-utils 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 chiark-utils.orig/chiark-utils-4.4.2/debian/rules 
chiark-utils/chiark-utils-4.4.2/debian/rules
--- chiark-utils.orig/chiark-utils-4.4.2/debian/rules   2015-02-07 
11:14:57.002459672 +0000
+++ chiark-utils/chiark-utils-4.4.2/debian/rules        2015-02-07 
11:20:37.969488231 +0000
@@ -63,7 +63,7 @@
                        $t/$$p/usr/share/doc/$$p/; \
                ln -s changelog.gz \
                        $t/$$p/usr/share/doc/$$p/changelog.Debian.gz; \
-               gzip -9v $t/$$p/usr/share/doc/$$p/changelog; \
+               gzip -9vn $t/$$p/usr/share/doc/$$p/changelog; \
                done
        #
        install -d $t/chiark-rwbuffer/usr/bin
@@ -93,7 +93,7 @@
                $t/chiark-utils-bin/usr/share/man/man8/trivsoundd.8
        rmdir   $t/chiark-utils-bin/usr/sbin
        #
-       gzip -9f $t/*/usr/share/man/man*/*
+       gzip -9fn $t/*/usr/share/man/man*/*
 
 binary-hook-chiark-backup:
 binary-hook-chiark-rwbuffer:

Reply via email to