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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YWY0MDg5NjYxOTVmODI3N2RhNTFlZjlhMTc0NWFhN2U4N2FjYWUwOQ==
4
+ YjE0MmI0OTJkOTRiYTA1NDYyNmJmNjM2NzFlOTMxZTBmM2QxYzU3ZA==
5
5
  data.tar.gz: !binary |-
6
- MDVkZTY5YmIzZWEwZDk5Y2E1ODlhNTQ1YWVlZWE5NDI4ZDJmN2EzNA==
6
+ YzUzNGUzNDNjMDQ4YmM5YWEyNDIxZmU0MGZhODA0MTI0YzA3M2I5MA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- M2FiMWE4OWRmZTJjZmY2YmMwZmE1ZjFkYzk2YTM4ZDhiOGFmNzlhNmI5YzAx
10
- MGU1YWVlY2IwYmFhNGE0MzQ1Y2ExMWIzOWQ1NzFkZDc5MTQ0NzE4NzQ0ZjY0
11
- Y2U2ZmFiOTVlOWIwYzUyZDU2NzFiMGU0MGQ2MmIwOGRmNTY0NWY=
9
+ NTExZDgyNzE2OGQxMDVhNWY4Yzc1NGQ0NjRhMTllOTRhYWQ0NjY4ZjIxMDI3
10
+ ZjAyZDE0MzgwNmQzN2IwMDU5OTdkNzcwN2Y0ZDc2ZGFhZTM1YTkwOTBlZjZl
11
+ NjFjMTIxM2U5MWMzMWM2Y2ViZjIyNDY3ODkwY2MzMTNjMGZmYTU=
12
12
  data.tar.gz: !binary |-
13
- MGQ4OTUwZjA1MGU4OWU3YjU4YmZjYjYwZmZhNDlmMmE2YzRhNzk0OWRkOTlj
14
- NjlkZjU1MTBkNGFmNzc1NTdmNmU0MTQxODFmMzU4ZmRkNDAyNzQ3NDNiZGZk
15
- ZjZhNjQ1Mjk2NzFkN2UwZDBlNjM3ZmJmM2Q1MWYzYjE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/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
- iQEcBAABAgAGBQJThfVWAAoJECrHRaUKISqMAJsIAKvyWvcg58WQGdss/ZSDAFw5
6
- fgb4b8YAZyCJuwhOya+Rb4cR5QJ2Yz8o/PqJ4yfqU+hkRJcBCsvW/OPkFr/IDIDW
7
- ep74AyiQcL7gXxoyZtK1vSKefuCN0RTguXY9sYzZB7VwJ1UDykMB+fqcO8kTQy48
8
- e9mBiwNHY+GHFLULyJN3hsNiwgzxx9yNMSHtt2TE8I9aK5aFSXOOG7boyI8jseRr
9
- kI3NXj4HI6hH6c4klf0nPj+9BLVUI77MGQ/0OiOjrdkTxNdM7fJkgy1b/+p5gT+P
10
- gjsHpxdGR76ppHnW6LpyiBfMLEPpniq/Dx/I037cwqLltw+qJeBawgbXE8Yr9iM=
11
- =/Ohk
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
 
@@ -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 = "http://code.google.com/p/phusion-passenger/issues/detail?id=#{$2}"
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 = "http://code.google.com/p/phusion-passenger/issues/detail?id=#{$2}"
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 it contains Phusion Passenger code, it will not do anything when all Phusion Passenger configuration directives are removed.
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:http://code.google.com/p/phusion-passenger/issues/list[report a bug]
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:http://code.google.com/p/phusion-passenger/issues/list[Issue tracker] - report
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.
@@ -88,7 +88,7 @@
88
88
 
89
89
  #define NGINX_DOC_URL "http://www.modrails.com/documentation/Users%20guide%20Nginx.html"
90
90
 
91
- #define PASSENGER_VERSION "4.0.43"
91
+ #define PASSENGER_VERSION "4.0.44"
92
92
 
93
93
  #define POOL_HELPER_THREAD_STACK_SIZE 262144
94
94
 
@@ -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
- vmStat.compressor_page_count) * pageSize / 1024;
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
  }
@@ -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.43'
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
- instance_variable_set("@#{field}", get_option(filename, options, field.to_s).freeze)
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
- instance_variable_set("@#{field}", get_option(filename, options, field.to_s, false).freeze)
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.43
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-28 00:00:00.000000000 Z
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
- iQEcBAABAgAGBQJThfVVAAoJECrHRaUKISqMxm4H/1VmXIAwP/ui3DZ77GF/lFD7
6
- Sx+4+kvHyWV7omZyqypxZ6v6rCtXLHb7iVeGq2nHYpPq1677XyPLMDWUUxWQ+4iX
7
- Duvlm1f0BWIAiNtVjT0qAGnvaEWHfY94AHgPNXrDm4uZVWgdc03C3WgSU9C+w9et
8
- 49uT+AjSzDOTjlSvtUJIxXXRUAdaB+Rk2Jv+OeN6ppfRLDJrtrue1MbVsJsACdTr
9
- OZf0knUKURk6cPW8Kt09dvzM3U3qj+mXc4r6jPF6dbSK4xr9H8ZaqBiW1YSygEwM
10
- lwn4z09wODlcJdNo0l4JeeygYyNSmKv259shnMMt0oAf89892ZEJSCEnODxIjGM=
11
- =hyO5
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-----
@@ -1,5 +0,0 @@
1
- // Some definitions for Doxygen.
2
- /**
3
- @defgroup Core Core Apache-related classes and functions
4
- @defgroup Support Apache-independent support classes and function
5
- */