passenger 4.0.43 → 4.0.44
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 +12 -0
- data/build/misc.rb +2 -2
- data/doc/users_guide_snippets/installation.txt +5 -2
- data/doc/users_guide_snippets/support_information.txt +1 -1
- data/doc/users_guide_snippets/where_to_get_support.txt +1 -1
- data/ext/common/Constants.h +1 -1
- data/ext/common/Utils/SystemMetricsCollector.h +6 -2
- data/lib/phusion_passenger.rb +7 -3
- metadata +2 -3
- metadata.gz.asc +7 -7
- data/doc/definitions.h +0 -5
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YjE0MmI0OTJkOTRiYTA1NDYyNmJmNjM2NzFlOTMxZTBmM2QxYzU3ZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YzUzNGUzNDNjMDQ4YmM5YWEyNDIxZmU0MGZhODA0MTI0YzA3M2I5MA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NTExZDgyNzE2OGQxMDVhNWY4Yzc1NGQ0NjRhMTllOTRhYWQ0NjY4ZjIxMDI3
|
10
|
+
ZjAyZDE0MzgwNmQzN2IwMDU5OTdkNzcwN2Y0ZDc2ZGFhZTM1YTkwOTBlZjZl
|
11
|
+
NjFjMTIxM2U5MWMzMWM2Y2ViZjIyNDY3ODkwY2MzMTNjMGZmYTU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZDE2NzdlOGQyZGY5NjE5ZmEyMGY0OTQ2OGRjZDllMDNlZjQ4MzMwMzEyY2Rh
|
14
|
+
ODI4ODFlNTNhNDYzYzZkODI5Yjc1ZTdjNzA2MDAxZWYyMzE2ZGZkOTk1M2Y2
|
15
|
+
OTFmZDQ0NzFmMzMzNWQwNjdkNWFhNjlkMjE3MTMyNWY3ODA1ZjU=
|
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
|
+
iQEcBAABAgAGBQJThyRmAAoJECrHRaUKISqMHS4H/2z5ltAxui7WJ5E/13DDIR2T
|
6
|
+
BLxFDixTzjGIgyA6WONunPQJQsR4JG7dIyUGm5cZAo0AlmJ8ptuClIVv3Q9JCP2g
|
7
|
+
YQeaYR2bc0ahrjxzOnCdysA/PKHlkQMDAdmKvPGE+qN8CJBwk1/jTtW/CYrG0Zi5
|
8
|
+
xDVvww0z1DnhQlKPRyu8a9R3r4ZTZdixZmbZneE0NGlRFcQbQPWlmp0Q0gh3TsYY
|
9
|
+
rkvYEQxhQWsjUf0g7Id0tLxpnh7N/go6vWnC6EAXWVJe+T0V4U98vBk8sG/84A64
|
10
|
+
O/4nbys5SiNGo2ampAgXn2Ol6r3jblJ9nhVXuU4YLMksKOGOif0WxOsMGEvlVAw=
|
11
|
+
=+CYd
|
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
|
+
iQEcBAABAgAGBQJThyRmAAoJECrHRaUKISqM2Q0H/1T5KZVf5LIddFcIOCSRo6ww
|
6
|
+
FmLU9oQ3zJVtWwn8BFItGOzF1UXd5e4Lnlrf0Jje6YovQagiTzkAeR8R3sALQEmC
|
7
|
+
MZux3X80nW4IalyNiM6DBVEIebh0h/MGAbAsr0NrxfcKtBNqdW1oZpP3xQhpGdyd
|
8
|
+
CFIPQOeU3RCSTjZqK2aeTXZDYzVoJ7eDuM47+nHQLItfsUGJxkVEcZsIv1wmvqk5
|
9
|
+
FGpUQD03NY58QjpevoTVvM9DE0JS5SMp+iNup2FpjhLimBtG6hENY9dMmYHRCgBj
|
10
|
+
R1R8ZpbdOvNeiqaHFR03K1xtIE9aAeDjWefFzDk1D7ySVAqCMD6mbL8BiIVTsUA=
|
11
|
+
=SFYQ
|
12
12
|
-----END PGP SIGNATURE-----
|
data/CHANGELOG
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
Release 4.0.44
|
2
|
+
--------------
|
3
|
+
|
4
|
+
* The issue tracker has now been moved from Google Code to Github.
|
5
|
+
Before version 4.0.44 (May 29 2014, commit 3dd0964c9f4), all
|
6
|
+
issue numbers referred to Google Code. From now on, all issue
|
7
|
+
numbers will refer to Github Issues.
|
8
|
+
* Fixed compilation problems on OS X Lion and OS X Mountain Lion.
|
9
|
+
* On Ruby, fixed `nil` being frozen on accident in some cases.
|
10
|
+
See issue #1192.
|
11
|
+
|
12
|
+
|
1
13
|
Release 4.0.43
|
2
14
|
--------------
|
3
15
|
|
data/build/misc.rb
CHANGED
@@ -95,7 +95,7 @@ task :changelog_as_html do
|
|
95
95
|
|
96
96
|
# Auto-link to issue tracker.
|
97
97
|
text.gsub!(/(bug|issue) #(\d+)/i) do
|
98
|
-
url = "
|
98
|
+
url = "https://github.com/phusion/passenger/issues/#{$2}"
|
99
99
|
%Q(<{a href="#{url}"}>#{$1} ##{$2}<{/a}>)
|
100
100
|
end
|
101
101
|
|
@@ -118,7 +118,7 @@ task :changelog_as_markdown do
|
|
118
118
|
|
119
119
|
# Auto-link to issue tracker.
|
120
120
|
contents.gsub!(/(bug|issue) #(\d+)/i) do
|
121
|
-
url = "
|
121
|
+
url = "https://github.com/phusion/passenger/issues/#{$2}"
|
122
122
|
%Q([#{$1} ##{$2}](#{url}))
|
123
123
|
end
|
124
124
|
|
@@ -921,16 +921,19 @@ configuration directives from your web server configuration file(s). After you'v
|
|
921
921
|
done this, you need to remove the Phusion Passenger files.
|
922
922
|
endif::[]
|
923
923
|
|
924
|
+
- If you installed Phusion Passenger through Homebrew, then run `brew uninstall passenger`.
|
925
|
+
ifdef::apache[]
|
926
|
+
Then run `rm -f /etc/apache2/other/passenger.conf`.
|
927
|
+
endif::[]
|
924
928
|
- If you installed Phusion Passenger via a Ruby gem, then run `gem uninstall passenger` (or, if you're a link:https://www.phusionpassenger.com/enterprise[Phusion Passenger Enterprise] user, `gem uninstall passenger-enterprise-server`).
|
925
929
|
You <<is_ruby_home_or_system_wide_installed,might have to run this as root>>.
|
926
930
|
- If you installed Phusion Passenger via a source tarball, then remove the directory
|
927
931
|
in which you placed the extracted Phusion Passenger files. This directory is the
|
928
932
|
same as the one pointed to the by `PassengerRoot`/`passenger_root` configuration directive.
|
929
933
|
- If you installed Phusion Passenger through APT or YUM, then use them to uninstall Phusion Passenger.
|
930
|
-
- If you installed Phusion Passenger through Homebrew, then run `brew uninstall passenger`.
|
931
934
|
|
932
935
|
ifdef::nginx[]
|
933
|
-
Nginx does not have to be recompiled. Altough
|
936
|
+
Nginx does not have to be recompiled after uninstalling Phusion Passenger. Altough Nginx will contain the Phusion Passenger Nginx module, the module will not do anything when all Phusion Passenger configuration directives are removed.
|
934
937
|
endif::[]
|
935
938
|
|
936
939
|
|
@@ -43,7 +43,7 @@ Supported languages and frameworks:
|
|
43
43
|
|==================================================
|
44
44
|
|
45
45
|
If you run into any issues, please
|
46
|
-
link:
|
46
|
+
link:https://github.com/phusion/passenger/issues[report a bug]
|
47
47
|
or
|
48
48
|
link:http://groups.google.com/group/phusion-passenger[join our discussion forum].
|
49
49
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
* link:http://groups.google.com/group/phusion-passenger[Community discussion forum] - post a
|
2
2
|
message here if you're experiencing problems. Support on this forum is provided by the community on a best-effort basis, so a (timely) response is not guaranteed.
|
3
|
-
* link:
|
3
|
+
* link:https://github.com/phusion/passenger/issues[Issue tracker] - report
|
4
4
|
bugs here.
|
5
5
|
* Email support@phusion.nl if you are a link:https://www.phusionpassenger.com/enterprise[Phusion Passenger Enterprise] customer. Please mention your order reference. If you are not an Enterprise customer, we kindly redirect you to the community discussion forum instead.
|
6
6
|
* link:https://www.phusionpassenger.com/commercial_support[Commercial support contracts] are also available.
|
data/ext/common/Constants.h
CHANGED
@@ -52,6 +52,7 @@
|
|
52
52
|
#include <mach/mach.h>
|
53
53
|
#include <sys/sysctl.h>
|
54
54
|
#include <sys/time.h>
|
55
|
+
#include <Availability.h>
|
55
56
|
#endif
|
56
57
|
#ifdef __FreeBSD__
|
57
58
|
#include <sys/param.h>
|
@@ -1150,8 +1151,11 @@ private:
|
|
1150
1151
|
status = host_statistics64(hostPort, HOST_VM_INFO64, (host_info64_t) &vmStat,
|
1151
1152
|
&count);
|
1152
1153
|
if (status == KERN_SUCCESS) {
|
1153
|
-
metrics.ramUsed = ((ssize_t) vmStat.active_count + vmStat.wire_count
|
1154
|
-
|
1154
|
+
metrics.ramUsed = ((ssize_t) vmStat.active_count + vmStat.wire_count);
|
1155
|
+
#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090
|
1156
|
+
metrics.ramUsed += vmStat.compressor_page_count;
|
1157
|
+
#endif
|
1158
|
+
metrics.ramUsed = metrics.ramUsed * (pageSize / 1024);
|
1155
1159
|
} else {
|
1156
1160
|
metrics.ramUsed = -1;
|
1157
1161
|
}
|
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.44'
|
34
34
|
|
35
35
|
PREFERRED_NGINX_VERSION = '1.6.0'
|
36
36
|
NGINX_SHA256_CHECKSUM = '943ad757a1c3e8b3df2d5c4ddacc508861922e36fa10ea6f8e3a348fc9abfc1a'
|
@@ -105,10 +105,14 @@ module PhusionPassenger
|
|
105
105
|
|
106
106
|
@natively_packaged = get_bool_option(filename, options, 'natively_packaged')
|
107
107
|
REQUIRED_LOCATIONS_INI_FIELDS.each do |field|
|
108
|
-
|
108
|
+
value = get_option(filename, options, field.to_s)
|
109
|
+
value.freeze unless value.nil?
|
110
|
+
instance_variable_set("@#{field}", value)
|
109
111
|
end
|
110
112
|
OPTIONAL_LOCATIONS_INI_FIELDS.each do |field|
|
111
|
-
|
113
|
+
value = get_option(filename, options, field.to_s, false)
|
114
|
+
value.freeze unless value.nil?
|
115
|
+
instance_variable_set("@#{field}", value)
|
112
116
|
end
|
113
117
|
if natively_packaged?
|
114
118
|
@native_packaging_method = get_option(filename, options, 'native_packaging_method')
|
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.44
|
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-05-
|
11
|
+
date: 2014-05-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -150,7 +150,6 @@ files:
|
|
150
150
|
- doc/Users guide Standalone.txt
|
151
151
|
- doc/Users guide.html
|
152
152
|
- doc/Users guide.txt
|
153
|
-
- doc/definitions.h
|
154
153
|
- doc/images/by_sa.png
|
155
154
|
- doc/images/direct_spawning.png
|
156
155
|
- doc/images/direct_spawning.svg
|
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
|
+
iQEcBAABAgAGBQJThyRmAAoJECrHRaUKISqMSB8IAIR8v8UA2iRIVjotf11sZu5K
|
6
|
+
eJXVNxKmgRklkBoDQlglyYdjgEcH3WTxQIKzxFG2bHYYNmjkG5XUW4Tvzk29W0ox
|
7
|
+
u1AkddCkO9b9q1dD982e7uHzgWIh7Qt1YRohLiOoJAWJARPINkRA0BgyxRVyxLsV
|
8
|
+
EmDdGIpZyVhPZXMwwFDFQYTZmqsf2TrfzCvPa7zYZIqaH8/8vPmIdBP+/Ek+GQkL
|
9
|
+
UKGvZsjvIEgCh3cEueVlQ3vggJyt9ADMuvZMuKpuoFU2sJ+cy8K60/pPC6RnogPd
|
10
|
+
78ddmUT1UlzOAp0IjpseVlwC/pLG6Dbz+kKJbHPoMg+pL/qx1/GIYcCwYF8sCVg=
|
11
|
+
=wwAY
|
12
12
|
-----END PGP SIGNATURE-----
|