Source: node-rimraf
Version: 2.5.4-1
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 node-rimraf could not be built reproducibly.

This is due to exluding bin.js from dh_fixperms (to keep it executable)
which means that the group "write" bit is inherited from the system's
umask.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/rules      2016-11-26 12:20:11.766655153 +0000
--- b/debian/rules      2016-11-26 12:22:01.617818051 +0000
@@ -8,4 +8,5 @@
        dh $@
 
 override_dh_fixperms:
-       dh_fixperms -X debian/node-rimraf/usr/lib/nodejs/rimraf/bin.js
+       dh_fixperms
+       chmod +x debian/node-rimraf/usr/lib/nodejs/rimraf/bin.js
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to