passenger 4.0.32 → 4.0.33
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of passenger might be problematic. Click here for more details.
- data.tar.gz.asc +7 -7
- data/NEWS +7 -0
- data/bin/passenger-install-apache2-module +1 -1
- data/build/rpm.rb +17 -0
- data/dev/install_scripts_bootstrap_code.rb +4 -0
- data/ext/common/Constants.h +1 -1
- data/lib/phusion_passenger.rb +1 -1
- data/lib/phusion_passenger/native_support.rb +1 -1
- data/lib/phusion_passenger/standalone/runtime_installer.rb +1 -1
- data/lib/phusion_passenger/utils/terminal_choice_menu.rb +9 -3
- metadata +1 -1
- metadata.gz.asc +7 -7
data.tar.gz.asc
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
|
3
3
|
Comment: GPGTools - http://gpgtools.org
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
+
|
9
|
-
+
|
10
|
-
|
11
|
-
=
|
5
|
+
iQEcBAABAgAGBQJSxXh6AAoJECrHRaUKISqMPwMH/j/0ykK8uEZ7k7sGv9Ch/aYX
|
6
|
+
TCPIgAwnnT1fckLnlKgMrPuLVos2BtMbCTD8gc0MWI2EYCI9JlQsrcgpWU9qAKEI
|
7
|
+
JUGiwxVS9D0YbVFhdfSkqzeDu3VzNHCLB57OzRZr32ICCM6bOqkXcmrQ4gbMvk3Q
|
8
|
+
dzDnESAbOybGNZ5PLQj5PXgNY6BWPt9FFrZ0zbM8CLLo3Jyk0t2+XEhknvLRrJYs
|
9
|
+
M/kNcrrRCxXFiXYygCalsGHySmyYUumC5eZlkiPTfiaVMQBc6sZ2ZAROVSn2OUt+
|
10
|
+
6aISpr4WR2Nk2pvhkxIWUjyZL9BP/H44I/v7rDVwSF4Iz3P32YRV0x1XkttuNYg=
|
11
|
+
=GZg/
|
12
12
|
-----END PGP SIGNATURE-----
|
data/NEWS
CHANGED
@@ -334,7 +334,7 @@ private
|
|
334
334
|
sh! "sudo apt-get install #{DEB_APACHE_MODULE_PACKAGE}"
|
335
335
|
return true
|
336
336
|
when 'rpm'
|
337
|
-
sh! "sudo yum install #{RPM_APACHE_MODULE_PACKAGE}"
|
337
|
+
sh! "sudo yum install #{RPM_APACHE_MODULE_PACKAGE}-#{VERSION_STRING}"
|
338
338
|
return true
|
339
339
|
else
|
340
340
|
puts "<red>The #{PROGRAM_NAME} Apache module package is not installed.</red>"
|
data/build/rpm.rb
CHANGED
@@ -45,6 +45,23 @@ task 'rpm:local' => 'rpm:gem' do
|
|
45
45
|
sh "rpmbuild -ba #{spec_target_file}"
|
46
46
|
end
|
47
47
|
|
48
|
+
task 'rpm:local:uninstall' do
|
49
|
+
sh "sudo yum remove -y passenger mod_passenger passenger-devel passenger-doc passenger-native-libs passenger-debuginfo"
|
50
|
+
end
|
51
|
+
|
52
|
+
task 'rpm:local:reinstall' => 'rpm:local:uninstall' do
|
53
|
+
rpm_spec_dir = "#{RPMBUILD_ROOT}/RPMS"
|
54
|
+
files = []
|
55
|
+
["passenger", "mod_passenger", "passenger-devel", "passenger-doc", "passenger-native-libs", "passenger-debuginfo"].each do |package_name|
|
56
|
+
files << Dir["#{rpm_spec_dir}/*/#{package_name}-#{PACKAGE_VERSION}-*.rpm"].first
|
57
|
+
end
|
58
|
+
files.compact!
|
59
|
+
if files.empty?
|
60
|
+
abort "No RPMs have been built yet. Please run 'rake rpm:local' first."
|
61
|
+
end
|
62
|
+
sh "sudo yum install -y #{files.join(' ')}"
|
63
|
+
end
|
64
|
+
|
48
65
|
def create_rpm_build_task(distro_id, mock_chroot_name, distro_name)
|
49
66
|
desc "Build RPM for #{distro_name}"
|
50
67
|
task "rpm:#{distro_id}" => 'rpm:gem' do
|
@@ -17,6 +17,10 @@ if type == "--ruby"
|
|
17
17
|
ruby_libdir = ARGV.shift
|
18
18
|
BOOTSTRAP_CODE = %Q{
|
19
19
|
ENV["PASSENGER_LOCATION_CONFIGURATION_FILE"] = "#{ruby_libdir}/phusion_passenger/locations.ini"
|
20
|
+
begin
|
21
|
+
require 'rubygems'
|
22
|
+
rescue LoadError
|
23
|
+
end
|
20
24
|
require '#{ruby_libdir}/phusion_passenger'
|
21
25
|
}
|
22
26
|
elsif type == "--nginx-module-config"
|
data/ext/common/Constants.h
CHANGED
data/lib/phusion_passenger.rb
CHANGED
@@ -30,7 +30,7 @@ module PhusionPassenger
|
|
30
30
|
|
31
31
|
PACKAGE_NAME = 'passenger'
|
32
32
|
# Run 'rake ext/common/Constants.h' after changing this number.
|
33
|
-
VERSION_STRING = '4.0.
|
33
|
+
VERSION_STRING = '4.0.33'
|
34
34
|
|
35
35
|
PREFERRED_NGINX_VERSION = '1.4.4'
|
36
36
|
NGINX_SHA256_CHECKSUM = '7c989a58e5408c9593da0bebcd0e4ffc3d892d1316ba5042ddb0be5b0b4102b9'
|
@@ -197,7 +197,7 @@ private
|
|
197
197
|
STDERR.puts " so that #{PhusionPassenger::PROGRAM_NAME} can compile one on the next run."
|
198
198
|
when 'rpm'
|
199
199
|
STDERR.puts " This library provides various optimized routines that make"
|
200
|
-
STDERR.puts " #{PhusionPassenger::PROGRAM_NAME} faster. Please run 'sudo yum install #{PhusionPassenger::RPM_DEV_PACKAGE}'"
|
200
|
+
STDERR.puts " #{PhusionPassenger::PROGRAM_NAME} faster. Please run 'sudo yum install #{PhusionPassenger::RPM_DEV_PACKAGE}-#{PhusionPassenger::VERSION_STRING}'"
|
201
201
|
STDERR.puts " so that #{PhusionPassenger::PROGRAM_NAME} can compile one on the next run."
|
202
202
|
else
|
203
203
|
STDERR.puts " #{PhusionPassenger::PROGRAM_NAME} can compile one, but an extra package must be installed"
|
@@ -421,7 +421,7 @@ private
|
|
421
421
|
when "deb"
|
422
422
|
command = "sudo sh -c 'apt-get update && apt-get install #{DEB_DEV_PACKAGE}'"
|
423
423
|
when "rpm"
|
424
|
-
command = "sudo yum install #{RPM_DEV_PACKAGE}"
|
424
|
+
command = "sudo yum install #{RPM_DEV_PACKAGE}-#{VERSION_STRING}"
|
425
425
|
end
|
426
426
|
if command
|
427
427
|
if STDIN.tty?
|
@@ -103,7 +103,7 @@ private
|
|
103
103
|
end
|
104
104
|
|
105
105
|
def process_input
|
106
|
-
case STDIN
|
106
|
+
case getchar(STDIN)
|
107
107
|
when "\x1b"
|
108
108
|
process_cursor_move
|
109
109
|
return false
|
@@ -118,8 +118,8 @@ private
|
|
118
118
|
end
|
119
119
|
|
120
120
|
def process_cursor_move
|
121
|
-
if STDIN
|
122
|
-
case STDIN
|
121
|
+
if getchar(STDIN) == "["
|
122
|
+
case getchar(STDIN)
|
123
123
|
when "A" # up
|
124
124
|
@pointer = [@pointer - 1, 0].max
|
125
125
|
when "B" # down
|
@@ -176,6 +176,12 @@ private
|
|
176
176
|
return "\x1b[0A"
|
177
177
|
end
|
178
178
|
|
179
|
+
def getchar(io)
|
180
|
+
char = io.getc
|
181
|
+
char = char.chr if char.is_a?(Integer)
|
182
|
+
return char
|
183
|
+
end
|
184
|
+
|
179
185
|
if JRUBY
|
180
186
|
require 'java'
|
181
187
|
require 'readline'
|
metadata
CHANGED
metadata.gz.asc
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
|
3
3
|
Comment: GPGTools - http://gpgtools.org
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
=
|
5
|
+
iQEcBAABAgAGBQJSxXh6AAoJECrHRaUKISqMkwsH/1+nzM8YwJfyynuxyBC6DssR
|
6
|
+
vXoUokFuVKXAXN1TqO69YQj6/2Et2qabk2UDSo2AXWSGnFbe6KYaAZkoiLPP/oC4
|
7
|
+
PT7Wgr3qd13o5SI2ejkr84wgHU8ZL5qG2M3Ck8l3G5jV4nc/2yQUpGK1/WhNHMmX
|
8
|
+
wTCdpoD/cLN63SV4hLfMxacy/3l6YfwSv/5hnKgccL98UHLHKyNuiFbkhihvVwaQ
|
9
|
+
B50t4dsHE2+JKnbLnizbIrXCUorPK4g7nVPocFPPcLfbGaGNIg/1aQff6hR2erGy
|
10
|
+
LZTo8wBFtH7rXrqWw+wZcPjJr8qT78RcN6zv+gTBXhKnFPCVSX/zgkOa4XgHE50=
|
11
|
+
=1YLM
|
12
12
|
-----END PGP SIGNATURE-----
|