passenger 5.1.2 → 5.1.3

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.

Files changed (404) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +19 -2
  3. data/LICENSE +1 -1
  4. data/bin/passenger +1 -1
  5. data/bin/passenger-config +1 -1
  6. data/bin/passenger-install-apache2-module +12 -3
  7. data/bin/passenger-install-nginx-module +1 -1
  8. data/bin/passenger-memory-stats +1 -1
  9. data/bin/passenger-status +1 -1
  10. data/build/agent.rb +1 -1
  11. data/build/apache2.rb +1 -1
  12. data/build/basics.rb +1 -1
  13. data/build/common_library.rb +1 -1
  14. data/build/cxx_tests.rb +1 -1
  15. data/build/documentation.rb +1 -1
  16. data/build/integration_tests.rb +1 -1
  17. data/build/misc.rb +1 -1
  18. data/build/nginx.rb +1 -1
  19. data/build/node_tests.rb +1 -1
  20. data/build/oxt_tests.rb +1 -1
  21. data/build/packaging.rb +15 -2
  22. data/build/ruby_extension.rb +1 -1
  23. data/build/ruby_tests.rb +1 -1
  24. data/build/support/cplusplus.rb +4 -3
  25. data/build/support/cxx_dependency_map.rb +2 -1
  26. data/build/support/general.rb +1 -1
  27. data/build/test_basics.rb +1 -1
  28. data/dev/ci/run_travis.sh +2 -1
  29. data/dev/copy_boost_headers +3 -3
  30. data/dev/index_cxx_dependencies.rb +4 -2
  31. data/doc/Users guide Apache.html +1 -1
  32. data/resources/templates/error_layout.html.template +1 -1
  33. data/resources/templates/undisclosed_error.html.template +1 -1
  34. data/src/agent/AgentMain.cpp +1 -1
  35. data/src/agent/Core/ApiServer.h +1 -1
  36. data/src/agent/Core/ApplicationPool/AbstractSession.h +1 -1
  37. data/src/agent/Core/ApplicationPool/BasicGroupInfo.h +1 -1
  38. data/src/agent/Core/ApplicationPool/BasicProcessInfo.h +1 -1
  39. data/src/agent/Core/ApplicationPool/Common.h +1 -1
  40. data/src/agent/Core/ApplicationPool/Context.h +1 -1
  41. data/src/agent/Core/ApplicationPool/ErrorRenderer.h +1 -1
  42. data/src/agent/Core/ApplicationPool/Group.h +1 -1
  43. data/src/agent/Core/ApplicationPool/Group/InitializationAndShutdown.cpp +1 -1
  44. data/src/agent/Core/ApplicationPool/Group/InternalUtils.cpp +1 -1
  45. data/src/agent/Core/ApplicationPool/Group/LifetimeAndBasics.cpp +1 -1
  46. data/src/agent/Core/ApplicationPool/Group/Miscellaneous.cpp +1 -1
  47. data/src/agent/Core/ApplicationPool/Group/OutOfBandWork.cpp +5 -5
  48. data/src/agent/Core/ApplicationPool/Group/ProcessListManagement.cpp +1 -1
  49. data/src/agent/Core/ApplicationPool/Group/SessionManagement.cpp +1 -1
  50. data/src/agent/Core/ApplicationPool/Group/SpawningAndRestarting.cpp +13 -13
  51. data/src/agent/Core/ApplicationPool/Group/StateInspection.cpp +1 -1
  52. data/src/agent/Core/ApplicationPool/Group/Verification.cpp +1 -1
  53. data/src/agent/Core/ApplicationPool/Implementation.cpp +1 -1
  54. data/src/agent/Core/ApplicationPool/Options.h +1 -1
  55. data/src/agent/Core/ApplicationPool/Pool.h +1 -1
  56. data/src/agent/Core/ApplicationPool/Pool/AnalyticsCollection.cpp +4 -4
  57. data/src/agent/Core/ApplicationPool/Pool/GarbageCollection.cpp +1 -1
  58. data/src/agent/Core/ApplicationPool/Pool/GeneralUtils.cpp +1 -1
  59. data/src/agent/Core/ApplicationPool/Pool/GroupUtils.cpp +1 -1
  60. data/src/agent/Core/ApplicationPool/Pool/InitializationAndShutdown.cpp +1 -1
  61. data/src/agent/Core/ApplicationPool/Pool/Miscellaneous.cpp +1 -1
  62. data/src/agent/Core/ApplicationPool/Pool/ProcessUtils.cpp +1 -1
  63. data/src/agent/Core/ApplicationPool/Pool/StateInspection.cpp +1 -1
  64. data/src/agent/Core/ApplicationPool/Process.h +1 -1
  65. data/src/agent/Core/ApplicationPool/Session.h +1 -1
  66. data/src/agent/Core/ApplicationPool/Socket.h +1 -1
  67. data/src/agent/Core/ApplicationPool/TestSession.h +1 -1
  68. data/src/agent/Core/Controller.h +1 -1
  69. data/src/agent/Core/Controller/AppResponse.h +1 -1
  70. data/src/agent/Core/Controller/BufferBody.cpp +1 -1
  71. data/src/agent/Core/Controller/CheckoutSession.cpp +1 -1
  72. data/src/agent/Core/Controller/Client.h +1 -1
  73. data/src/agent/Core/Controller/ForwardResponse.cpp +1 -1
  74. data/src/agent/Core/Controller/Hooks.cpp +1 -1
  75. data/src/agent/Core/Controller/Implementation.cpp +1 -1
  76. data/src/agent/Core/Controller/InitRequest.cpp +1 -1
  77. data/src/agent/Core/Controller/InitializationAndShutdown.cpp +1 -1
  78. data/src/agent/Core/Controller/InternalUtils.cpp +1 -1
  79. data/src/agent/Core/Controller/Miscellaneous.cpp +1 -1
  80. data/src/agent/Core/Controller/Request.h +1 -1
  81. data/src/agent/Core/Controller/SendRequest.cpp +1 -1
  82. data/src/agent/Core/Controller/StateInspectionAndConfiguration.cpp +1 -1
  83. data/src/agent/Core/Controller/TurboCaching.h +1 -1
  84. data/src/agent/Core/CoreMain.cpp +2 -2
  85. data/src/agent/Core/OptionParser.h +1 -1
  86. data/src/agent/Core/ResponseCache.h +1 -1
  87. data/src/agent/Core/SecurityUpdateChecker.h +5 -115
  88. data/src/agent/Core/SpawningKit/BackgroundIOCapturer.h +7 -7
  89. data/src/agent/Core/SpawningKit/Config.h +1 -1
  90. data/src/agent/Core/SpawningKit/DirectSpawner.h +12 -7
  91. data/src/agent/Core/SpawningKit/DummySpawner.h +1 -1
  92. data/src/agent/Core/SpawningKit/Factory.h +1 -1
  93. data/src/agent/Core/SpawningKit/Options.h +1 -1
  94. data/src/agent/Core/SpawningKit/PipeWatcher.h +1 -1
  95. data/src/agent/Core/SpawningKit/Result.h +1 -1
  96. data/src/agent/Core/SpawningKit/SmartSpawner.h +13 -8
  97. data/src/agent/Core/SpawningKit/Spawner.h +8 -5
  98. data/src/agent/Core/SpawningKit/UserSwitchingRules.h +1 -1
  99. data/src/agent/Core/UnionStation/Connection.h +3 -3
  100. data/src/agent/Core/UnionStation/Context.h +1 -1
  101. data/src/agent/Core/UnionStation/StopwatchLog.h +1 -1
  102. data/src/agent/Core/UnionStation/Transaction.h +1 -1
  103. data/src/agent/Shared/ApiServerUtils.h +1 -1
  104. data/src/agent/Shared/ApplicationPoolApiKey.h +1 -1
  105. data/src/agent/Shared/Base.cpp +1 -1
  106. data/src/agent/Shared/Base.h +1 -1
  107. data/src/agent/SpawnPreparer/SpawnPreparerMain.cpp +1 -1
  108. data/src/agent/SystemMetrics/SystemMetricsMain.cpp +1 -1
  109. data/src/agent/TempDirToucher/TempDirToucherMain.cpp +1 -1
  110. data/src/agent/UstRouter/ApiServer.h +1 -1
  111. data/src/agent/UstRouter/Client.h +1 -1
  112. data/src/agent/UstRouter/Controller.h +1 -1
  113. data/src/agent/UstRouter/FileSink.h +1 -1
  114. data/src/agent/UstRouter/LogSink.h +1 -1
  115. data/src/agent/UstRouter/OptionParser.h +1 -1
  116. data/src/agent/UstRouter/RemoteSender.h +1 -1
  117. data/src/agent/UstRouter/RemoteSink.h +1 -1
  118. data/src/agent/UstRouter/Transaction.h +1 -1
  119. data/src/agent/UstRouter/UstRouterMain.cpp +2 -2
  120. data/src/agent/Watchdog/AgentWatcher.cpp +14 -14
  121. data/src/agent/Watchdog/ApiServer.h +1 -1
  122. data/src/agent/Watchdog/CoreWatcher.cpp +1 -1
  123. data/src/agent/Watchdog/InstanceDirToucher.cpp +6 -6
  124. data/src/agent/Watchdog/UstRouterWatcher.cpp +1 -1
  125. data/src/agent/Watchdog/WatchdogMain.cpp +5 -5
  126. data/src/apache2_module/Bucket.cpp +1 -1
  127. data/src/apache2_module/Bucket.h +1 -1
  128. data/src/apache2_module/Configuration.cpp +1 -1
  129. data/src/apache2_module/Configuration.h +1 -1
  130. data/src/apache2_module/Configuration.hpp +1 -1
  131. data/src/apache2_module/ConfigurationCommands.cpp +1 -1
  132. data/src/apache2_module/ConfigurationCommands.cpp.cxxcodebuilder +1 -1
  133. data/src/apache2_module/ConfigurationFields.hpp +1 -1
  134. data/src/apache2_module/ConfigurationFields.hpp.cxxcodebuilder +1 -1
  135. data/src/apache2_module/ConfigurationSetters.cpp +1 -1
  136. data/src/apache2_module/ConfigurationSetters.cpp.cxxcodebuilder +1 -1
  137. data/src/apache2_module/CreateDirConfig.cpp +1 -1
  138. data/src/apache2_module/CreateDirConfig.cpp.cxxcodebuilder +1 -1
  139. data/src/apache2_module/DirectoryMapper.h +1 -1
  140. data/src/apache2_module/Hooks.cpp +5 -5
  141. data/src/apache2_module/Hooks.h +1 -1
  142. data/src/apache2_module/MergeDirConfig.cpp +1 -1
  143. data/src/apache2_module/MergeDirConfig.cpp.cxxcodebuilder +1 -1
  144. data/src/apache2_module/SetHeaders.cpp +1 -1
  145. data/src/apache2_module/SetHeaders.cpp.cxxcodebuilder +1 -1
  146. data/src/apache2_module/mod_passenger.c +1 -1
  147. data/src/cxx_supportlib/Algorithms/MovingAverage.h +1 -1
  148. data/src/cxx_supportlib/AppTypes.cpp +1 -1
  149. data/src/cxx_supportlib/AppTypes.h +1 -1
  150. data/src/cxx_supportlib/BackgroundEventLoop.cpp +1 -1
  151. data/src/cxx_supportlib/BackgroundEventLoop.h +1 -1
  152. data/src/cxx_supportlib/Constants.h +2 -2
  153. data/src/cxx_supportlib/Constants.h.cxxcodebuilder +1 -1
  154. data/src/cxx_supportlib/Crypto.cpp +28 -7
  155. data/src/cxx_supportlib/Crypto.h +2 -1
  156. data/src/cxx_supportlib/DataStructures/HashedStaticString.h +1 -1
  157. data/src/cxx_supportlib/DataStructures/LString.cpp +1 -1
  158. data/src/cxx_supportlib/DataStructures/LString.h +1 -1
  159. data/src/cxx_supportlib/DataStructures/StringKeyTable.h +1 -1
  160. data/src/cxx_supportlib/Exceptions.cpp +1 -1
  161. data/src/cxx_supportlib/Exceptions.h +1 -1
  162. data/src/cxx_supportlib/FileDescriptor.h +4 -4
  163. data/src/cxx_supportlib/Hooks.h +1 -1
  164. data/src/cxx_supportlib/InstanceDirectory.h +1 -1
  165. data/src/cxx_supportlib/Integrations/LibevJsonUtils.h +1 -1
  166. data/src/cxx_supportlib/Logging.cpp +1 -1
  167. data/src/cxx_supportlib/Logging.h +3 -3
  168. data/src/cxx_supportlib/LveLoggingDecorator.h +1 -1
  169. data/src/cxx_supportlib/MemoryKit/mbuf.cpp +1 -1
  170. data/src/cxx_supportlib/MemoryKit/mbuf.h +1 -1
  171. data/src/cxx_supportlib/MemoryKit/palloc.cpp +1 -1
  172. data/src/cxx_supportlib/MemoryKit/palloc.h +1 -1
  173. data/src/cxx_supportlib/MessageClient.h +1 -1
  174. data/src/cxx_supportlib/MessageReadersWriters.h +1 -1
  175. data/src/cxx_supportlib/RandomGenerator.h +2 -2
  176. data/src/cxx_supportlib/ResourceLocator.h +1 -1
  177. data/src/cxx_supportlib/SafeLibev.h +1 -1
  178. data/src/cxx_supportlib/ServerKit/AcceptLoadBalancer.h +1 -1
  179. data/src/cxx_supportlib/ServerKit/Channel.h +1 -1
  180. data/src/cxx_supportlib/ServerKit/Client.h +1 -1
  181. data/src/cxx_supportlib/ServerKit/ClientRef.h +1 -1
  182. data/src/cxx_supportlib/ServerKit/Context.h +1 -1
  183. data/src/cxx_supportlib/ServerKit/CookieUtils.h +1 -1
  184. data/src/cxx_supportlib/ServerKit/Errors.h +1 -1
  185. data/src/cxx_supportlib/ServerKit/FdSinkChannel.h +1 -1
  186. data/src/cxx_supportlib/ServerKit/FdSourceChannel.h +1 -1
  187. data/src/cxx_supportlib/ServerKit/FileBufferedChannel.h +1 -1
  188. data/src/cxx_supportlib/ServerKit/FileBufferedFdSinkChannel.h +1 -1
  189. data/src/cxx_supportlib/ServerKit/HeaderTable.h +1 -1
  190. data/src/cxx_supportlib/ServerKit/Hooks.h +1 -1
  191. data/src/cxx_supportlib/ServerKit/HttpChunkedBodyParser.h +1 -1
  192. data/src/cxx_supportlib/ServerKit/HttpChunkedBodyParserState.h +1 -1
  193. data/src/cxx_supportlib/ServerKit/HttpClient.h +1 -1
  194. data/src/cxx_supportlib/ServerKit/HttpHeaderParser.h +1 -1
  195. data/src/cxx_supportlib/ServerKit/HttpHeaderParserState.h +1 -1
  196. data/src/cxx_supportlib/ServerKit/HttpRequest.h +1 -1
  197. data/src/cxx_supportlib/ServerKit/HttpRequestRef.h +1 -1
  198. data/src/cxx_supportlib/ServerKit/HttpServer.h +1 -1
  199. data/src/cxx_supportlib/ServerKit/Implementation.cpp +1 -1
  200. data/src/cxx_supportlib/ServerKit/Server.h +1 -1
  201. data/src/cxx_supportlib/StaticString.h +1 -1
  202. data/src/cxx_supportlib/UnionStationFilterSupport.cpp +1 -1
  203. data/src/cxx_supportlib/UnionStationFilterSupport.h +1 -1
  204. data/src/cxx_supportlib/Utils.cpp +16 -16
  205. data/src/cxx_supportlib/Utils.h +1 -1
  206. data/src/cxx_supportlib/Utils/AnsiColorConstants.h +1 -1
  207. data/src/cxx_supportlib/Utils/BlockingQueue.h +1 -1
  208. data/src/cxx_supportlib/Utils/BufferedIO.h +1 -1
  209. data/src/cxx_supportlib/Utils/CachedFileStat.cpp +1 -1
  210. data/src/cxx_supportlib/Utils/CachedFileStat.h +1 -1
  211. data/src/cxx_supportlib/Utils/CachedFileStat.hpp +1 -1
  212. data/src/cxx_supportlib/Utils/ClassUtils.h +1 -1
  213. data/src/cxx_supportlib/Utils/Curl.h +1 -1
  214. data/src/cxx_supportlib/Utils/DateParsing.h +1 -1
  215. data/src/cxx_supportlib/Utils/FastStringStream.h +1 -1
  216. data/src/cxx_supportlib/Utils/FileChangeChecker.h +1 -1
  217. data/src/cxx_supportlib/Utils/HashMap.h +1 -1
  218. data/src/cxx_supportlib/Utils/Hasher.cpp +1 -1
  219. data/src/cxx_supportlib/Utils/Hasher.h +1 -1
  220. data/src/cxx_supportlib/Utils/HttpConstants.h +1 -1
  221. data/src/cxx_supportlib/Utils/IOUtils.cpp +1 -1
  222. data/src/cxx_supportlib/Utils/IOUtils.h +1 -1
  223. data/src/cxx_supportlib/Utils/IniFile.h +1 -1
  224. data/src/cxx_supportlib/Utils/JsonUtils.h +1 -1
  225. data/src/cxx_supportlib/Utils/LargeFiles.h +1 -1
  226. data/src/cxx_supportlib/Utils/MemZeroGuard.h +1 -1
  227. data/src/cxx_supportlib/Utils/MemoryBarrier.h +1 -1
  228. data/src/cxx_supportlib/Utils/MessageIO.h +1 -1
  229. data/src/cxx_supportlib/Utils/MessagePassing.h +1 -1
  230. data/src/cxx_supportlib/Utils/OptionParsing.h +1 -1
  231. data/src/cxx_supportlib/Utils/ProcessMetricsCollector.h +2 -3
  232. data/src/cxx_supportlib/Utils/ReleaseableScopedPointer.h +1 -1
  233. data/src/cxx_supportlib/Utils/ScopeGuard.h +5 -5
  234. data/src/cxx_supportlib/Utils/SpeedMeter.h +1 -1
  235. data/src/cxx_supportlib/Utils/StrIntUtils.cpp +1 -1
  236. data/src/cxx_supportlib/Utils/StrIntUtils.h +1 -1
  237. data/src/cxx_supportlib/Utils/StrIntUtilsNoStrictAliasing.cpp +1 -1
  238. data/src/cxx_supportlib/Utils/StringMap.h +1 -1
  239. data/src/cxx_supportlib/Utils/StringScanning.h +1 -1
  240. data/src/cxx_supportlib/Utils/SystemMetricsCollector.h +1 -1
  241. data/src/cxx_supportlib/Utils/SystemTime.cpp +1 -1
  242. data/src/cxx_supportlib/Utils/SystemTime.h +1 -1
  243. data/src/cxx_supportlib/Utils/Timer.h +1 -1
  244. data/src/cxx_supportlib/Utils/VariantMap.h +1 -1
  245. data/src/cxx_supportlib/WatchdogLauncher.cpp +2 -2
  246. data/src/cxx_supportlib/WatchdogLauncher.h +9 -9
  247. data/src/cxx_supportlib/oxt/backtrace.hpp +1 -1
  248. data/src/cxx_supportlib/oxt/detail/backtrace_disabled.hpp +1 -1
  249. data/src/cxx_supportlib/oxt/detail/backtrace_enabled.hpp +1 -1
  250. data/src/cxx_supportlib/oxt/detail/context.hpp +1 -1
  251. data/src/cxx_supportlib/oxt/detail/spin_lock_darwin.hpp +1 -1
  252. data/src/cxx_supportlib/oxt/detail/spin_lock_gcc_x86.hpp +1 -1
  253. data/src/cxx_supportlib/oxt/detail/spin_lock_portable.hpp +1 -1
  254. data/src/cxx_supportlib/oxt/detail/spin_lock_pthreads.hpp +1 -1
  255. data/src/cxx_supportlib/oxt/detail/tracable_exception_disabled.hpp +1 -1
  256. data/src/cxx_supportlib/oxt/detail/tracable_exception_enabled.hpp +1 -1
  257. data/src/cxx_supportlib/oxt/dynamic_thread_group.hpp +3 -3
  258. data/src/cxx_supportlib/oxt/implementation.cpp +1 -1
  259. data/src/cxx_supportlib/oxt/initialize.hpp +1 -1
  260. data/src/cxx_supportlib/oxt/macros.hpp +1 -1
  261. data/src/cxx_supportlib/oxt/spin_lock.hpp +1 -1
  262. data/src/cxx_supportlib/oxt/system_calls.cpp +4 -4
  263. data/src/cxx_supportlib/oxt/system_calls.hpp +2 -2
  264. data/src/cxx_supportlib/oxt/thread.hpp +1 -1
  265. data/src/cxx_supportlib/oxt/tracable_exception.hpp +1 -1
  266. data/src/cxx_supportlib/vendor-copy/adhoc_lve.h +1 -1
  267. data/src/cxx_supportlib/vendor-modified/modp_b64_strict_aliasing.cpp +1 -1
  268. data/src/helper-scripts/backtrace-sanitizer.rb +1 -1
  269. data/src/helper-scripts/crash-watch.rb +1 -1
  270. data/src/helper-scripts/download_binaries/extconf.rb +1 -1
  271. data/src/helper-scripts/meteor-loader.rb +1 -1
  272. data/src/helper-scripts/node-loader.js +1 -1
  273. data/src/helper-scripts/prespawn +1 -1
  274. data/src/helper-scripts/rack-loader.rb +6 -6
  275. data/src/helper-scripts/rack-preloader.rb +7 -7
  276. data/src/helper-scripts/wsgi-loader.py +1 -1
  277. data/src/nginx_module/CacheLocationConfig.c +1 -1
  278. data/src/nginx_module/CacheLocationConfig.c.cxxcodebuilder +1 -1
  279. data/src/nginx_module/Configuration.c +1 -1
  280. data/src/nginx_module/Configuration.h +1 -1
  281. data/src/nginx_module/ConfigurationCommands.c +1 -1
  282. data/src/nginx_module/ConfigurationCommands.c.cxxcodebuilder +1 -1
  283. data/src/nginx_module/ContentHandler.c +1 -1
  284. data/src/nginx_module/ContentHandler.h +1 -1
  285. data/src/nginx_module/CreateLocationConfig.c +1 -1
  286. data/src/nginx_module/CreateLocationConfig.c.cxxcodebuilder +1 -1
  287. data/src/nginx_module/LocationConfig.h +1 -1
  288. data/src/nginx_module/LocationConfig.h.cxxcodebuilder +1 -1
  289. data/src/nginx_module/MergeLocationConfig.c +1 -1
  290. data/src/nginx_module/MergeLocationConfig.c.cxxcodebuilder +1 -1
  291. data/src/nginx_module/StaticContentHandler.c +1 -1
  292. data/src/nginx_module/StaticContentHandler.h +1 -1
  293. data/src/nginx_module/ngx_http_passenger_module.c +1 -1
  294. data/src/nginx_module/ngx_http_passenger_module.h +1 -1
  295. data/src/nodejs_supportlib/phusion_passenger/line_reader.js +1 -1
  296. data/src/nodejs_supportlib/phusion_passenger/log_express.js +1 -1
  297. data/src/nodejs_supportlib/phusion_passenger/log_mongodb.js +1 -1
  298. data/src/nodejs_supportlib/phusion_passenger/ustreporter.js +2 -2
  299. data/src/nodejs_supportlib/phusion_passenger/ustrouter_connector.js +2 -2
  300. data/src/ruby_native_extension/extconf.rb +1 -1
  301. data/src/ruby_native_extension/passenger_native_support.c +1 -1
  302. data/src/ruby_supportlib/phusion_passenger.rb +4 -4
  303. data/src/ruby_supportlib/phusion_passenger/abstract_installer.rb +2 -2
  304. data/src/ruby_supportlib/phusion_passenger/admin_tools.rb +1 -1
  305. data/src/ruby_supportlib/phusion_passenger/admin_tools/instance.rb +1 -1
  306. data/src/ruby_supportlib/phusion_passenger/admin_tools/instance_registry.rb +1 -1
  307. data/src/ruby_supportlib/phusion_passenger/admin_tools/memory_stats.rb +1 -1
  308. data/src/ruby_supportlib/phusion_passenger/apache2/config_options.rb +1 -1
  309. data/src/ruby_supportlib/phusion_passenger/common_library.rb +1 -1
  310. data/src/ruby_supportlib/phusion_passenger/config/about_command.rb +1 -1
  311. data/src/ruby_supportlib/phusion_passenger/config/agent_compiler.rb +1 -1
  312. data/src/ruby_supportlib/phusion_passenger/config/api_call_command.rb +1 -1
  313. data/src/ruby_supportlib/phusion_passenger/config/build_native_support_command.rb +1 -1
  314. data/src/ruby_supportlib/phusion_passenger/config/command.rb +1 -1
  315. data/src/ruby_supportlib/phusion_passenger/config/compile_agent_command.rb +1 -1
  316. data/src/ruby_supportlib/phusion_passenger/config/compile_nginx_engine_command.rb +1 -1
  317. data/src/ruby_supportlib/phusion_passenger/config/detach_process_command.rb +1 -1
  318. data/src/ruby_supportlib/phusion_passenger/config/download_agent_command.rb +1 -1
  319. data/src/ruby_supportlib/phusion_passenger/config/download_nginx_engine_command.rb +1 -1
  320. data/src/ruby_supportlib/phusion_passenger/config/install_agent_command.rb +1 -1
  321. data/src/ruby_supportlib/phusion_passenger/config/install_standalone_runtime_command.rb +1 -0
  322. data/src/ruby_supportlib/phusion_passenger/config/installation_utils.rb +4 -4
  323. data/src/ruby_supportlib/phusion_passenger/config/list_instances_command.rb +1 -1
  324. data/src/ruby_supportlib/phusion_passenger/config/main.rb +1 -1
  325. data/src/ruby_supportlib/phusion_passenger/config/nginx_engine_compiler.rb +1 -1
  326. data/src/ruby_supportlib/phusion_passenger/config/reopen_logs_command.rb +1 -1
  327. data/src/ruby_supportlib/phusion_passenger/config/restart_app_command.rb +1 -1
  328. data/src/ruby_supportlib/phusion_passenger/config/system_metrics_command.rb +1 -1
  329. data/src/ruby_supportlib/phusion_passenger/config/utils.rb +1 -1
  330. data/src/ruby_supportlib/phusion_passenger/config/validate_install_command.rb +1 -1
  331. data/src/ruby_supportlib/phusion_passenger/console_text_template.rb +1 -1
  332. data/src/ruby_supportlib/phusion_passenger/constants.rb +1 -1
  333. data/src/ruby_supportlib/phusion_passenger/debug_logging.rb +1 -1
  334. data/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb +1 -1
  335. data/src/ruby_supportlib/phusion_passenger/message_channel.rb +1 -1
  336. data/src/ruby_supportlib/phusion_passenger/message_client.rb +1 -1
  337. data/src/ruby_supportlib/phusion_passenger/native_support.rb +1 -1
  338. data/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb +1 -1
  339. data/src/ruby_supportlib/phusion_passenger/packaging.rb +1 -1
  340. data/src/ruby_supportlib/phusion_passenger/platform_info.rb +1 -1
  341. data/src/ruby_supportlib/phusion_passenger/platform_info/apache.rb +16 -4
  342. data/src/ruby_supportlib/phusion_passenger/platform_info/apache_detector.rb +1 -1
  343. data/src/ruby_supportlib/phusion_passenger/platform_info/binary_compatibility.rb +1 -1
  344. data/src/ruby_supportlib/phusion_passenger/platform_info/compiler.rb +1 -1
  345. data/src/ruby_supportlib/phusion_passenger/platform_info/crypto.rb +1 -1
  346. data/src/ruby_supportlib/phusion_passenger/platform_info/curl.rb +1 -1
  347. data/src/ruby_supportlib/phusion_passenger/platform_info/cxx_portability.rb +1 -1
  348. data/src/ruby_supportlib/phusion_passenger/platform_info/depcheck.rb +12 -3
  349. data/src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/apache2.rb +21 -2
  350. data/src/ruby_supportlib/phusion_passenger/platform_info/linux.rb +1 -1
  351. data/src/ruby_supportlib/phusion_passenger/platform_info/macos.rb +45 -0
  352. data/src/ruby_supportlib/phusion_passenger/platform_info/openssl.rb +1 -1
  353. data/src/ruby_supportlib/phusion_passenger/platform_info/operating_system.rb +1 -1
  354. data/src/ruby_supportlib/phusion_passenger/platform_info/ruby.rb +1 -1
  355. data/src/ruby_supportlib/phusion_passenger/platform_info/zlib.rb +1 -1
  356. data/src/ruby_supportlib/phusion_passenger/plugin.rb +1 -1
  357. data/src/ruby_supportlib/phusion_passenger/preloader_shared_helpers.rb +1 -1
  358. data/src/ruby_supportlib/phusion_passenger/public_api.rb +1 -1
  359. data/src/ruby_supportlib/phusion_passenger/rack/out_of_band_gc.rb +1 -1
  360. data/src/ruby_supportlib/phusion_passenger/rack/thread_handler_extension.rb +1 -1
  361. data/src/ruby_supportlib/phusion_passenger/rack_handler.rb +1 -1
  362. data/src/ruby_supportlib/phusion_passenger/request_handler.rb +1 -1
  363. data/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb +1 -1
  364. data/src/ruby_supportlib/phusion_passenger/ruby_core_enhancements.rb +1 -1
  365. data/src/ruby_supportlib/phusion_passenger/ruby_core_io_enhancements.rb +1 -1
  366. data/src/ruby_supportlib/phusion_passenger/simple_benchmarking.rb +1 -1
  367. data/src/ruby_supportlib/phusion_passenger/standalone/app_finder.rb +1 -1
  368. data/src/ruby_supportlib/phusion_passenger/standalone/command.rb +1 -1
  369. data/src/ruby_supportlib/phusion_passenger/standalone/config_options_list.rb +1 -1
  370. data/src/ruby_supportlib/phusion_passenger/standalone/config_utils.rb +1 -1
  371. data/src/ruby_supportlib/phusion_passenger/standalone/control_utils.rb +1 -1
  372. data/src/ruby_supportlib/phusion_passenger/standalone/main.rb +1 -1
  373. data/src/ruby_supportlib/phusion_passenger/standalone/start_command/builtin_engine.rb +1 -1
  374. data/src/ruby_supportlib/phusion_passenger/standalone/start_command/nginx_engine.rb +1 -1
  375. data/src/ruby_supportlib/phusion_passenger/standalone/status_command.rb +1 -1
  376. data/src/ruby_supportlib/phusion_passenger/standalone/stop_command.rb +1 -1
  377. data/src/ruby_supportlib/phusion_passenger/standalone/version_command.rb +1 -1
  378. data/src/ruby_supportlib/phusion_passenger/utils.rb +1 -1
  379. data/src/ruby_supportlib/phusion_passenger/utils/ansi_colors.rb +1 -1
  380. data/src/ruby_supportlib/phusion_passenger/utils/download.rb +1 -1
  381. data/src/ruby_supportlib/phusion_passenger/utils/file_system_watcher.rb +1 -1
  382. data/src/ruby_supportlib/phusion_passenger/utils/hosts_file_parser.rb +1 -1
  383. data/src/ruby_supportlib/phusion_passenger/utils/lock.rb +1 -1
  384. data/src/ruby_supportlib/phusion_passenger/utils/native_support_utils.rb +1 -1
  385. data/src/ruby_supportlib/phusion_passenger/utils/progress_bar.rb +1 -1
  386. data/src/ruby_supportlib/phusion_passenger/utils/terminal_choice_menu.rb +1 -1
  387. data/src/ruby_supportlib/phusion_passenger/utils/unseekable_socket.rb +1 -1
  388. data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/app.rb +1 -1
  389. data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/base.rb +1 -1
  390. data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/gdb_controller.rb +1 -1
  391. data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/lldb_controller.rb +1 -1
  392. data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/utils.rb +1 -1
  393. data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/version.rb +1 -1
  394. data/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller.rb +1 -1
  395. data/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller/lock_file.rb +1 -1
  396. data/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller/spawn.rb +2 -2
  397. data/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller/version.rb +1 -1
  398. metadata +4 -9
  399. data/src/cxx_supportlib/vendor-copy/libuv/autom4te.cache/output.0 +0 -15477
  400. data/src/cxx_supportlib/vendor-copy/libuv/autom4te.cache/output.1 +0 -15477
  401. data/src/cxx_supportlib/vendor-copy/libuv/autom4te.cache/requests +0 -324
  402. data/src/cxx_supportlib/vendor-copy/libuv/autom4te.cache/traces.0 +0 -3105
  403. data/src/cxx_supportlib/vendor-copy/libuv/autom4te.cache/traces.1 +0 -703
  404. data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/ruby_versions.yml +0 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5d85fbc3f95f6d5fa631a5a5a2a0750087bda1f9
4
- data.tar.gz: f257bced65450de07314089bb532424d29b29bf0
3
+ metadata.gz: c7a420b19e2627964dfc7eaa315538d2dd03a3e3
4
+ data.tar.gz: 82558c78d41af58627ad79e1fca8c408a07e3f33
5
5
  SHA512:
6
- metadata.gz: e52abbcbbd0d9412d11e75f683173169b991a8215106a8ec9f4802d807029dd9bebe8894587f855204fb57f8cb46ff25bcd8319443b93f1b4f6b80a3ad567491
7
- data.tar.gz: 75a975eac87498c43ebfa2e57a22f3374386d74a20a5ab956b3d94a3da528f079bb3ed02abd6019b4b001f46cb2641416cb729d43b3c782391deba7a0fcaddb0
6
+ metadata.gz: 664d7217bfc15efb665fe9104472a6fb33d317059f180bd2c8ed1276afa513685d497e57e6bbff2a7fe562c983cafe4d6b5e79c68d3f3d7120a1bb0e4f1d213d
7
+ data.tar.gz: a6880e2abb069e4334777baf20682b12736b3fb3b19ed217a2a51cd4ac7ef7638f45be99a107b571d9d92f4d29c857e5ba7451c0f2d4dfa7e8559db5dd914d8b
data/CHANGELOG CHANGED
@@ -1,3 +1,20 @@
1
+ Release 5.1.3
2
+ -------------------------------
3
+
4
+ * [Standalone] Fixes `install-standalone-runtime` command after regression in 5.1.2.
5
+ * Removes unnecessary logging of "No Error" from macOS Security Update Checker.
6
+ * Adds support for compiling against the built-in Apache installation supplied with macOS 10.12 Sierra. Previous versions of Passenger failed because macOS Sierra's Apache installation is incomplete and does not supply the apr-config tool. We now work around this by using hardcoded default values for macOS.
7
+ * Don't output colorized text during dependency check when output isn't a TTY, unless forced. Closes GH-1902.
8
+ * [Nginx] The preferred Nginx version is now 1.10.3 (previously 1.10.2).
9
+ * Adds Ubuntu 17.04 "Zesty" packages.
10
+ * [Enterprise] Fixes `send-cloud-usage` command when Passenger is installed from gem.
11
+ * [Enterprise] Improves robustness of machine properties reporting for pay-as-you-go cloud-license holders.
12
+ * [Enterprise] Adds support for reporting available RAM, and CONTAINER_HOST_IDENTIFIER envvar, to support RAM-based pricing model.
13
+ * Added additional debug level logging for troubleshooting issues with bash scripts. Closes GH-1928.
14
+ * Revert private keychain use in the Security Update Checker when run as root on macOS, in order to avoid changing the default System Keychain. Closes GH-1922. Remove Cert and Key from keychain separately, to avoid errors when clearing the client certificate.
15
+ * Fix missing openssl check in `passenger-install-apache2-module` dependency checker. Closes GH-1934.
16
+
17
+
1
18
  Release 5.1.2
2
19
  -------------
3
20
 
@@ -16,7 +33,7 @@ Release 5.1.1
16
33
  * Fixes some false positives (logging) from the new Node and Meteor cluster warning system. Logging is less repetitive and has extra debug info. Closes GH-1905.
17
34
  * Updates the upload-progress module in the Nginx Debian package. The module version that we linked against in 5.1.0 was 0.9.2, but due to a bug in that version the module didn't work.
18
35
  * The security update check now reports whether libcurl + SSL backend are statically linked to Passenger, in which case the check also needs to warn about relevant OpenSSL vulnerabilities in the linked library.
19
- * Increases the allowed line lengths emmited by apps at startup.
36
+ * Increases the allowed line lengths emitted by apps at startup.
20
37
  * Adds support for the unary 'not' operator in the Union Station filter language.
21
38
  * [Enterprise] Add missing flying-passenger integration mode to security update check.
22
39
  * Fixes support for Rails 5.0.1 Action Cable. Specifically, we now support the `options` argument in the `write_nonblock` method in hijacked Rack IO sockets.
@@ -41,7 +58,7 @@ Release 5.1.0
41
58
  * Fixes an issue where passenger-config couldn't restart an app if the TMPDIR variable was set to /tmp
42
59
  * `passenger-install-apache-module` now suggests the correct apache package on Ubuntu Xenial. Closes GH-1884.
43
60
  * [Standalone] The TempDirToucher will now spend most of its time with reduced privileges, except when it's actively touching files. This allows it to be killed when Passenger is quit in most circumstances. Closes GH-1678.
44
- * Fixes a file overwrite vulnerability caused by a predictable temporary file being written by `passenger-install-nginx-module`. Thanks to Jeremy Evans for reporting this.
61
+ * Fixes a file overwrite vulnerability (CVE-2016-10345) caused by a predictable temporary file being written by `passenger-install-nginx-module`. Thanks to Jeremy Evans for reporting this.
45
62
  * [Standalone] Fixes starting Passenger as a non-extant user. Closes GH-1849.
46
63
  * Improved look of the error pages for failing to spawn an application (development & production mode), and Error ID is now also shown in production mode.
47
64
  * [Standalone] Enable ipv6 support by default in builtin nginx. Closes GH-1873.
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2010-2015 Phusion Holding B.V.
1
+ Copyright (c) 2010-2017 Phusion Holding B.V.
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # Phusion Passenger - https://www.phusionpassenger.com/
3
- # Copyright (c) 2010-2015 Phusion Holding B.V.
3
+ # Copyright (c) 2010-2017 Phusion Holding B.V.
4
4
  #
5
5
  # "Passenger", "Phusion Passenger" and "Union Station" are registered
6
6
  # trademarks of Phusion Holding B.V.
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # Phusion Passenger - https://www.phusionpassenger.com/
3
- # Copyright (c) 2010-2015 Phusion Holding B.V.
3
+ # Copyright (c) 2010-2017 Phusion Holding B.V.
4
4
  #
5
5
  # "Passenger", "Phusion Passenger" and "Union Station" are registered
6
6
  # trademarks of Phusion Holding B.V.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  # encoding: binary
3
3
  # Phusion Passenger - https://www.phusionpassenger.com/
4
- # Copyright (c) 2010-2015 Phusion Holding B.V.
4
+ # Copyright (c) 2010-2017 Phusion Holding B.V.
5
5
  #
6
6
  # "Passenger", "Phusion Passenger" and "Union Station" are registered
7
7
  # trademarks of Phusion Holding B.V.
@@ -49,6 +49,7 @@ PhusionPassenger.require_passenger_lib 'constants'
49
49
  PhusionPassenger.require_passenger_lib 'platform_info/ruby'
50
50
  PhusionPassenger.require_passenger_lib 'platform_info/operating_system'
51
51
  PhusionPassenger.require_passenger_lib 'platform_info/linux'
52
+ PhusionPassenger.require_passenger_lib 'platform_info/macos'
52
53
  PhusionPassenger.require_passenger_lib 'platform_info/apache'
53
54
  PhusionPassenger.require_passenger_lib 'platform_info/apache_detector'
54
55
  PhusionPassenger.require_passenger_lib 'abstract_installer'
@@ -76,6 +77,7 @@ class Installer < PhusionPassenger::AbstractInstaller
76
77
  'cc',
77
78
  'c++',
78
79
  'libcurl-dev',
80
+ 'openssl-dev',
79
81
  'zlib-dev',
80
82
  'apache2',
81
83
  'apache2-dev',
@@ -95,14 +97,21 @@ class Installer < PhusionPassenger::AbstractInstaller
95
97
  # apr-config and apu-config are available. If they're not available,
96
98
  # then we only register them as required dependency if no Apache
97
99
  # module can be compiled without their presence.
98
- if (PlatformInfo.apr_config && PlatformInfo.apu_config) ||
99
- PlatformInfo.apr_config_needed_for_building_apache_modules?
100
+ if needs_apr_and_apu
100
101
  ids << 'apr-dev'
101
102
  ids << 'apu-dev'
102
103
  end
103
104
  return [specs, ids]
104
105
  end
105
106
 
107
+ def needs_apr_and_apu
108
+ ((PlatformInfo.apr_config && PlatformInfo.apu_config) ||
109
+ PlatformInfo.apr_config_needed_for_building_apache_modules?) &&
110
+ (PlatformInfo.apxs2 == '/usr/sbin/apxs' &&
111
+ (PlatformInfo.os_name_simple != "macosx" ||
112
+ PlatformInfo.macos_version < 12))
113
+ end
114
+
106
115
  def install_doc_url
107
116
  "https://www.phusionpassenger.com/library/install/apache/"
108
117
  end
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # Phusion Passenger - https://www.phusionpassenger.com/
3
- # Copyright (c) 2010-2015 Phusion Holding B.V.
3
+ # Copyright (c) 2010-2017 Phusion Holding B.V.
4
4
  #
5
5
  # "Passenger", "Phusion Passenger" and "Union Station" are registered
6
6
  # trademarks of Phusion Holding B.V.
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # Phusion Passenger - https://www.phusionpassenger.com/
3
- # Copyright (c) 2010-2015 Phusion Holding B.V.
3
+ # Copyright (c) 2010-2017 Phusion Holding B.V.
4
4
  #
5
5
  # "Passenger", "Phusion Passenger" and "Union Station" are registered
6
6
  # trademarks of Phusion Holding B.V.
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # Phusion Passenger - https://www.phusionpassenger.com/
3
- # Copyright (c) 2010-2015 Phusion Holding B.V.
3
+ # Copyright (c) 2010-2017 Phusion Holding B.V.
4
4
  #
5
5
  # "Passenger", "Phusion Passenger" and "Union Station" are registered
6
6
  # trademarks of Phusion Holding B.V.
@@ -1,5 +1,5 @@
1
1
  # Phusion Passenger - https://www.phusionpassenger.com/
2
- # Copyright (c) 2010-2016 Phusion Holding B.V.
2
+ # Copyright (c) 2010-2017 Phusion Holding B.V.
3
3
  #
4
4
  # "Passenger", "Phusion Passenger" and "Union Station" are registered
5
5
  # trademarks of Phusion Holding B.V.
@@ -1,5 +1,5 @@
1
1
  # Phusion Passenger - https://www.phusionpassenger.com/
2
- # Copyright (c) 2010-2016 Phusion Holding B.V.
2
+ # Copyright (c) 2010-2017 Phusion Holding B.V.
3
3
  #
4
4
  # "Passenger", "Phusion Passenger" and "Union Station" are registered
5
5
  # trademarks of Phusion Holding B.V.
@@ -1,5 +1,5 @@
1
1
  # Phusion Passenger - https://www.phusionpassenger.com/
2
- # Copyright (c) 2010-2016 Phusion Holding B.V.
2
+ # Copyright (c) 2010-2017 Phusion Holding B.V.
3
3
  #
4
4
  # "Passenger", "Phusion Passenger" and "Union Station" are registered
5
5
  # trademarks of Phusion Holding B.V.
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  # Phusion Passenger - https://www.phusionpassenger.com/
3
- # Copyright (c) 2010-2016 Phusion Holding B.V.
3
+ # Copyright (c) 2010-2017 Phusion Holding B.V.
4
4
  #
5
5
  # "Passenger", "Phusion Passenger" and "Union Station" are registered
6
6
  # trademarks of Phusion Holding B.V.
@@ -1,5 +1,5 @@
1
1
  # Phusion Passenger - https://www.phusionpassenger.com/
2
- # Copyright (c) 2010-2016 Phusion Holding B.V.
2
+ # Copyright (c) 2010-2017 Phusion Holding B.V.
3
3
  #
4
4
  # "Passenger", "Phusion Passenger" and "Union Station" are registered
5
5
  # trademarks of Phusion Holding B.V.
@@ -1,5 +1,5 @@
1
1
  # Phusion Passenger - https://www.phusionpassenger.com/
2
- # Copyright (c) 2010, 2011, 2012 Phusion Holding B.V.
2
+ # Copyright (c) 2010-2017 Phusion Holding B.V.
3
3
  #
4
4
  # "Passenger", "Phusion Passenger" and "Union Station" are registered
5
5
  # trademarks of Phusion Holding B.V.
@@ -1,5 +1,5 @@
1
1
  # Phusion Passenger - https://www.phusionpassenger.com/
2
- # Copyright (c) 2010-2015 Phusion Holding B.V.
2
+ # Copyright (c) 2010-2017 Phusion Holding B.V.
3
3
  #
4
4
  # "Passenger", "Phusion Passenger" and "Union Station" are registered
5
5
  # trademarks of Phusion Holding B.V.
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  # Phusion Passenger - https://www.phusionpassenger.com/
3
- # Copyright (c) 2010-2016 Phusion Holding B.V.
3
+ # Copyright (c) 2010-2017 Phusion Holding B.V.
4
4
  #
5
5
  # "Passenger", "Phusion Passenger" and "Union Station" are registered
6
6
  # trademarks of Phusion Holding B.V.
@@ -1,5 +1,5 @@
1
1
  # Phusion Passenger - https://www.phusionpassenger.com/
2
- # Copyright (c) 2010-2016 Phusion Holding B.V.
2
+ # Copyright (c) 2010-2017 Phusion Holding B.V.
3
3
  #
4
4
  # "Passenger", "Phusion Passenger" and "Union Station" are registered
5
5
  # trademarks of Phusion Holding B.V.
@@ -1,5 +1,5 @@
1
1
  # Phusion Passenger - https://www.phusionpassenger.com/
2
- # Copyright (c) 2013 Phusion Holding B.V.
2
+ # Copyright (c) 2013-2017 Phusion Holding B.V.
3
3
  #
4
4
  # "Passenger", "Phusion Passenger" and "Union Station" are registered
5
5
  # trademarks of Phusion Holding B.V.
@@ -1,5 +1,5 @@
1
1
  # Phusion Passenger - https://www.phusionpassenger.com/
2
- # Copyright (c) 2010-2015 Phusion Holding B.V.
2
+ # Copyright (c) 2010-2017 Phusion Holding B.V.
3
3
  #
4
4
  # "Passenger", "Phusion Passenger" and "Union Station" are registered
5
5
  # trademarks of Phusion Holding B.V.
@@ -1,5 +1,5 @@
1
1
  # Phusion Passenger - https://www.phusionpassenger.com/
2
- # Copyright (c) 2010-2016 Phusion Holding B.V.
2
+ # Copyright (c) 2010-2017 Phusion Holding B.V.
3
3
  #
4
4
  # "Passenger", "Phusion Passenger" and "Union Station" are registered
5
5
  # trademarks of Phusion Holding B.V.
@@ -108,6 +108,9 @@ def homebrew_dir
108
108
  return "/tmp/homebrew"
109
109
  end
110
110
 
111
+ def homebrew_tap_dir
112
+ return "/tmp/homebrew_tap"
113
+ end
111
114
 
112
115
  task :clobber => 'package:clean'
113
116
 
@@ -355,12 +358,22 @@ task 'package:update_homebrew' do
355
358
  sh "cd #{homebrew_dir} && git commit -a -m 'passenger #{version}'"
356
359
  sh "cd #{homebrew_dir} && git push -f"
357
360
  if boolean_option('HOMEBREW_TEST', true)
358
- sh "cp /tmp/homebrew/Formula/passenger.rb /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/passenger.rb"
361
+ sh "cp #{homebrew_dir}/Formula/passenger.rb $(brew --prefix)/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/passenger.rb"
362
+ if `brew info nginx` !~ /^Not installed$/
363
+ sh "brew uninstall nginx"
364
+ end
365
+ if `brew info nginx-passenger-enterprise` !~ /^Not installed$/
366
+ sh "brew uninstall nginx-passenger-enterprise"
367
+ end
359
368
  if `brew info passenger` !~ /^Not installed$/
360
369
  sh "brew uninstall passenger"
361
370
  end
371
+ if `brew info passenger-enterprise` !~ /^Not installed$/
372
+ sh "brew uninstall passenger-enterprise"
373
+ end
362
374
  sh "cp #{PKG_DIR}/passenger-#{version}.tar.gz `brew --cache`/"
363
375
  sh "brew install passenger"
376
+ sh "brew install nginx --with-passenger"
364
377
  Rake::Task['test:integration:native_packaging'].invoke
365
378
  end
366
379
  end
@@ -1,5 +1,5 @@
1
1
  # Phusion Passenger - https://www.phusionpassenger.com/
2
- # Copyright (c) 2010-2015 Phusion Holding B.V.
2
+ # Copyright (c) 2010-2017 Phusion Holding B.V.
3
3
  #
4
4
  # "Passenger", "Phusion Passenger" and "Union Station" are registered
5
5
  # trademarks of Phusion Holding B.V.
@@ -1,5 +1,5 @@
1
1
  # Phusion Passenger - https://www.phusionpassenger.com/
2
- # Copyright (c) 2010-2014 Phusion Holding B.V.
2
+ # Copyright (c) 2010-2017 Phusion Holding B.V.
3
3
  #
4
4
  # "Passenger", "Phusion Passenger" and "Union Station" are registered
5
5
  # trademarks of Phusion Holding B.V.
@@ -1,5 +1,5 @@
1
1
  # Phusion Passenger - https://www.phusionpassenger.com/
2
- # Copyright (c) 2010-2014 Phusion Holding B.V.
2
+ # Copyright (c) 2010-2017 Phusion Holding B.V.
3
3
  #
4
4
  # "Passenger", "Phusion Passenger" and "Union Station" are registered
5
5
  # trademarks of Phusion Holding B.V.
@@ -29,6 +29,7 @@ def run_compiler(*command)
29
29
  show_command = command.join(' ')
30
30
  puts show_command
31
31
  if !system(*command)
32
+ colors = PhusionPassenger::Utils::AnsiColors.new
32
33
  if $? && $?.exitstatus == 4
33
34
  # This probably means the compiler ran out of memory.
34
35
  msg = "<b>" +
@@ -38,7 +39,7 @@ def run_compiler(*command)
38
39
  "this problem, try increasing your swap space: " +
39
40
  "https://www.digitalocean.com/community/articles/how-to-add-swap-on-ubuntu-12-04" +
40
41
  "</b>"
41
- fail(PhusionPassenger::Utils::AnsiColors.ansi_colorize(msg))
42
+ fail(colors.ansi_colorize(msg))
42
43
  elsif $? && $?.termsig == 9
43
44
  msg = "<b>" +
44
45
  "-----------------------------------------------\n" +
@@ -47,7 +48,7 @@ def run_compiler(*command)
47
48
  "this problem, try increasing your swap space: " +
48
49
  "https://www.digitalocean.com/community/articles/how-to-add-swap-on-ubuntu-12-04" +
49
50
  "</b>"
50
- fail(PhusionPassenger::Utils::AnsiColors.ansi_colorize(msg))
51
+ fail(colors.ansi_colorize(msg))
51
52
  else
52
53
  fail "Command failed with status (#{$? ? $?.exitstatus : 1}): [#{show_command}]"
53
54
  end
@@ -6135,7 +6135,8 @@ CXX_DEPENDENCY_MAP =
6135
6135
  "src/cxx_supportlib/oxt/thread.hpp",
6136
6136
  "src/cxx_supportlib/oxt/tracable_exception.hpp"],
6137
6137
  "src/cxx_supportlib/Crypto.h"=>
6138
- [],
6138
+ ["src/cxx_supportlib/StaticString.h",
6139
+ "src/cxx_supportlib/oxt/macros.hpp"],
6139
6140
  "src/cxx_supportlib/DataStructures/HashedStaticString.h"=>
6140
6141
  ["src/cxx_supportlib/StaticString.h",
6141
6142
  "src/cxx_supportlib/Utils/Hasher.h",
@@ -1,5 +1,5 @@
1
1
  # Phusion Passenger - https://www.phusionpassenger.com/
2
- # Copyright (c) 2010-2016 Phusion Holding B.V.
2
+ # Copyright (c) 2010-2017 Phusion Holding B.V.
3
3
  #
4
4
  # "Passenger", "Phusion Passenger" and "Union Station" are registered
5
5
  # trademarks of Phusion Holding B.V.
@@ -1,5 +1,5 @@
1
1
  # Phusion Passenger - https://www.phusionpassenger.com/
2
- # Copyright (c) 2010-2015 Phusion Holding B.V.
2
+ # Copyright (c) 2010-2017 Phusion Holding B.V.
3
3
  #
4
4
  # "Passenger", "Phusion Passenger" and "Union Station" are registered
5
5
  # trademarks of Phusion Holding B.V.
@@ -267,7 +267,8 @@ fi
267
267
  if [[ "$TEST_APACHE2" = 1 ]]; then
268
268
  if [[ "$TRAVIS_OS_NAME" == 'osx' ]]; then
269
269
  brew_update
270
- run brew install pcre openssl
270
+ run brew upgrade openssl || run brew install openssl
271
+ run brew upgrade pcre || run brew install pcre
271
272
  if [[ "`sw_vers -productVersion | sed 's/^10\.\(.*\)/\1>=12.0/' | bc -l`" == "1" ]] ; then
272
273
  run brew install apr apr-util
273
274
  run brew link apr apr-util --force
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # Phusion Passenger - https://www.phusionpassenger.com/
3
- # Copyright (c) 2010-2016 Phusion Holding B.V.
3
+ # Copyright (c) 2010-2017 Phusion Holding B.V.
4
4
  #
5
5
  # "Passenger", "Phusion Passenger" and "Union Station" are registered
6
6
  # trademarks of Phusion Holding B.V.
@@ -174,8 +174,8 @@ end
174
174
  def copy_dependencies(cflags)
175
175
  done = false
176
176
  while !done
177
- compiler_output = `c++ test.cpp -c -I. #{cflags} 2>&1`
178
- File.unlink('test.o')
177
+ compiler_output = `c++ test.cpp -c -I. -I.. #{cflags} 2>&1`
178
+ File.unlink('test.o') if File.exist?('test.o')
179
179
  missing_headers = compiler_output.
180
180
  split("\n").
181
181
  grep(/(error: .*: No such file|fatal error: '.*' file not found)/).
@@ -114,6 +114,9 @@ EXCLUDE_NAME_REGEXP = %r{
114
114
  |linux/
115
115
  |tr1/
116
116
  |curl/
117
+ |openssl/
118
+ |CoreFoundation/
119
+ |Security/
117
120
  |ruby
118
121
  |apr_
119
122
  |ap_
@@ -126,7 +129,7 @@ def extract_dependencies(source)
126
129
  result = []
127
130
  File.open(source, "r") do |f|
128
131
  f.each do |line|
129
- next if line !~ /^[\s\t]*#include (<.+?>|".+?")/
132
+ next if line !~ /^\s*#include (<.+?>|".+?")/
130
133
 
131
134
  raw_name = $1
132
135
  name = raw_name.gsub(/["<>]/, "")
@@ -192,7 +195,6 @@ end
192
195
  def generate_full_map(basic_map)
193
196
  result = {}
194
197
  basic_map.keys.sort.each do |source_file|
195
- deps = basic_map[source_file]
196
198
  gather_results = {}
197
199
  gather_all_dependencies_recursively(
198
200
  source_file, basic_map, gather_results)
@@ -1641,7 +1641,7 @@ Report security vulnerabilities to <a href="mailto:security@phusion.nl">security
1641
1641
  <div class="paragraph"><p>This documentation has moved. Please visit <a href="https://www.phusionpassenger.com/library/config/apache/reference/#passengerdefaultgroup">https://www.phusionpassenger.com/library/config/apache/reference/#passengerdefaultgroup</a></p></div>
1642
1642
  </div>
1643
1643
  <div class="sect3">
1644
- <a href="javascript:void(0)" class="comments empty" title="Add a comment"><span class="count"></span></a><span class="anchor_helper" id="_passengershowversioninheader_lt_on_off_gt"></span><h4 data-comment-topic="passengershowversioninheader-on-off--d8rvr0" data-anchor="_passengershowversioninheader_lt_on_off_gt">7.5.6. PassengerShowVersionInHeader &lt;on|off&gt;</h4>
1644
+ <a href="javascript:void(0)" class="comments empty" title="Add a comment"><span class="count"></span></a><span class="anchor_helper" id="_passengershowversioninheader_lt_on_off_gt"></span><h4 data-comment-topic="passengershowversioninheader-on-off--2iocj2" data-anchor="_passengershowversioninheader_lt_on_off_gt">7.5.6. PassengerShowVersionInHeader &lt;on|off&gt;</h4>
1645
1645
  <div class="paragraph"><p>This documentation has moved. Please visit <a href="https://www.phusionpassenger.com/library/config/apache/reference/#passengershowversioninheader">https://www.phusionpassenger.com/library/config/apache/reference/#passengershowversioninheader</a></p></div>
1646
1646
  </div>
1647
1647
  <div class="sect3">
@@ -79,7 +79,7 @@
79
79
  text. Thank you.
80
80
  -->
81
81
  <div class="column">
82
- This website is powered by <b>Passenger</b>&reg;, a rock-solid, feature-rich web application server that integrates with Apache and Nginx.
82
+ This website is powered by <b>Passenger</b>&reg;, a rock-solid, feature-rich web application server that integrates with Apache and Nginx built by <b>Phusion</b>&reg;.
83
83
  </div>
84
84
  </footer>
85
85
  </body>
@@ -44,7 +44,7 @@
44
44
  text. Thank you.
45
45
  -->
46
46
  <div class="column">
47
- This website is powered by <b>Passenger</b>&reg;, a rock-solid, feature-rich web application server that integrates with Apache and Nginx.
47
+ This website is powered by <b>Passenger</b>&reg;, a rock-solid, feature-rich web application server that integrates with Apache and Nginx built by <b>Phusion</b>&reg;.
48
48
  </div>
49
49
  </footer>
50
50
  <script>
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * Phusion Passenger - https://www.phusionpassenger.com/
3
- * Copyright (c) 2014-2015 Phusion Holding B.V.
3
+ * Copyright (c) 2014-2017 Phusion Holding B.V.
4
4
  *
5
5
  * "Passenger", "Phusion Passenger" and "Union Station" are registered
6
6
  * trademarks of Phusion Holding B.V.