Source: node-proxy
Version: 1.0.2-2
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-proxy could not be built reproducibly.

This is because it installs a file without processing them using
dh_fixperms.

Patch attached that replaces the exclude with an explicit call to
chmod +x for this particular file instead.

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


Regards,

--
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2020-10-21 15:18:08.191583335 +0100
--- b/debian/rules      2020-10-21 15:20:22.388529788 +0100
@@ -4,4 +4,5 @@
        dh $@ --with nodejs
 
 override_dh_fixperms:
-       dh_fixperms --exclude bin/proxy.js
+       dh_fixperms
+       find debian -path '*/bin/proxy.js' -print0 | xargs -0r chmod +x

Reply via email to