Commit graph

466 commits

Author SHA1 Message Date
Sergey A. Osokin
ff20808b9d Update from 1.4.4 to bugfix release 1.4.5.
<ChangeLog>

*) Bugfix: the $ssl_session_id variable contained full session
   serialized instead of just a session id.
   Thanks to Ivan Ristić.

*) Bugfix: client connections might be immediately closed if deferred
   accept was used; the bug had appeared in 1.3.15.

*) Bugfix: alerts "zero size buf in output" might appear in logs while
   proxying; the bug had appeared in 1.3.9.

*) Bugfix: a segmentation fault might occur in a worker process if the
   ngx_http_spdy_module was used.

*) Bugfix: proxied WebSocket connections might hang right after
   handshake if the select, poll, or /dev/poll methods were used.

*) Bugfix: a timeout might occur while reading client request body in an
   SSL connection using chunked transfer encoding.

*) Bugfix: memory leak in nginx/Windows.

</ChangeLog>
2014-02-16 16:54:01 +00:00
Bernhard Froehlich
8d456f3c58 - By popular request enable HTTP_SSL option per default
With hat:	portmgr
Discussed with:	osa@ (maintainer)
2014-01-30 10:01:51 +00:00
Baptiste Daroussin
e04b632220 Fix properties on pkg-plist 2014-01-21 23:40:21 +00:00
Sergey A. Osokin
e244dfffcc Update from 4.0.33 to 4.0.35:
o) www/rubygem-passenger;
o) third-party modules for www/nginx and www/nginx-devel.
2014-01-17 01:27:34 +00:00
Vanilla I. Shu
c620e50348 Upgrade 3rd party modules to latest version.
echo          0.50 => 0.51
headers_more  0.24 => 0.25
drizzle       0.1.6 => 0.1.7
rtmp          1.0.8 => 1.1.2
set_misc      0.23 => 0.24
srcache       0.24 => 0.25

Approved by:	osa@
2014-01-16 01:49:34 +00:00
Sergey A. Osokin
6461725e81 Upgrade third-party lua module from 0.9.3 to 0.9.4. 2014-01-14 10:45:24 +00:00
Sergey A. Osokin
2461524372 Update from 4.0.30 to 4.0.33:
o) www/rubygem-passenger;
o) third-party modules for www/nginx and www/nginx-devel.

<ChangeLog>

Release 4.0.33
--------------

* Fixed a compatibility problem in passenger-install-apache2-module with Ruby 1.8.
  The language selection menu didn't work properly.

Release 4.0.32
--------------

* Fixed compatibility problems with old Ruby versions that didn't include RubyGems.

Release 4.0.31
--------------

* Introduced a new tool: `passenger-config restart-app`. With this command you
  can initiate an application restart without touching restart.txt.
  Unlike touching restart.txt, this tool initiates the restart immediately
  instead of on the next request.
* Fixed some problems in process spawning and request handling.
* Fixed some problems with the handling of HTTP chunked transfer encoding
  bodies. These problems only occurred in Ruby.
* Fixed the HelperAgent, upon shutdown, not correctly waiting 5 seconds until
  all clients have disconnected. Fixes issue #884.
* Fixed compilation problems on FreeBSD.
* Fixed some C++ strict aliasing problems.
* Fixed some problems with spawning applications that print messages without
  newline during startup. Fixes issue #1039.
* Fixed potential hangs on JRuby when Ctrl-C is used to shutdown the server.
  Fixes issue #1035.
* When Phusion Passenger is installed through the Debian package,
  passenger-install-apache2-module now checks whether the Apache
  module package (libapache2-mod-passenger) is properly installed,
  and installs it using apt-get if it's not installed. Fixes
  issue #1031.
* The `passenger-status --show=xml` command no longer prints the non-XML
  preamble, such as the version number and the time. Fixes issue #1037.
* The Ruby native extension check whether it's loaded against the right Ruby
  version, to prevent problems when people upgrade Ruby without recompiling
  their native extensions.
* Various other minor Debian packaging improvements.

</ChangeLog>
2014-01-04 05:01:53 +00:00
Baptiste Daroussin
313cb94889 Part 2 at removing now useless FETCH_ARGS redifition 2014-01-03 01:12:59 +00:00
Sergey A. Osokin
3efcc3f472 Add distinfo for third-party footer module back, introduced in r338325. 2013-12-31 15:26:55 +00:00
Sergey A. Osokin
eac7627180 Update from 4.0.29 to 4.0.30:
o) www/rubygem-passenger;
o) third-party modules for www/nginx and www/nginx-devel.

<ChangeLog>

* Fixed wrong autogeneration of HTTP Date header. If the web app does
  not supply a Date header, then Passenger will add one. Unfortunately
  due to the use of the wrong format string, December 30 2013 is
  formatted as December 30 2014. As a result, cookies that expire before
  2014 would expire on December 30 2013 and December 31 2013. Details can
  be found at [Github pull request 93](https://github.com/phusion/passenger/pull/93).

  This issue only affects Phusion Passenger for Nginx and Phusion Passenger
  Standalone, and does not affect Phusion Passenger for Apache.

  You can work around this problem in your application by setting a
  Date header. For example, in Rails you can do:

      before_filter { response.date = Time.now.utc }

  Many thanks to Jeff Michael Dean (zilkey) and many others for bringing this
  to our attention and for providing workarounds and feedback.

</ChangeLog>
2013-12-31 15:24:36 +00:00
Vanilla I. Shu
24c79d4e5e 1: Upgrade 3rd party modules to latest version.
echo          0.49 => 0.50
headers_more  0.22 => 0.24
drizzle       0.1.5 => 0.1.6
ndk           0.2.18 => 0.2.19
memc          0.13rc3 => 0.14
rds_csv       0.5rc2 => 0.5
rds_json      0.12rc10 => 0.13
rtmp          1.0.6 => 1.0.8
set_misc      0.22rc8 => 0.23
sflow         0.9.6 => 0.9.7
srcache       0.22 => 0.24
xss           0.3rc9 => 0.4
arrayvar      0.03rc1 => 0.03

2: add http_footer module.

Approved by:	osa@ (maintainer)
2013-12-22 08:58:22 +00:00
Sergey A. Osokin
a42cefa042 Update third-party lua module from 0.9.2 to 0.9.3. 2013-12-19 17:46:59 +00:00
Sergey A. Osokin
a0324ba1ec Be more correct with openssl on modern FreeBSD10.
Do not bump PORTREVISION cause SPDY module disable by default.
2013-12-19 17:31:04 +00:00
Sergey A. Osokin
aea168d845 Update from 4.0.27 to 4.0.29:
o) www/rubygem-passenger;
o) third-party modules for www/nginx and www/nginx-devel.

<ChangeLog>

Release 4.0.29
--------------

* Fixed a compilation problem on OS X Mavericks.

Release 4.0.28
--------------

* Introduced a workaround for a GCC 4.6 bug. This bug could cause Phusion
  Passsenger to crash during startup. Affected operating systems include
  Ubuntu 12.04 and Amazon Linux 2013.09.01, though not every machine with
  this OS installed exhibits the problem. See issue #902.
* Improved Node.js support: the Sails framework is now supported.
* Improved Node.js support: the streams2 API is now supported.
* Introduced support for hooks, allowing users to easily extend Phusion
  Passenger's behavior.
* Fixed a bug in the `passenger start -R` option. It was broken because of a
  change introduced in 4.0.25.
* Fixed a bug in PassengerMaxInstancesPerApp. Fixes issue #1016.
* Fixed compilation problems on Solaris.
* Fixed an encoding problem in the Apache autodetection code. Fixes
  issue #1026.
* The Debian packages no longer depend on libruby.
* Application stdout and stderr are now printed without normal
  Phusion Passenger debugging information, making them easier to read.

</ChangeLog>
2013-12-14 15:59:54 +00:00
Sergey A. Osokin
b6042b0321 Update from 4.0.26 to 4.0.27:
o) www/rubygem-passenger;
o) third-party modules for www/nginx and www/nginx-devel.

<ChangeLog>

* [Apache] Fixed a bug in the Apache module which could lock up the Apache
  process or thread. This is a regression introduced in version 4.0.24.
* Node.js application processes now have friendly process titles.

</ChangeLog>
2013-12-06 02:28:12 +00:00
Sergey A. Osokin
e04e2dcf3b Make third-party accept_language module fetchable by update to latest version.
PR:	ports/184153
2013-12-04 05:06:15 +00:00
Sergey A. Osokin
bf8cbf5b2f Fix syslog support.
Do not bump PORTREVISION cause syslog support disabled by default.

Patch from:	rea
PR:		ports/180639
2013-12-03 18:08:20 +00:00
Mathieu Arnold
463757bb42 Revert r335523.
Asked by:	osa
2013-12-03 07:25:51 +00:00
Vanilla I. Shu
ac93c93e47 Upgrade lua module to 0.9.2, echo module to 0.49.
Approved by:	maintainer (osa@)
2013-12-03 02:37:51 +00:00
Mathieu Arnold
a7ebe77fb8 The patch for adding syslog support sets the wrong define variable causing syslog support to not be built.
maintainer timeout.

PR:		ports/180639
Submitted by:	Dave Duchscher
2013-12-02 18:14:19 +00:00
Sergey A. Osokin
d5f862e231 Upgrade third-party ngx_http_redis module from 0.3.6 to 0.3.7.
<ChangeLog>

*) Bugfix: ngx_http_redis_module might issue the error message
   "redis sent invalid trailer" for nginx >= 1.5.3.
   Thanks to Maxim Dounin.

</ChangeLog>
2013-12-01 16:11:26 +00:00
Sergey A. Osokin
309e0514bf Update from 4.0.25 to 4.0.26:
o) www/rubygem-passenger;
o) third-party modules for www/nginx and www/nginx-devel.

<ChangeLog>

* Introduced the `PassengerBufferUpload` option for Apache. This option allows one
  to disable upload buffering, e.g. in order to be able to track upload progress.
* [Nginx] The `HTTPS` variable is now set correctly for HTTPS connections, even
  without setting `ssl on`. Fixes issue #401.
* [Standalone] It is now possible to listen on both a normal HTTP and an HTTPS port.
* [Enterprise] The `passenger-status` tool now displays rolling restart status.

</ChangeLog>
2013-11-30 10:29:01 +00:00
Vanilla I. Shu
48b7de4f04 Update rtmp module to 1.0.6.
Approved by:	osa@ (maintainer)
2013-11-24 14:21:07 +00:00
Sergey A. Osokin
668c109469 Update from 4.0.24 to 4.0.25:
o) www/rubygem-passenger;
o) third-party passenger modules for www/nginx and www/nginx-devel.
2013-11-20 18:13:07 +00:00
Sergey A. Osokin
b9a7f3ab06 Update from 4.0.23 to 4.0.24:
o) www/rubygem-passenger;
o) third-party modules for www/nginx and www/nginx-devel.

Try to fix build www/rubygem-passenger with upcoming FreeBSD 10.
2013-11-19 18:30:54 +00:00
Sergey A. Osokin
e7d1ae2c39 Security update from 1.4.3 to 1.4.4.
<ChangeLog>

*) Security: a character following an unescaped space in a request line
   was handled incorrectly (CVE-2013-4547); the bug had appeared in
   0.8.41.
   Thanks to Ivan Fratric of the Google Security Team.

</ChangeLog>
2013-11-19 17:55:31 +00:00
Sergey A. Osokin
3ad99742c2 Stagefy.
Thanks to:	danfe
2013-11-04 13:20:45 +00:00
Sergey A. Osokin
652acfb5ce Convert LIB_DEPENDS to new syntax. 2013-11-03 06:32:53 +00:00
Sergey A. Osokin
0b76da7f50 Update from 4.0.21 to 4.0.23:
o) www/rubygem-passenger;
o) third-party passenger modules for www/nginx and www/nginx-devel.
2013-11-02 11:56:16 +00:00
Sergey A. Osokin
0c509eab14 Update from 4.0.20 to 4.0.21:
o) www/rubygem-passenger;
o) third-party modules for www/nginx and www/nginx-devel.
2013-10-26 13:39:37 +00:00
Sergey A. Osokin
9df388d7ef Update from 4.0.19 to 4.0.20:
o) www/rubygem-passenger;
o) third-party modules for www/nginx and www/nginx-devel.
2013-10-12 07:20:39 +00:00
Sergey A. Osokin
53df61f864 Update from 1.4.2 to 1.4.3.
<ChangeLog>

*) Bugfix: a segmentation fault might occur in a worker process if the
   ngx_http_spdy_module was used with the "client_body_in_file_only"
   directive.

*) Bugfix: a segmentation fault might occur on start or during
   reconfiguration if the "try_files" directive was used with an empty
   parameter.

*) Bugfix: the $request_time variable did not work in nginx/Windows.

*) Bugfix: in the ngx_http_auth_basic_module when using "$apr1$"
   password encryption method.
   Thanks to Markus Linnala.

*) Bugfix: in the ngx_http_autoindex_module.

*) Bugfix: in the mail proxy server.

</ChangeLog>
2013-10-08 15:27:16 +00:00
Sergey A. Osokin
159eb82a55 Update from 4.0.17 to 4.0.19:
o) www/rubygem-passenger;
o) third-party passenger modules for www/nginx and www/nginx-devel.
2013-09-29 15:34:31 +00:00
Baptiste Daroussin
85fbf21ec5 Add NO_STAGE all over the place in preparation for the staging support (cat: www) 2013-09-20 23:36:50 +00:00
Sergey A. Osokin
e236b0d5d0 Update from 4.0.16 to 4.0.17:
o) www/rubygem-passenger;
o) third-party modules for www/nginx and www/nginx-devel.
2013-09-11 15:17:12 +00:00
Sergey A. Osokin
23ac51316e Update patch for third-party http_upload module.
PR:	182010
2013-09-11 15:00:04 +00:00
Sergey A. Osokin
157f0c9b4e Update from 4.0.14 to 4.0.16:
o) www/rubygem-passenger;
o) third-party modules for www/nginx and www/nginx-devel.

Also, convert to perl framework nginx ports.
2013-09-07 10:31:24 +00:00
Boris Samorodov
b1919a6aea Adopt USES+=iconv.
Submitted by:	bsam (me, by e-mail)
Approved by:	osa (maintainer)
2013-09-02 12:06:49 +00:00
Sergey A. Osokin
a6268cc8c2 Update third-party modules:
o) echo from 0.45 to 0.46;
o) headers-more from 0.20 to 0.22;
o) lua from 0.8.2 to 0.8.6;
o) rtmp from 1.0.2 to 1.0.3;
o) srcache from 0.21 to 0.22.
2013-08-20 18:07:10 +00:00
Sergey A. Osokin
ea55283502 Update from 4.0.13 to 4.0.14:
o) www/rubygem-passenger;
o) third-party modules for www/nginx and www/nginx-devel.
2013-08-20 04:45:54 +00:00
Sergey A. Osokin
a4af9a52dc Update third-party modsecurity module from 2.7.4 to 2.7.5.
<ChangeLog>

23 Jul 2013 - 2.7.5
-------------------
Improvements:

* SecUnicodeCodePage is deprecated. SecUnicodeMapFile now accepts the code page as
  a second parameter.
* Updated Libinjection to version 3.4.1. Many improvements were made.
* Severity action now supports strings (emergency, alert, critical, error, warning,
  notice, info, debug).

Bug Fixes:

* Fixed utf8toUnicode tfn null byte conversion.
* Fixed NGINX crash when issue reload command.
* Fixed flush output buffer before inject modified hashed response body.
* Fixed url normalization for Hash Engine.
* Fixed NGINX ap_unixd_set_global_perms_mutex compilation error with apache 2.4
  devel files.

</ChangeLog>
2013-08-17 10:57:29 +00:00
Sergey A. Osokin
ce6a56b10a Update third-party rtmp module from 1.0.1 to 1.0.2.
Enable it for www/nginx-devel.
2013-08-16 19:35:28 +00:00
Sergey A. Osokin
e9f8b4356d Update from 4.0.10 to 4.0.13:
o) www/rubygem-passenger;
o) third-party modules for www/nginx and www/nginx-devel.
2013-08-16 19:14:55 +00:00
Alex Kozlov
d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Sergey A. Osokin
841f272382 Update from 4.0.8 to 4.0.10:
o) www/rubygem-passenger;
o) third-party passenger module for www/nginx and www/nginx-devel.
2013-07-22 14:38:30 +00:00
Sergey A. Osokin
1c69df1332 Update from 1.4.1 to 1.4.2.
Remove needless patch.

<ChangeLog>

*) Bugfix: the $r->header_in() embedded perl method did not return value
   of the "Cookie" and "X-Forwarded-For" request header lines; the bug
   had appeared in 1.3.14.

*) Bugfix: nginx could not be built with the ngx_mail_ssl_module, but
   without ngx_http_ssl_module; the bug had appeared in 1.3.14.

*) Bugfix: in the "proxy_set_body" directive.
   Thanks to Lanshun Zhou.

*) Bugfix: the "fail_timeout" parameter of the "server" directive in the
   "upstream" context might not work if "max_fails" parameter was used;
   the bug had appeared in 1.3.0.

*) Bugfix: a segmentation fault might occur in a worker process if the
   "ssl_stapling" directive was used.
   Thanks to Piotr Sikora.

*) Bugfix: nginx/Windows might stop accepting connections if several
   worker processes were used.

</ChangeLog>
2013-07-17 15:04:40 +00:00
Sergey A. Osokin
12c071109c Update:
o) third-party passenger module from 4.0.5 to 4.0.8;
o) rubygem-passenger from 4.0.5 to 4.0.8;
o) third-party rtmp module from 1.0.0 to 1.0.1.
2013-07-10 17:19:47 +00:00
Sergey A. Osokin
d45d5a390a If nginx was compiled without --with-http_ssl_module, but with some
other module which uses OpenSSL (e.g. --with-mail_ssl_module), insufficient
preprocessor check resulted in build failure.  The problem was introduced
by e0a3714a36f8 (1.3.14).

Reported by:		"M.S. Babaei" <info@babaei.net>
Patch obtained from:	http://hg.nginx.org/nginx/rev/9d83ec073c51
2013-06-23 12:08:39 +00:00
Sergey A. Osokin
bb3008040a Add third-party modsecurity module support, version 2.7.4. 2013-06-04 06:58:09 +00:00
Sergey A. Osokin
d146f4bee2 Third-party rtmp module's tarball has been re-rolled without changes in source code.
So, update checksum and size.

Reported by:	vanilla
2013-06-04 06:46:42 +00:00