Source: node-mocha
Version: 1.20.1-2
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: locale
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

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

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/patches/0004-reproducible_build.patch      1970-01-01 
01:00:00.000000000 +0100
--- b/debian/patches/0004-reproducible_build.patch      2017-03-04 
22:08:07.627508560 +0000
@@ -0,0 +1,15 @@
+Description: Make the build reproducible
+Author: Chris Lamb <la...@debian.org>
+Last-Update: 2017-03-04
+
+--- node-mocha-1.20.1.orig/Makefile
++++ node-mocha-1.20.1/Makefile
+@@ -1,7 +1,7 @@
+ 
+ REPORTER ?= dot
+ TM_BUNDLE = JavaScript\ mocha.tmbundle
+-SRC = $(shell find lib -name "*.js" -type f | sort)
++SRC = $(shell find lib -name "*.js" -type f | LC_ALL=C sort)
+ SUPPORT = $(wildcard support/*.js)
+ 
+ all: mocha.js
--- a/debian/patches/series     2017-03-04 22:05:17.590246118 +0000
--- b/debian/patches/series     2017-03-04 22:07:21.511163989 +0000
@@ -3,3 +3,4 @@
 0002_fix_node_shebang.patch
 0003_images_in_usr_share.patch
 register-coffeescript.patch
+0004-reproducible_build.patch
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to