[DRE-commits] [ruby-passenger] 01/03: Change default node.js binary name to "nodejs" instead of "node".

Felix Geyer fgeyer at moszumanska.debian.org
Sun Aug 31 13:12:31 UTC 2014


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

fgeyer pushed a commit to branch master
in repository ruby-passenger.

commit 008a2297c26a52836cb00a0ac7a6651ec8b61a6f
Author: Felix Geyer <fgeyer at debian.org>
Date:   Sun Aug 31 00:08:42 2014 +0200

    Change default node.js binary name to "nodejs" instead of "node".
---
 debian/changelog                     |  6 ++++++
 debian/patches/nodejs_bin_name.patch | 25 +++++++++++++++++++++++++
 debian/patches/series                |  1 +
 3 files changed, 32 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index c5eb461..623069a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+ruby-passenger (4.0.49-2) UNRELEASED; urgency=medium
+
+  * Change default node.js binary name to "nodejs" instead of "node".
+
+ -- Felix Geyer <fgeyer at debian.org>  Sat, 30 Aug 2014 19:51:09 +0200
+
 ruby-passenger (4.0.49-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/patches/nodejs_bin_name.patch b/debian/patches/nodejs_bin_name.patch
new file mode 100644
index 0000000..b8f0063
--- /dev/null
+++ b/debian/patches/nodejs_bin_name.patch
@@ -0,0 +1,25 @@
+Description: The node.js binary is called nodejs in Debian.
+Author: Felix Geyer <fgeyer at debian.org>
+
+--- a/ext/common/Constants.h
++++ b/ext/common/Constants.h
+@@ -58,7 +58,7 @@
+ 
+ 	#define DEFAULT_MAX_POOL_SIZE 6
+ 
+-	#define DEFAULT_NODEJS "node"
++	#define DEFAULT_NODEJS "nodejs"
+ 
+ 	#define DEFAULT_POOL_IDLE_TIME 300
+ 
+--- a/lib/phusion_passenger/constants.rb
++++ b/lib/phusion_passenger/constants.rb
+@@ -37,7 +37,7 @@ module PhusionPassenger
+ 		DEFAULT_LOG_LEVEL = 0
+ 		DEFAULT_RUBY = "ruby"
+ 		DEFAULT_PYTHON = "python"
+-		DEFAULT_NODEJS = "node"
++		DEFAULT_NODEJS = "nodejs"
+ 		DEFAULT_MAX_POOL_SIZE = 6
+ 		DEFAULT_POOL_IDLE_TIME = 300
+ 		DEFAULT_START_TIMEOUT = 90_000
diff --git a/debian/patches/series b/debian/patches/series
index 13a19fd..ff45cf9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 fix_install_path.patch
 system_jsoncpp.patch
 bin_load_path.patch
+nodejs_bin_name.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-passenger.git



More information about the Pkg-ruby-extras-commits mailing list