Update from 3.0.19 to 4.0.4:

o) www/rubygem-passenger;
o) third-party passenger module for www/nginx and www/nginx-devel.
Update third-party modules:

o) lua from 0.8.1 to 0.8.2;
o) srcache from 0.20 to 0.21.
Update third-party rtmp module from 0.9.18 to 1.0.0.
Update from 4.0.4 to 4.0.5:

o) www/rubygem-passenger;
o) third-party passenger module for www/nginx and www/nginx-devel.
Third-party rtmp module's tarball has been re-rolled without changes in source code.
So, update checksum and size.

Reported by:	vanilla
Add third-party modsecurity module support, version 2.7.4.
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
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.

Conflicts:
	www/rubygem-passenger/Makefile
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>