[Pkg-javascript-commits] [sockjs-client] 01/01: Stop packaging and including the confusing LICENSE-MIT-SockJS file.

Tonnerre Lombard tonnerre-guest at moszumanska.debian.org
Sat Jan 18 03:52:06 UTC 2014


This is an automated email from the git hooks/post-receive script.

tonnerre-guest pushed a commit to branch master
in repository sockjs-client.

commit 74b315a50d1ff4272eb2411f9ec1706fef0e3698
Author: Tonnerre LOMBARD <tonnerre at ancient-solutions.com>
Date:   Sat Jan 18 04:46:56 2014 +0100

    Stop packaging and including the confusing LICENSE-MIT-SockJS file.
---
 debian/docs                                      |  1 -
 debian/patches/dont-include-sockjs-license.patch | 22 ++++++++++++++++++++++
 debian/patches/series                            |  1 +
 3 files changed, 23 insertions(+), 1 deletion(-)

diff --git a/debian/docs b/debian/docs
index c1dde37..b43bf86 100644
--- a/debian/docs
+++ b/debian/docs
@@ -1,2 +1 @@
 README.md
-LICENSE-MIT-SockJS
diff --git a/debian/patches/dont-include-sockjs-license.patch b/debian/patches/dont-include-sockjs-license.patch
new file mode 100644
index 0000000..decfcd6
--- /dev/null
+++ b/debian/patches/dont-include-sockjs-license.patch
@@ -0,0 +1,22 @@
+Description: Don't include LICENSE-MIT-SockJS in the combined output.
+ In the upstream version, the LICENSE-MIT-SockJS file is included verbatim
+ in the JavaScript comments of the combined, generated JS output files.
+ There's no real need to do that as the license is already clarified in
+ the package, and the license information provided is confusing at best.
+Author: Tonnerre LOMBARD <tonnerre at ancient-solutions.com>
+Forwarded: not-needed
+Last-Update: 2014-01-18
+
+Index: sockjs/lib/all.js
+===================================================================
+--- sockjs.orig/lib/all.js	2014-01-18 04:43:32.000000000 +0100
++++ sockjs/lib/all.js	2014-01-18 04:43:32.000000000 +0100
+@@ -1,7 +1,4 @@
+-/* SockJS client, version <!-- version -->, http://sockjs.org, MIT License
+-
+-<!-- include LICENSE-MIT-SockJS -->
+-*/
++/* SockJS client, version <!-- version -->, http://sockjs.org, MIT License */
+ 
+ // JSON2 by Douglas Crockford (minified).
+ <!-- include lib/json2.min.js -->
diff --git a/debian/patches/series b/debian/patches/series
index 668336f..9c5e7c5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 fix-coffee-path.patch
 use-optimist-not-optparse.patch
+dont-include-sockjs-license.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/sockjs-client.git



More information about the Pkg-javascript-commits mailing list