Source: enigmail
Version: 2:2.0.7-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: fileordering
X-Debbugs-Cc: [email protected]

Hi,

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

This is because it contains the output of iterating over the
filesystem in a nondeterministic order.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
diff --git a/util/genxpi b/util/genxpi
index d104d3a..ee17d12 100755
--- a/util/genxpi
+++ b/util/genxpi
@@ -51,7 +51,7 @@ fi
 
 cd "$targetDir"
 
-find modules -name "*.js*" > modules/all-modules.txt
+find modules -name "*.js*" | LC_ALL=C sort > modules/all-modules.txt
 
 echo "Creating ${xpiFile} file"
 

Reply via email to