Source: y-u-no-validate
Version: 2013052401-3
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: umask
X-Debbugs-Cc: [email protected]
Hi,
While working on the "reproducible builds" effort [1], we have noticed
that y-u-no-validate could not be built reproducibly.
The attached patch removes umask variability from the build system by
using dh_install to actually install files. Once applied,
y-u-no-validate
can be built reproducibly in our reproducible toolchain.
[1]: https://wiki.debian.org/ReproducibleBuilds
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
diff --no-dereference -urNad
y-u-no-validate.orig/y-u-no-validate-2013052401/debian/rules
y-u-no-validate/y-u-no-validate-2013052401/debian/rules
--- y-u-no-validate.orig/y-u-no-validate-2013052401/debian/rules
2015-06-26 20:06:23.479856822 +0100
+++ y-u-no-validate/y-u-no-validate-2013052401/debian/rules 2015-06-26
20:24:13.504339653 +0100
@@ -13,7 +13,8 @@
dh_testroot
dh_prep
install-xpi -x 'test*' -x README -r debian/xul-ext-y-u-no-validate.xpi
- cd debian/*/usr/share/xul-ext/*/chrome/ && unzip *.jar && rm *.jar
+ cd debian/*/usr/share/xul-ext/*/chrome/ && unzip -d
$(CURDIR)/debian/chrome *.jar && rm *.jar
+ dh_install debian/chrome debian/*/usr/share/xul-ext/*/
sed -i -e 's,y-u-no-validate[.]jar!/,,' -e 's/jar://'
debian/*/usr/share/xul-ext/*/chrome.manifest
dh_xul-ext
dh_installdocs README
@@ -29,6 +30,7 @@
.PHONY: clean
clean: debian/control
dh_clean
+ rm -rf debian/chrome
here = $(dir $(firstword $(MAKEFILE_LIST)))/..