[Pkg-javascript-devel] Bug#845745: node-rimraf: please make the build reproducible

Chris Lamb lamby at debian.org
Sat Nov 26 12:23:07 UTC 2016


Source: node-rimraf
Version: 2.5.4-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: umask
X-Debbugs-Cc: reproducible-bugs at 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
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- 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


More information about the Pkg-javascript-devel mailing list