Source: uhub
Version: 0.4.1-3
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: umask
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

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

This was because dh_fixperms was not being called (to avoid mangling
the existing chmod), meaning that files were installed to the .deb
varying on the current umask.

The solution is to reinstate the call to dh_fixperms but to use its
--exclude/-X argument.


Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/rules      2016-08-18 23:54:55.441456261 +0100
--- b/debian/rules      2016-08-19 00:01:22.564666976 +0100
@@ -22,8 +22,8 @@
        dh_auto_install
        chmod 0750 $(CURDIR)/debian/$(PACKAGE)/var/log/uhub
 
-# Do nothing:
-.PHONY: override_dh_fixperms
+override_dh_fixperms:
+       dh_fixperms -Xvar/log/uhub
 
 get-orig-source:
        # preparation

Reply via email to