[Pkg-giraffe-maintainers] Bug#887989: kopano-webapp: please make the build reproducible

Chris Lamb lamby at debian.org
Mon Jan 22 11:37:24 UTC 2018


Source: kopano-webapp
Version: 3.4.4+dfsg1-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that kopano-webapp could not be built reproducibly.

This is because it encoded the build path in the .js.map files.

(You can probably use -X<item> to also avoid the unwieldy removal
of *debug*.js files too but I didn't do this in this patch.)


Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2018-01-22 21:58:07.337442569 +1100
--- b/debian/rules	2018-01-22 22:33:16.426722269 +1100
@@ -17,7 +17,7 @@
 	cp -a $(CURDIR)/deploy $(CURDIR)/debian/tmp/
 
 override_dh_install:
-	dh_install
+	dh_install -X.js.map
 	# figure out package version
 	echo $(DEB_VERSION) > \
 		$(CURDIR)/debian/kopano-webapp-common/usr/share/kopano-webapp/version


More information about the Pkg-giraffe-maintainers mailing list