[Pkg-javascript-commits] [node-yajsml] 04/26: package fine-tuning

Mike Gabriel sunweaver at debian.org
Tue Aug 26 12:26:23 UTC 2014


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

sunweaver pushed a commit to branch master
in repository node-yajsml.

commit 6badf15b704c2808ad950b83af07bd5244fc2358
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue May 7 12:51:53 2013 +0200

    package fine-tuning
---
 debian/links                               |  3 +++
 debian/lintian-overrides                   |  2 ++
 debian/patches/001_fix-node-shebangs.patch | 10 ++++++++++
 debian/patches/series                      |  1 +
 4 files changed, 16 insertions(+)

diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..0c09289
--- /dev/null
+++ b/debian/links
@@ -0,0 +1,3 @@
+usr/share/javascript/jquery/jquery.js usr/share/doc/node-yajsml/examples/public/javascripts/lib/jquery.js
+usr/share/javascript/underscore/underscrore.js usr/share/doc/node-yajsml/examples/public/javascripts/lib/underscore.js
+usr/lib/nodejs/yajsml usr/share/doc/node-yajsml/examples/node_modules/yajsml
\ No newline at end of file
diff --git a/debian/lintian-overrides b/debian/lintian-overrides
new file mode 100644
index 0000000..a762a3f
--- /dev/null
+++ b/debian/lintian-overrides
@@ -0,0 +1,2 @@
+# we packaging a node-foo package, so nodejs as interpreter is quite common...
+node-yajsml: example-unusual-interpreter usr/share/doc/node-yajsml/examples/server.js #!/usr/bin/nodejs
diff --git a/debian/patches/001_fix-node-shebangs.patch b/debian/patches/001_fix-node-shebangs.patch
new file mode 100644
index 0000000..df49210
--- /dev/null
+++ b/debian/patches/001_fix-node-shebangs.patch
@@ -0,0 +1,10 @@
+Description: fix node -> nodejs shebangs
+Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
+--- a/example/server.js
++++ b/example/server.js
+@@ -1,4 +1,4 @@
+-#! /usr/bin/node
++#! /usr/bin/nodejs
+ /*!
+ 
+   Copyright (c) 2011 Chad Weider
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d2b4832
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+001_fix-node-shebangs.patch

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



More information about the Pkg-javascript-commits mailing list