passenger 4.0.40 → 4.0.41
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.
- checksums.yaml +8 -8
- checksums.yaml.gz.asc +7 -7
- data.tar.gz.asc +7 -7
- data/CHANGELOG +17 -0
- data/build/packaging.rb +0 -1
- data/doc/users_guide_snippets/installation.txt +10 -10
- data/ext/common/Constants.h +1 -1
- data/lib/phusion_passenger.rb +1 -1
- data/lib/phusion_passenger/config/restart_app_command.rb +17 -3
- data/lib/phusion_passenger/standalone/start_command.rb +9 -0
- metadata +2 -2
- metadata.gz.asc +7 -7
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZGE3MWJhOWJjY2ZmMjk0OWMyMzU4YzIxYTY0YTA1NTJhYzIwMjQ0Mg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YmI0NjhmZjdjYmIxZGMxODg5Njg2MWI5NWI2ZTkxZGZmOWVjMGVlNw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Mjk4Mjg4ZTdmY2ViYjFkNzZiMTVhYWFiNzgyYjc2NTFlY2UyYTUwZjI3ZTQx
|
10
|
+
ODg2NDJmMTM0OGMzNTE4NmNmZGNhNTI2MDRhNDgxZjk3NTU5MzU2OTk4NWU4
|
11
|
+
ODIwYWFiN2U4MTEwNWE4YTRiMjQ2Yjc0ZDgzN2NhNDM0OTk1Nzk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MTA0Mjk0NGEzMWU1ODFiODY5OThiY2NiZDY1ZmQ5YzZlZGQyYzdmNzEzMDE1
|
14
|
+
ZjI5OTljM2Y3ZWJmM2I3YjY0N2JmYWYwNzlmNTFkNDhlOWMzY2QwODM3Yzhi
|
15
|
+
NDY3MmY5M2E3N2UzZDhlNTA2NThiYmNhZjA4YWUyYzNmMjcxYjA=
|
checksums.yaml.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
|
+
iQEcBAABAgAGBQJTRE10AAoJECrHRaUKISqMchsH/3AQD5vGNFS0LjKqLab5L0TA
|
6
|
+
glHGrm6V1UC0fG5bxUOgKlG4zop8zrADr1kH9H0Z8uFzA5nrxhkaC7AnJgqOyuaq
|
7
|
+
LxAYiwcJxJ1eM6IyjsAW6Tj3KcZyRWSrlwAIzW1UoZnWgpWeajp0iBwzGfaj65y8
|
8
|
+
OC3yF5sx486x13BgTdM5c1I5cWpbneoY7lDu+sybCvppgVRBs2Z/A+GVYNRlp7zD
|
9
|
+
2hNrluue4tHDvL/EgQaQaF1Bm0sTe3UvMq+ujSc7q0LwyheL04uHUlere92qt6vt
|
10
|
+
PfZeJQgHV9GwDRW3ZQG0d08OFKErdEF+5S9qNwNS+tPp3i/KifhyEBd/RsYZWz4=
|
11
|
+
=Sw+V
|
12
12
|
-----END PGP SIGNATURE-----
|
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
|
+
iQEcBAABAgAGBQJTRE10AAoJECrHRaUKISqMPNAIAKlQNxJ08NkoCNRZ75YXKxYn
|
6
|
+
Umo97ZF/jg19B+LBjR7QpsrBAzTVewcz7pQPPrh+61tr97hx0KMGQ6LtXhR1Smnc
|
7
|
+
8gOn6cw4sgschV00tVpRoUJNsVtLS0FLXmMilycUQSmrYUYWWNBw/JiH5aCkByGQ
|
8
|
+
aTF538bF04R95qaHlGVdSbgNXB/jA8+v73Wdec2221DvXEXRRdttScE5vOImCUCf
|
9
|
+
dQ4ibO+zXvPR3xw/Pxm5jyJgy6jOjFYMniIpbdpu8tMBknY10pnXuW/dGXFM59pC
|
10
|
+
4wd9W5Pr2TyHADAZyLeKLbXfl3OlQh+uMS+UiDmWbcePHOK2jQzM7EWK13mCKkk=
|
11
|
+
=Gwi5
|
12
12
|
-----END PGP SIGNATURE-----
|
data/CHANGELOG
CHANGED
@@ -1,3 +1,20 @@
|
|
1
|
+
Release 4.0.41
|
2
|
+
--------------
|
3
|
+
|
4
|
+
* Fixed some issues with printing UTF-8 log files on Heroku.
|
5
|
+
* Added a new flag `--ignore-app-not-running` to `passenger-config restart-app`.
|
6
|
+
When this flag is given, `passenger-config restart-app` will exit successfully
|
7
|
+
when the specified application is not running, instead of exiting with
|
8
|
+
an error.
|
9
|
+
* Our precompiled Passenger Standalone binaries have been upgraded to use
|
10
|
+
OpenSSL 1.0.1g, which fixes [the OpenSSL Heartbleed vulnerability](http://heartbleed.com/).
|
11
|
+
Users who are using Passenger Standalone with SSL enabled are vulnerable,
|
12
|
+
and should upgrade immediately. Users who do not use Passenger Standalone,
|
13
|
+
users who use Passenger Standalone without SSL, or users who use Passenger
|
14
|
+
Standalone with SSL behind another SSL-enabled reverse proxy, are not
|
15
|
+
vulnerable.
|
16
|
+
|
17
|
+
|
1
18
|
Release 4.0.40
|
2
19
|
--------------
|
3
20
|
|
data/build/packaging.rb
CHANGED
@@ -325,7 +325,6 @@ task 'package:update_homebrew' do
|
|
325
325
|
abort("Unable to substitute Homebrew formula tarball filename")
|
326
326
|
formula.gsub!(/sha1 .*/, "sha1 '#{sha1}'") ||
|
327
327
|
abort("Unable to substitute Homebrew formula SHA-1")
|
328
|
-
formula.gsub!(/^ bottle do.*?end\n *\n/m, '')
|
329
328
|
necessary_dirs = ORIG_TARBALL_FILES.call.map{ |filename| filename.split("/").first }.uniq
|
330
329
|
necessary_dirs -= Packaging::HOMEBREW_EXCLUDE
|
331
330
|
necessary_dirs += ["buildout"]
|
@@ -552,23 +552,23 @@ The email address software-signing@phusion.nl redirects to info@phusion.nl so it
|
|
552
552
|
The Phusion Software Signing key is also *signed by the Phusion founders*. Their keys are as follows:
|
553
553
|
|
554
554
|
Hongli Lai (hongli@phusion.nl)
|
555
|
-
Short key ID:
|
556
|
-
Long key ID:
|
557
|
-
Fingerprint:
|
555
|
+
Short key ID: 8C59158F
|
556
|
+
Long key ID: CD70085E8C59158F
|
557
|
+
Fingerprint: 218A 7255 83D0 2ECE F3A9 C2A7 CD70 085E 8C59 158F
|
558
558
|
|
559
559
|
Ninh Bui (ninh@phusion.nl)
|
560
|
-
Short key ID:
|
561
|
-
Long key ID:
|
562
|
-
Fingerprint:
|
560
|
+
Short key ID: 69481265
|
561
|
+
Long key ID: AE405F7869481265
|
562
|
+
Fingerprint: A77C 9CEF 766D 0E7D A95B 8778 AE40 5F78 6948 1265
|
563
563
|
|
564
564
|
Both keys are stored at both sks-servers.net and keyserver.ubuntu.com. Import them with:
|
565
565
|
|
566
566
|
------------------------------------------
|
567
|
-
gpg --keyserver pool.sks-servers.net --search-keys
|
568
|
-
gpg --keyserver pool.sks-servers.net --search-keys
|
567
|
+
gpg --keyserver pool.sks-servers.net --search-keys 0xCD70085E8C59158F
|
568
|
+
gpg --keyserver pool.sks-servers.net --search-keys 0xAE405F7869481265
|
569
569
|
# -OR-
|
570
|
-
gpg --keyserver keyserver.ubuntu.com --search-keys
|
571
|
-
gpg --keyserver keyserver.ubuntu.com --search-keys
|
570
|
+
gpg --keyserver keyserver.ubuntu.com --search-keys 0xCD70085E8C59158F
|
571
|
+
gpg --keyserver keyserver.ubuntu.com --search-keys 0xAE405F7869481265
|
572
572
|
------------------------------------------
|
573
573
|
|
574
574
|
==== Verifying the gem and tarball
|
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.41'
|
34
34
|
|
35
35
|
PREFERRED_NGINX_VERSION = '1.4.7'
|
36
36
|
NGINX_SHA256_CHECKSUM = '23b8ff4a76817090678f91b0efbfcef59a93492f6612dc8370c44c1f1ce1b626'
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# Phusion Passenger - https://www.phusionpassenger.com/
|
2
|
-
# Copyright (c) 2013 Phusion
|
2
|
+
# Copyright (c) 2013-2014 Phusion
|
3
3
|
#
|
4
4
|
# "Phusion Passenger" is a trademark of Hongli Lai & Ninh Bui.
|
5
5
|
#
|
@@ -83,6 +83,11 @@ private
|
|
83
83
|
abort "--rolling-restart is only available in #{PROGRAM_NAME} Enterprise: #{ENTERPRISE_URL}"
|
84
84
|
end
|
85
85
|
end
|
86
|
+
opts.on("--ignore-app-not-running", "Exit successfully if the specified#{nl}" +
|
87
|
+
"application is not currently running. The#{nl}" +
|
88
|
+
"default is to exit with an error") do
|
89
|
+
options[:ignore_app_not_running] = true
|
90
|
+
end
|
86
91
|
opts.on("--instance PID", Integer, "The #{PROGRAM_NAME} instance to select") do |value|
|
87
92
|
options[:instance] = value
|
88
93
|
end
|
@@ -121,13 +126,13 @@ private
|
|
121
126
|
if app_group_name = @options[:app_group_name]
|
122
127
|
@groups = [groups.find { |g| g.name == app_group_name }]
|
123
128
|
if !@groups[0]
|
124
|
-
|
129
|
+
abort_app_not_found "There is no #{PROGRAM_NAME}-served application running with the app group name '#{app_group_name}'."
|
125
130
|
end
|
126
131
|
else
|
127
132
|
regex = /^#{Regexp.escape(@argv.first)}/
|
128
133
|
@groups = groups.find_all { |g| g.app_root =~ regex }
|
129
134
|
if @groups.empty?
|
130
|
-
|
135
|
+
abort_app_not_found "There are no #{PROGRAM_NAME}-served applications running whose paths begin with '#{@argv.first}'."
|
131
136
|
end
|
132
137
|
end
|
133
138
|
end
|
@@ -140,6 +145,15 @@ private
|
|
140
145
|
:method => restart_method)
|
141
146
|
end
|
142
147
|
end
|
148
|
+
|
149
|
+
def abort_app_not_found(message)
|
150
|
+
if @options[:ignore_app_not_running]
|
151
|
+
STDERR.puts(message)
|
152
|
+
exit
|
153
|
+
else
|
154
|
+
abort(message)
|
155
|
+
end
|
156
|
+
end
|
143
157
|
end
|
144
158
|
|
145
159
|
end # module Config
|
@@ -56,6 +56,7 @@ class StartCommand < Command
|
|
56
56
|
@runtime_locator = RuntimeLocator.new(@options[:runtime_dir],
|
57
57
|
@options[:nginx_version])
|
58
58
|
ensure_runtime_installed
|
59
|
+
set_stdout_stderr_binmode
|
59
60
|
exit if @options[:runtime_check_only]
|
60
61
|
require_app_finder
|
61
62
|
@app_finder = AppFinder.new(@args, @options)
|
@@ -492,6 +493,14 @@ private
|
|
492
493
|
end
|
493
494
|
end
|
494
495
|
|
496
|
+
def set_stdout_stderr_binmode
|
497
|
+
# We already set STDOUT and STDERR to binmode in bin/passenger, which
|
498
|
+
# fixes https://github.com/phusion/passenger-ruby-heroku-demo/issues/11.
|
499
|
+
# However RuntimeInstaller sets them to UTF-8, so here we set them back.
|
500
|
+
STDOUT.binmode
|
501
|
+
STDERR.binmode
|
502
|
+
end
|
503
|
+
|
495
504
|
def start_nginx
|
496
505
|
begin
|
497
506
|
@nginx.start
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: passenger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.41
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Phusion - http://www.phusion.nl/
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
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
|
+
iQEcBAABAgAGBQJTRE10AAoJECrHRaUKISqMc78H/3zO8kI6oWl0kMwHmVN6WUtd
|
6
|
+
Q8qSkAa2beHwrFsTXCQYmnfUa8N5cjNgvCjI2FX5/9vu+s4yuJG5h8lkcpd+97pw
|
7
|
+
u3zUdFWsgr5BXD8BX3F7vmkPahXmmhsar4MHCu/1WK5pX2mZbihmXGBVtIkPKmVN
|
8
|
+
uGD0AqzSB0H4XAH84aiMqi8gssgKzwTM6jYs4uZ3gNhUSmRLl6sKSh9YHfc4ggLI
|
9
|
+
5CBvZdh29jWSXKzcvPPuLNsMkbsmHvixeK/R3cBBUA3TWHdJqid5bhOCY6rcw9tn
|
10
|
+
W2VwBmL7v3q/WEuCJJyQ5D2NAG0F5aT71pSu9Eirr7nXtZ5p/rMsyZT+RTiQquc=
|
11
|
+
=JLge
|
12
12
|
-----END PGP SIGNATURE-----
|