Source: tunnelx
Version: 20140102-2
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: locale
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

While working on the "reproducible builds" effort [0], we have noticed
that tunnelx could not be built reproducibly.

The attached patch removes locale-specific ordering from the build
system. Once applied, tunnelx can be built reproducibly in our
reproducible toolchain.

 [0] https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/rules      2015-09-16 23:53:37.616741256 +0100
--- b/debian/rules      2015-09-16 23:55:04.429546438 +0100
@@ -24,6 +24,6 @@
 override_dh_install:
        uudecode -o debian/tunnelx.png debian/tunnelx.png.uu
        dh_install
-       ls symbols > symbols/listdir.txt
-       ls tutorials > tutorials/listdir.txt
+       ls symbols | LC_ALL=C sort > symbols/listdir.txt
+       ls tutorials | LC_ALL=C sort > tutorials/listdir.txt
        jar uMf debian/tunnelx/usr/share/tunnelx/tunnelx.jar symbols/* 
tutorials/*

Reply via email to