Upgrade from 5.0.4 to 5.0.6:
o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. The passenger now uses its own libev fork, so remove devel/libev dependency. <ChangeLog> Release 5.0.6 ------------- * The turbocache no longer caches responses for which the Cache-Control header contains "no-cache". Please note that "no-cache" does not mean "do not cache this response". Instead, it means "any caching servers may only serve the cached response after validating it". Since the turbocache does not support validation, we've chosen to skip caching instead. Coincidentally, this change "fixes" problems with applications that erroneously use "no-cache" as a flag for "do not cache this response". What these applications should actually use is "no-store". We recommend the developers of such applications to change their caching headers in this manner, because even if Passenger doesn't unintentionally cache the response, any intermediate proxies that visitors are behind may still cache the response. * Fixes a number of memory leaks. Memory was leaked upon processing a request with multiple headers, upon processing a response with multiple headers, and upon processing a response with Set-Cookie headers. Every time such a request or response was processed, 512 bytes of memory was leaked due to improperly dereferencing relevant memory buffers. Closes GH-1455. * Fixes various bugs related to Union Station data collection. Union Station is our upcoming application analytics and performance monitoring SaaS platform. It is opt-in: no data is collected unless you turn the feature on. * Fixes a Union Station-related file descriptor leak. Closes GH-1439. * Fixes some bugs w.r.t. use of uninitialized memory. * More informative error message if a support binary is not found, including a resolution hint. Closes GH-1395. * [Apache] `SetEnv` variables are now passed as Rack/CGI/request variables. This was also the case in Passenger 4, but not in Passenger 5.0.0-5.0.5. We've restored the old behavior because the behavior in 5.0.0-5.0.5 breaks certain Apache modules such as Shibboleth. Closes GH-1446. * [Standalone] PID and log files now correctly created if user specifies relative path. Release 5.0.5 ------------- * Fixes various crashes due to use of uninitialized memory. One such crash is documented in GH-1431. * Fixes a connection stall in the Apache module. Closes GH-1425. * Fixes a potential read-past-buffer bug in string-to-integer conversion routines. Thanks to dcb314 for spotting this. Closes GH-1441. * Fixes a compilation problem on Solaris. This problem was caused by the fact that `tm_gmtoff` is not supported on that platform. Closes GH-1435. * There is now an API endpoint for force disconnecting a client: `passenger-config admin-command DELETE /server/<client name>.json`. Closes GH-1246. * Fixes some file descriptor leaks. These leaks were caused by the fact that keep-alive connections with application processes were not being closed properly. Closes GH-1439. * In order to more easily debug future file descriptor leaks, we've introduced the `PassengerFileDescriptorLogFile` (Apache) and `passenger_file_descriptor_log_file` (Nginx) config options. This allows Passenger to log all file descriptor open/close activity to a specific log file. * The `PassengerDebugLogFile` (Apache) and `passenger_debug_log_file` (Nginx) configuration options have been renamed to `PassengerLogFile` and `passenger_log_file`, respectively. The old name is support supported for backward compatibility reasons. * [Enterprise] Fixes a bug in Flying Passenger's `--instance-registry-dir` command line parameter. This command line parameter didn't do anything. * [Enterprise] The Flying Passenger daemon no longer supports the `--max-preloader-idle-time` config option. This is because the config option never worked. The correct way to set the max preloader idle time is through the Nginx config option, but this was wrongly documented, so the documentation has been fixed. </ChangeLog>
This commit is contained in:
parent
6ffd63e003
commit
96d2ab6020
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=383248
@ -642,7 +642,7 @@ CONFIGURE_ARGS+=--without-http_rewrite_module \
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MPASSENGER}
|
||||
PASSENGER_VERSION= 5.0.4
|
||||
PASSENGER_VERSION= 5.0.6
|
||||
MASTER_SITES+= http://s3.amazonaws.com/phusion-passenger/releases/:passenger
|
||||
DISTFILES+= passenger-${PASSENGER_VERSION}.tar.gz:passenger
|
||||
CONFIGURE_ARGS+=--add-module=${WRKDIR}/passenger-${PASSENGER_VERSION}/ext/nginx
|
||||
|
@ -72,8 +72,8 @@ SHA256 (modsecurity-2.9.0.tar.gz) = e2bbf789966c1f80094d88d9085a81bde082b2054f8e
|
||||
SIZE (modsecurity-2.9.0.tar.gz) = 4246467
|
||||
SHA256 (naxsi-core-0.50.tgz) = 7cece5f9d9c5df9e09af1e1023bc8e04bbbbe953e67461b893b8240e82ca52ef
|
||||
SIZE (naxsi-core-0.50.tgz) = 49809
|
||||
SHA256 (passenger-5.0.4.tar.gz) = 5c29f2c1407db515ddccd540443cb34bff7ca180b3e269c2e28a34ad795f99f6
|
||||
SIZE (passenger-5.0.4.tar.gz) = 5289792
|
||||
SHA256 (passenger-5.0.6.tar.gz) = c82e9fbd7dcdac592b791a6f6de4cf2decd038f76509704c600c113e4f8b2fca
|
||||
SIZE (passenger-5.0.6.tar.gz) = 4949137
|
||||
SHA256 (ngx_postgres-0.9.tar.gz) = aac0141e73b5c440927b7e040072f120b36e49deb2ff36ad00ff96a80622fbec
|
||||
SIZE (ngx_postgres-0.9.tar.gz) = 41022
|
||||
SHA256 (openresty-rds-csv-nginx-module-v0.05-0-g607e26b.tar.gz) = d5f14e45c6dc0d039ad52ae889775b5af1ff80a1c8edb69361c1581aca5d0b8f
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- ../passenger-5.0.4/build/nginx.rb.orig 2013-10-27 02:00:00.000000000 +0400
|
||||
+++ ../passenger-5.0.4/build/nginx.rb 2015-03-07 06:07:38.000000000 +0300
|
||||
--- ../passenger-5.0.6/build/nginx.rb.orig 2013-10-27 02:00:00.000000000 +0400
|
||||
+++ ../passenger-5.0.6/build/nginx.rb 2015-03-07 06:07:38.000000000 +0300
|
||||
@@ -32,6 +32,7 @@
|
||||
desc "Build Nginx support files"
|
||||
task :nginx => [
|
||||
|
@ -655,7 +655,7 @@ CONFIGURE_ARGS+=--without-http_rewrite_module \
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MPASSENGER}
|
||||
PASSENGER_VERSION= 5.0.4
|
||||
PASSENGER_VERSION= 5.0.6
|
||||
MASTER_SITES+= http://s3.amazonaws.com/phusion-passenger/releases/:passenger
|
||||
DISTFILES+= passenger-${PASSENGER_VERSION}.tar.gz:passenger
|
||||
CONFIGURE_ARGS+=--add-module=${WRKDIR}/passenger-${PASSENGER_VERSION}/ext/nginx
|
||||
|
@ -74,8 +74,8 @@ SHA256 (modsecurity-2.9.0.tar.gz) = e2bbf789966c1f80094d88d9085a81bde082b2054f8e
|
||||
SIZE (modsecurity-2.9.0.tar.gz) = 4246467
|
||||
SHA256 (naxsi-core-0.50.tgz) = 7cece5f9d9c5df9e09af1e1023bc8e04bbbbe953e67461b893b8240e82ca52ef
|
||||
SIZE (naxsi-core-0.50.tgz) = 49809
|
||||
SHA256 (passenger-5.0.4.tar.gz) = 5c29f2c1407db515ddccd540443cb34bff7ca180b3e269c2e28a34ad795f99f6
|
||||
SIZE (passenger-5.0.4.tar.gz) = 5289792
|
||||
SHA256 (passenger-5.0.6.tar.gz) = c82e9fbd7dcdac592b791a6f6de4cf2decd038f76509704c600c113e4f8b2fca
|
||||
SIZE (passenger-5.0.6.tar.gz) = 4949137
|
||||
SHA256 (ngx_postgres-0.9.tar.gz) = aac0141e73b5c440927b7e040072f120b36e49deb2ff36ad00ff96a80622fbec
|
||||
SIZE (ngx_postgres-0.9.tar.gz) = 41022
|
||||
SHA256 (openresty-rds-csv-nginx-module-v0.05-0-g607e26b.tar.gz) = d5f14e45c6dc0d039ad52ae889775b5af1ff80a1c8edb69361c1581aca5d0b8f
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- ../passenger-5.0.4/build/nginx.rb.orig 2013-10-27 02:00:00.000000000 +0400
|
||||
+++ ../passenger-5.0.4/build/nginx.rb 2015-03-07 06:07:38.000000000 +0300
|
||||
--- ../passenger-5.0.6/build/nginx.rb.orig 2013-10-27 02:00:00.000000000 +0400
|
||||
+++ ../passenger-5.0.6/build/nginx.rb 2015-03-07 06:07:38.000000000 +0300
|
||||
@@ -32,6 +32,7 @@
|
||||
desc "Build Nginx support files"
|
||||
task :nginx => [
|
||||
|
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= passenger
|
||||
PORTVERSION= 5.0.4
|
||||
PORTVERSION= 5.0.6
|
||||
CATEGORIES= www rubygems
|
||||
MASTER_SITES= RG
|
||||
PKGNAMEPREFIX= rubygem-
|
||||
@ -44,7 +44,6 @@ BUILD_DEPENDS+= nginx:${PORTSDIR}/www/nginx-devel
|
||||
.endif
|
||||
|
||||
LIB_DEPENDS+= libeio.so:${PORTSDIR}/devel/libeio \
|
||||
libev.so:${PORTSDIR}/devel/libev \
|
||||
libcurl.so:${PORTSDIR}/ftp/curl
|
||||
BUILD_DEPENDS+= rubygem-fastthread>=1.0.1:${PORTSDIR}/devel/rubygem-fastthread \
|
||||
rubygem-rack>=0:${PORTSDIR}/www/rubygem-rack \
|
||||
@ -83,7 +82,7 @@ pre-patch:
|
||||
s!#{PlatformInfo.debugging_cflags}!${CFLAGS}!g; \
|
||||
s!-O2!!g; \
|
||||
s! -feliminate-unused-debug-symbols -feliminate-unused-debug-types!!g; \
|
||||
210,212s!true!false!' \
|
||||
212s!true!false!' \
|
||||
${WRKSRC}/build/basics.rb
|
||||
.if ${PORT_OPTIONS:NDEBUG}
|
||||
@${REINPLACE_CMD} \
|
||||
@ -91,13 +90,7 @@ pre-patch:
|
||||
${WRKSRC}/build/basics.rb
|
||||
.endif
|
||||
@${REINPLACE_CMD} \
|
||||
's!#{LIBEV_LIBS}!-L${LOCALBASE}/lib -lev!g' \
|
||||
${WRKSRC}/build/agents.rb
|
||||
@${REINPLACE_CMD} \
|
||||
's!-Iext/libev!!; \
|
||||
s!/usr/include/libev!${LOCALBASE}/include!; \
|
||||
s!-lev!-L${LOCALBASE}/lib -lev!; \
|
||||
s!-Iext/libeio!!; \
|
||||
's!-Iext/libeio!!; \
|
||||
s!/usr/include/libeio!${LOCALBASE}/include!; \
|
||||
s!-leio!-L${LOCALBASE}/lib -leio!' \
|
||||
${WRKSRC}/build/common_library.rb
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (rubygem/passenger-5.0.4.gem) = f6609b0fd1ffe1476322b42363d957a4139b09758316b182477b30a9401fb575
|
||||
SIZE (rubygem/passenger-5.0.4.gem) = 5299712
|
||||
SHA256 (rubygem/passenger-5.0.6.gem) = 8d8265276f3b03b430c36f378a8e967ea7efc28b1892de55c2f16e00925faf5d
|
||||
SIZE (rubygem/passenger-5.0.6.gem) = 4958720
|
||||
|
Loading…
Reference in New Issue
Block a user