From e2923aa2d6b626256564fd6a5a9a7a5e32093f74 Mon Sep 17 00:00:00 2001 From: "Sergey A. Osokin" Date: Sun, 10 Aug 2014 15:21:35 +0000 Subject: [PATCH] Update from 4.0.45 to 4.0.48: o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. Add CPE information. Release 4.0.48 -------------- * Fixed a race condition while determining what user an application should be executed as. This bug could lead to applications being run as the wrong user. Closes GH-1241. * [Standalone] Improved autodetection of Rails asset pipeline files. This prevents Standalone from incorrectly setting caching headers on non-asset pipeline files. Closes GH-1225. * Fixed compilation problems on CentOS 5. Thanks to J. Smith. Closes GH-1247. * Fixed compilation problems on OpenBSD. * Fixed compatibility with Ruby 1.8.5. Release 4.0.47 -------------- * [Enterprise] Fixed a bug in Flying Passenger's `--max-preloader-idle-time` option. Release 4.0.46 -------------- * Further improved Node.js and Socket.io compatibility. * Sticky session cookies have been made more reliable. * Fixed WebSocket upgrade issues on Firefox. Closes GH-1232. * The Python application loader now inserts the application root into `sys.path`. The fact that this was not done previously caused a lot of confusion amongst Python users, who wondered why their `passenger_wsgi.py` could not import any modules from the same directory. * Fixed a compatibility problem with Django, which could cause Django apps to freeze indefinitely. Closes GH-1215. * Logging of application spawning errors has been much improved. Full details about the error, such as environment variables, are saved to a private log file. In the past, these details were only viewable in the browser. This change also fixes a bug on Phusion Passenger Enterprise, where enabling Deployment Error Resistance causes error messages to get lost. Closes GH-1021 and GH-1175. * Fixed a regression in Node.js support. When a Node.js app is deployed on a HTTPS host, the `X-Forwarded-Proto` header wasn't set in 4.0.45. Closes GH-1231. * Passenger Standalone no longer, by default, loads shell startup files before loading the application. This is because Passenger Standalone is often invoked from the shell anyway. Indeed, loading shell startup files again can interfere with any environment variables already set in the invoking shell. You can still tell Passenger Standalone to load shell startup files by passing `--load-shell-envvars`. Passenger for Apache and Passenger for Nginx still load shell startup files by default. * Passenger Standalone now works properly when the HOME environment variable isn't set. Closes GH-713. * Passenger Standalone's `package-runtime` command has been removed. It has been broken for a while and has nowadays been obsolete by our automatic [binary generation system](https://github.com/phusion/passenger_autobuilder). Closes GH-1133. * The `passenger_startup_file` option now also works on Python apps. Closes GH-1233. * If you are a [Union Station](https://www.unionstationapp.com) customer, then Phusion Passenger will now also log application spawning errors to Union Station. This data isn't shown in the Union Station interface yet, but it will be implemented in the future. * Fixed compilation problems on OmniOS and OpenIndiana. Closes GH-1212. * Fixed compilation problems when Nginx is configured with OpenResty. Thanks to Yichun Zhang. Closes GH-1226. * Fixed Nginx HTTP POST failures on ARM platforms. Thanks to nocelic for the fix. Closes GH-1151. * Documentation contributions by Tim Bishop and Tugdual de Kerviler. * Minor Nginx bug fix by Feng Gu. Closes GH-1235. --- www/nginx-devel/Makefile | 2 +- www/nginx-devel/distinfo | 4 ++-- www/nginx-devel/files/extra-patch-passenger-build-nginx.rb | 4 ++-- www/nginx/Makefile | 2 +- www/nginx/distinfo | 4 ++-- www/nginx/files/extra-patch-passenger-build-nginx.rb | 4 ++-- www/rubygem-passenger/Makefile | 7 ++++++- www/rubygem-passenger/distinfo | 4 ++-- 8 files changed, 18 insertions(+), 13 deletions(-) diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile index 7b5e901cb215..88b4ee46d57c 100644 --- a/www/nginx-devel/Makefile +++ b/www/nginx-devel/Makefile @@ -640,7 +640,7 @@ CONFIGURE_ARGS+=--without-http_rewrite_module \ .endif .if ${PORT_OPTIONS:MPASSENGER} -PASSENGER_VERSION= 4.0.45 +PASSENGER_VERSION= 4.0.48 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 diff --git a/www/nginx-devel/distinfo b/www/nginx-devel/distinfo index e73654cf9857..f38b81330797 100644 --- a/www/nginx-devel/distinfo +++ b/www/nginx-devel/distinfo @@ -72,8 +72,8 @@ SHA256 (modsecurity-apache_2.7.5.tar.gz) = 9e907536278d8da80d3dbb29aeffe9c4ec37c SIZE (modsecurity-apache_2.7.5.tar.gz) = 1045387 SHA256 (naxsi-core-0.50.tgz) = 7cece5f9d9c5df9e09af1e1023bc8e04bbbbe953e67461b893b8240e82ca52ef SIZE (naxsi-core-0.50.tgz) = 49809 -SHA256 (passenger-4.0.45.tar.gz) = 5363611ebe5086b1ba699057ead3af1c06d0a70f368d1a41bdc399a45f934579 -SIZE (passenger-4.0.45.tar.gz) = 4363360 +SHA256 (passenger-4.0.48.tar.gz) = 0fe6a42c82eee59511b04aa683f65fb4eaf1acc6310de3fbbe905fa507347e24 +SIZE (passenger-4.0.48.tar.gz) = 4392898 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 diff --git a/www/nginx-devel/files/extra-patch-passenger-build-nginx.rb b/www/nginx-devel/files/extra-patch-passenger-build-nginx.rb index 05eecfd9072d..5a686ca8475a 100644 --- a/www/nginx-devel/files/extra-patch-passenger-build-nginx.rb +++ b/www/nginx-devel/files/extra-patch-passenger-build-nginx.rb @@ -1,5 +1,5 @@ ---- ../passenger-4.0.45/build/nginx.rb.orig 2013-10-27 02:00:00.000000000 +0400 -+++ ../passenger-4.0.45/build/nginx.rb 2014-06-02 05:55:12.000000000 +0400 +--- ../passenger-4.0.48/build/nginx.rb.orig 2013-10-27 02:00:00.000000000 +0400 ++++ ../passenger-4.0.48/build/nginx.rb 2014-06-02 05:55:12.000000000 +0400 @@ -32,6 +32,7 @@ desc "Build Nginx support files" task :nginx => [ diff --git a/www/nginx/Makefile b/www/nginx/Makefile index 42cb026046b5..7b1b0f56f0fd 100644 --- a/www/nginx/Makefile +++ b/www/nginx/Makefile @@ -652,7 +652,7 @@ CONFIGURE_ARGS+=--without-http_rewrite_module \ .endif .if ${PORT_OPTIONS:MPASSENGER} -PASSENGER_VERSION= 4.0.45 +PASSENGER_VERSION= 4.0.48 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 diff --git a/www/nginx/distinfo b/www/nginx/distinfo index 01a4e058bfd7..a6724f75bc40 100644 --- a/www/nginx/distinfo +++ b/www/nginx/distinfo @@ -74,8 +74,8 @@ SHA256 (modsecurity-apache_2.7.5.tar.gz) = 9e907536278d8da80d3dbb29aeffe9c4ec37c SIZE (modsecurity-apache_2.7.5.tar.gz) = 1045387 SHA256 (naxsi-core-0.50.tgz) = 7cece5f9d9c5df9e09af1e1023bc8e04bbbbe953e67461b893b8240e82ca52ef SIZE (naxsi-core-0.50.tgz) = 49809 -SHA256 (passenger-4.0.45.tar.gz) = 5363611ebe5086b1ba699057ead3af1c06d0a70f368d1a41bdc399a45f934579 -SIZE (passenger-4.0.45.tar.gz) = 4363360 +SHA256 (passenger-4.0.48.tar.gz) = 0fe6a42c82eee59511b04aa683f65fb4eaf1acc6310de3fbbe905fa507347e24 +SIZE (passenger-4.0.48.tar.gz) = 4392898 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 diff --git a/www/nginx/files/extra-patch-passenger-build-nginx.rb b/www/nginx/files/extra-patch-passenger-build-nginx.rb index 05eecfd9072d..5a686ca8475a 100644 --- a/www/nginx/files/extra-patch-passenger-build-nginx.rb +++ b/www/nginx/files/extra-patch-passenger-build-nginx.rb @@ -1,5 +1,5 @@ ---- ../passenger-4.0.45/build/nginx.rb.orig 2013-10-27 02:00:00.000000000 +0400 -+++ ../passenger-4.0.45/build/nginx.rb 2014-06-02 05:55:12.000000000 +0400 +--- ../passenger-4.0.48/build/nginx.rb.orig 2013-10-27 02:00:00.000000000 +0400 ++++ ../passenger-4.0.48/build/nginx.rb 2014-06-02 05:55:12.000000000 +0400 @@ -32,6 +32,7 @@ desc "Build Nginx support files" task :nginx => [ diff --git a/www/rubygem-passenger/Makefile b/www/rubygem-passenger/Makefile index 5f63ae28c7b3..0561b68e5e13 100644 --- a/www/rubygem-passenger/Makefile +++ b/www/rubygem-passenger/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= passenger -PORTVERSION= 4.0.45 +PORTVERSION= 4.0.48 CATEGORIES= www rubygems MASTER_SITES= RG PKGNAMEPREFIX= rubygem- @@ -10,6 +10,11 @@ PKGNAMEPREFIX= rubygem- MAINTAINER= osa@FreeBSD.org COMMENT= Modules for running Ruby on Rails and Rack applications +USES+= cpe + +CPE_VENDOR= phusion +CPE_PRODUCT= passenger + OPTIONS_DEFINE= DEBUG SYMLINK OPTIONS_SINGLE= SERVER OPTIONS_SINGLE_SERVER= APACHE22 NGINX diff --git a/www/rubygem-passenger/distinfo b/www/rubygem-passenger/distinfo index 475a8cd4088b..7287995f5020 100644 --- a/www/rubygem-passenger/distinfo +++ b/www/rubygem-passenger/distinfo @@ -1,2 +1,2 @@ -SHA256 (rubygem/passenger-4.0.45.gem) = 54b81460d1df74dc481044564908a04bbc648cdfdc014303e61051547b227fb3 -SIZE (rubygem/passenger-4.0.45.gem) = 4378112 +SHA256 (rubygem/passenger-4.0.48.gem) = 1a552905655051aa62be6ce482ba49e7efed68150d0f338c58dd55b972b33ae8 +SIZE (rubygem/passenger-4.0.48.gem) = 4405760