Source: node-rimraf
Version: 2.5.4-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: umask
X-Debbugs-Cc: [email protected]
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
`. `'` [email protected] / 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