Bug#843698: tunnelx: please make the build reproducible

Chris Lamb lamby at debian.org
Tue Nov 8 20:47:10 UTC 2016


Source: tunnelx
Version: 20160713-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Hi,

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

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-08 20:39:17.861985101 +0000
--- b/debian/rules	2016-11-08 20:43:39.019447477 +0000
@@ -23,6 +23,8 @@
 override_dh_install:
 	uudecode -o debian/tunnelx.png debian/tunnelx.png.uu
 	dh_install
-	ls symbols | LC_ALL=C sort > symbols/listdir.txt
-	ls tutorials | LC_ALL=C sort > tutorials/listdir.txt
+	set -e; for x in symbols tutorials; do \
+		rm -f $$x/listdir.txt; \
+		ls $$x | LC_ALL=C sort > $$x/listdir.txt; \
+	done
 	jar uMf debian/tunnelx/usr/share/tunnelx/tunnelx.jar symbols/* tutorials/*


More information about the Reproducible-builds mailing list