passenger 4.0.6 → 4.0.7

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 CHANGED
@@ -2,11 +2,11 @@
2
2
  Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
3
3
  Comment: GPGTools - http://gpgtools.org
4
4
 
5
- iQEbBAABAgAGBQJR1eJgAAoJECrHRaUKISqMlOwH9iVnxxO+68qEAnLgklGOj6+C
6
- /ON2JZpMB7rVB3iL86C13gAE/zH+Ks7VxhUEr6pkK/XgNRxK23Y1key55yzxawLR
7
- 0v9B7qQSPhLbhzrvBrQzVoGp9v1JOwM0yzp3mS4LJJT95+coNmhu6QeDH0xeFxMg
8
- OwP3q7n2vMz3k2RsFdgtYk9Ig10wfbqhCpsYEi3xx2mIHL4VO1YlJDbkcGp8VX30
9
- ZfhcZaui5Ytt7bc/euSWvqmGFrXQByzqAnv+RDzpaGFJ07b75YAeveManwDrcMkr
10
- 22aolcN1OPfujTMzHxVyy59Mvlmj8itoBzweWdZZ2TwYHrD6tY0yNh9cvPx/4Q==
11
- =TeIY
5
+ iQEcBAABAgAGBQJR1pxdAAoJECrHRaUKISqMqh4IAINOF8pLt0MCBN50TlXc162j
6
+ 2Oco+OJcp9pPxv2id5N4CObL0tVJapvmDxBCcsOKEGalR4ssrUd/mxjYronRcwft
7
+ daDDGCEiWH/V6Nh7+m3ENhsucEIz1duOWjm+vKLOBzoTcIRKtNSC1RdTw5HCJCC2
8
+ /Z/He4iKHJwfrvelia8vQdhBe0/CYEYKekLnJc3kRvcZabbLmzsWNw/R/4mYk4d0
9
+ iTHpU8JgtKy3PiDqpFWcd/R3gEzEAq8J3RE8baEtZgm4DFlNOYncvBZpcQe0EFwe
10
+ nsrovBNemt++Im6DeiMG5yuQVT5E/YXpIryhCKZEV1IQGCXIY4rJNLh3mcC7BDg=
11
+ =uTYu
12
12
  -----END PGP SIGNATURE-----
data/NEWS CHANGED
@@ -1,3 +1,12 @@
1
+ Release 4.0.7
2
+ -------------
3
+
4
+ * There was a regression in 4.0.6 that sometimes prevents
5
+ PassengerLoggingAgent from starting up. Unfortunately this slipped
6
+ our release testing. This regression has been fixed and we've updated
7
+ our test suite to check for these kinds of regressions.
8
+
9
+
1
10
  Release 4.0.6
2
11
  -------------
3
12
 
@@ -15,6 +24,11 @@ Release 4.0.6
15
24
  * Fix 'PassengerPoolIdleTime 0' not being respected correctly. Issue #904.
16
25
  * Admin tools improvement: it is now possible to see all currently running
17
26
  requests by invoking `passenger-status --show=requests`.
27
+ * A new feature called Flying Passenger allows you to decouple the life time
28
+ of Phusion Passenger from the web server, so that both can be restarted
29
+ indepedently from each other. Please refer to
30
+ http://blog.phusion.nl/2013/07/03/technology-preview-introducing-flying-passenger/
31
+ for an introduction.
18
32
  * [Apache] Fixed compatibility with Apache pipe logging. Previously this
19
33
  would cause Phusion Passenger to lock up with 100% CPU during Apache
20
34
  restart.
data/build/basics.rb CHANGED
@@ -119,7 +119,7 @@ end
119
119
 
120
120
  PACKAGE_NAME = PhusionPassenger::PACKAGE_NAME
121
121
  PACKAGE_VERSION = PhusionPassenger::VERSION_STRING
122
- PACKAGE_SIGNING_KEY = "0x0A212A8C"
122
+ PACKAGE_SIGNING_KEY = string_option('PACKAGE_SIGNING_KEY', '0x0A212A8C')
123
123
  MAINTAINER_NAME = "Phusion"
124
124
  MAINTAINER_EMAIL = "info@phusion.nl"
125
125
 
data/build/debian.rb CHANGED
@@ -24,7 +24,7 @@
24
24
 
25
25
  require 'build/preprocessor'
26
26
 
27
- ALL_DISTRIBUTIONS = ["raring", "precise", "lucid"]
27
+ ALL_DISTRIBUTIONS = ["raring", "quantal", "precise", "lucid"]
28
28
  DEBIAN_NAME = "ruby-passenger"
29
29
  DEBIAN_EPOCH = 1
30
30
  DEBIAN_ORIG_TARBALL_FILES = lambda { PhusionPassenger::Packaging.debian_orig_tarball_files }
@@ -33,9 +33,11 @@ task 'test:integration:apache2' => dependencies do
33
33
  if PlatformInfo.rspec.nil?
34
34
  abort "RSpec is not installed for Ruby interpreter '#{PlatformInfo.ruby_command}'. Please install it."
35
35
  else
36
- Dir.chdir("test") do
37
- ruby "#{PlatformInfo.rspec} -c -f s integration_tests/apache2_tests.rb"
36
+ command = "#{PlatformInfo.rspec} -c -f s integration_tests/apache2_tests.rb"
37
+ if boolean_option('SUDO')
38
+ command = "#{PlatformInfo.ruby_sudo_command} -E #{command}"
38
39
  end
40
+ sh "cd test && #{command}"
39
41
  end
40
42
  end
41
43
 
data/dev/run_travis.sh CHANGED
@@ -80,5 +80,5 @@ if [[ "$TEST_DEBIAN_PACKAGING" = 1 ]]; then
80
80
  run rvmsudo env LOCATIONS_INI=/usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini \
81
81
  rspec -f s -c test/integration_tests/native_packaging_spec.rb
82
82
  run env PASSENGER_LOCATION_CONFIGURATION_FILE=/usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini \
83
- rake test:integration:apache2
83
+ rake test:integration:apache2 SUDO=1
84
84
  fi
@@ -70,7 +70,7 @@
70
70
 
71
71
  #define PROCESS_SHUTDOWN_TIMEOUT_DISPLAY "1 minute"
72
72
 
73
- #define PASSENGER_VERSION "4.0.6"
73
+ #define PASSENGER_VERSION "4.0.7"
74
74
 
75
75
  #define SERVER_INSTANCE_DIR_STRUCTURE_MAJOR_VERSION 1
76
76
 
@@ -250,6 +250,11 @@ main(int argc, char *argv[]) {
250
250
  "the configuration option.");
251
251
  }
252
252
  }
253
+
254
+ /* Setup the admin server right before lowering privilege. */
255
+ adminAccountsDatabase->add("_passenger-status", adminToolStatusPassword, false);
256
+ MessageServer adminServer(parseUnixSocketAddress(adminSocketAddress),
257
+ adminAccountsDatabase);
253
258
 
254
259
  /* Now's a good time to lower the privilege. */
255
260
  if (geteuid() == 0) {
@@ -262,10 +267,7 @@ main(int argc, char *argv[]) {
262
267
  accountsDatabase, options);
263
268
  loggingServer = &server;
264
269
 
265
- /* Setup the admin server. */
266
- adminAccountsDatabase->add("_passenger-status", adminToolStatusPassword, false);
267
- MessageServer adminServer(parseUnixSocketAddress(adminSocketAddress),
268
- adminAccountsDatabase);
270
+ /* Continue setting up the admin server. */
269
271
  adminServer.addHandler(make_shared<AdminController>(&server));
270
272
  function<void ()> adminServerFunc = boost::bind(&MessageServer::mainLoop, &adminServer);
271
273
  oxt::thread adminServerThread(
@@ -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.6'
33
+ VERSION_STRING = '4.0.7'
34
34
 
35
35
  PREFERRED_NGINX_VERSION = '1.4.1'
36
36
  NGINX_SHA256_CHECKSUM = 'bca5d1e89751ba29406185e1736c390412603a7e6b604f5b4575281f6565d119'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: passenger
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.6
4
+ version: 4.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-04 00:00:00.000000000 Z
12
+ date: 2013-07-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  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
- iQEcBAABAgAGBQJR1eJgAAoJECrHRaUKISqMIQUH/3xy6DwmpTlbAhmkO0xL8gAu
6
- RHju6gRXoJPnCuwLYeDTErawtZ3XY2nMvF/qm7H01Nmi4+LF+sWHmFksFiYciXsR
7
- eEkJSyQP6pzXkbmGzvAsaQZ8zV9QuxCjeJFxJa+ouqUi31o7eA2k8u5HP8fXfUjl
8
- UXA/YwPc7vqxpLpZXCv0nBBHAzk3gG/sjvRIFzoTDvX/DGIVCHCHOhA+bkh3FpLx
9
- 9WoIsYE52LzhYMrzE5wwttWL5NHBW8Q3ygzgkzy84RUNInhHf2gLQ2G1qUZ9V9XQ
10
- 8NgJoZXu8W9N4cI8OVvpVFlL2Hrp7LfsEJE+fRH9defkYKaYyNpYHZCa5mB7voY=
11
- =GbQl
5
+ iQEcBAABAgAGBQJR1pxdAAoJECrHRaUKISqMiqwH/3LCgw5ztPSGL4tTd1bRtx3i
6
+ jRu4rb7iHj45z8vbbNSebe981xBlxxcNGVEmRnENNVErYM4C0CMDyHH8xyDjOn7D
7
+ 9xYfBEhfZl3odLoI4eXoiWbkKxY+dKFr04ZCvC22EwTWiq89xT0Mxj46/tsbhG4H
8
+ cU05PFmIlQX8bQQRAAdxqqMWCCBllwgYh05qmegSs/VYxsZbMiPisEunAsc+uRbF
9
+ bC5T6Vjv4mvHxEKEXByc7bmP6nUnGHWHH8Vd1cdb+g5RxWKZOVFGnzzCWhAXKS1C
10
+ fTcbZT0f2hG8ghcbHrEx4tB470IZ1DriocKPdGZRHqjZmsS/Kq8R/gS5FH+8tds=
11
+ =Auh+
12
12
  -----END PGP SIGNATURE-----