[Pkg-javascript-commits] [node-iscroll] 07/09: Make build reproducible
Balint Reczey
rbalint at moszumanska.debian.org
Mon Aug 1 09:15:27 UTC 2016
This is an automated email from the git hooks/post-receive script.
rbalint pushed a commit to branch master
in repository node-iscroll.
commit df235679490c294b7535d1e988431dcca748623e
Author: Balint Reczey <balint at balintreczey.hu>
Date: Mon Aug 1 10:57:27 2016 +0200
Make build reproducible
Closes: #833063
---
.../0001-Enable-reproducible-building.patch | 31 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 32 insertions(+)
diff --git a/debian/patches/0001-Enable-reproducible-building.patch b/debian/patches/0001-Enable-reproducible-building.patch
new file mode 100644
index 0000000..afb33e6
--- /dev/null
+++ b/debian/patches/0001-Enable-reproducible-building.patch
@@ -0,0 +1,31 @@
+From ccd9b7f4148b7738054287947a7a7eb220dea139 Mon Sep 17 00:00:00 2001
+From: Reiner Herrmann <reiner at reiner-h.de>
+Date: Mon, 1 Aug 2016 10:39:47 +0200
+Subject: [PATCH] Enable reproducible building
+
+The current year is embedded into the head of javascript files.
+Use a fixed date instead.
+
+Reproducible builds helps verifying that the generated files
+are generated from the original sources. See more details at:
+https://reproducible-builds.org/
+---
+ build.js | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/build.js b/build.js
+index 10e539b..1a09460 100755
+--- a/build.js
++++ b/build.js
+@@ -5,7 +5,7 @@ var fs = require('fs');
+ var hint = require("jshint").JSHINT;
+ var uglify = require('uglify-js');
+
+-var banner = '/*! iScroll v' + pkg.version + ' ~ (c) 2008-' + (new Date().getFullYear()) + ' Matteo Spinelli ~ http://cubiq.org/license */\n';
++var banner = '/*! iScroll v' + pkg.version + ' ~ (c) 2008-2015 Matteo Spinelli ~ http://cubiq.org/license */\n';
+
+ var releases = {
+ lite: {
+--
+2.1.4
+
diff --git a/debian/patches/series b/debian/patches/series
index d0b0c5f..077320c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+0001-Enable-reproducible-building.patch
01_dont_use_jshint.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-iscroll.git
More information about the Pkg-javascript-commits
mailing list