Source: simavr
Version: 1.5+dfsg1-2
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: umask
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that simavr could not be built reproducibly.

This is because the examples.tar.gz contents varied on umask.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/rules      2017-12-01 08:59:23.980622486 +0000
--- b/debian/rules      2017-12-01 09:12:13.270258879 +0000
@@ -29,12 +29,14 @@
          --numeric-owner \
          --owner=0 \
          --group=0 \
+         --mode=go=rX,u+rw,a-s \
          --mtime=./examples/Makefile \
          --files-from=debian/examples.tarball
        tar rf examples.tar \
          --numeric-owner \
          --owner=0 \
          --group=0 \
+         --mode=go=rX,u+rw,a-s \
          --mtime=./debian/examples/makefile.common \
          -C debian examples
 

Reply via email to