Commit graph

367 commits

Author SHA1 Message Date
Alex Kozlov
b66d36ccd9 - Fix MAIL_* options
Approved by:	osa (maintainer)
2012-07-26 06:28:01 +00:00
Sergey A. Osokin
bd62ca7cd9 Update passenger from 3.0.13 to 3.0.14. 2012-07-22 13:39:34 +00:00
Sergey A. Osokin
28fe04afe7 Move rc script nginx.sh.in to more canonical nginx.in. 2012-07-16 17:47:56 +00:00
Sergey A. Osokin
8cb9464917 Update third-party modules:
o) lua from 0.5.0rc30 to 0.5.7;
o) headers_more from 0.17rc1 to 0.17.
s/_MODULE//.
2012-07-16 17:38:33 +00:00
Sergey A. Osokin
c50207ee17 Update from 1.2.1 to 1.2.2.
<ChangeLog>

*) Change: the "single" parameter of the "keepalive" directive is now
   ignored.

*) Change: SSL compression is now disabled when using all versions of
   OpenSSL, including ones prior to 1.0.0.

*) Feature: the "proxy_pass", "fastcgi_pass", "scgi_pass", "uwsgi_pass"
   directives, and the "server" directive inside the "upstream" block,
   now support IPv6 addresses.

*) Feature: the "resolver" directive now support IPv6 addresses and an
   optional port specification.

*) Feature: the "least_conn" directive inside the "upstream" block.

*) Feature: it is now possible to specify a weight for servers while
   using the "ip_hash" directive.

*) Feature: it is now possible to use the "ip_hash" directive to balance
   IPv6 clients.

*) Feature: the $status variable can now be used not only in the
   "log_format" directive.

*) Bugfix: nginx could not be built with ngx_cpp_test_module; the bug
   had appeared in 1.1.12.

*) Bugfix: access to variables from SSI and embedded perl module might
   not work after reconfiguration.
   Thanks to Yichun Zhang.

*) Bugfix: in the ngx_http_xslt_filter_module.
   Thanks to Kuramoto Eiji.

*) Bugfix: memory leak if $geoip_org variable was used.
   Thanks to Denis F. Latypoff.

*) Bugfix: in the "proxy_cookie_domain" and "proxy_cookie_path"
   directives.

*) Bugfix: a segmentation fault might occur in a worker process on
   shutdown if the "resolver" directive was used.

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

*) Bugfix: in the ngx_http_mp4_module.

*) Bugfix: a segmentation fault might occur in a worker process if
   conflicting wildcard server names were used.

*) Bugfix: nginx might be terminated abnormally on a SIGBUS signal on
   ARM platform.

*) Bugfix: an alert "sendmsg() failed (9: Bad file number)" on HP-UX
   while reconfiguration.

</ChangeLog>
2012-07-03 17:09:44 +00:00
Sergey A. Osokin
df2b727518 Update third-party modules:
o) cache_purge from 1.5 to 1.6;
o) slowfs_cache from 1.8 to 1.9;
o) upload_progress from 0.8.3 to 0.9.0.	[*]

Remove needless extra patch.

PR:	169602				[*]
2012-07-03 03:48:32 +00:00
Sergey A. Osokin
b518061837 Truncate variable name for third-party h264_streaming module, s/_MODULE//. 2012-06-29 21:01:03 +00:00
Sergey A. Osokin
f2ca2e550d Fix build without mail-specific modules after switch to OptionsNG.
PR:	169498
2012-06-28 14:25:06 +00:00
Sergey A. Osokin
f79a952228 Update the name of recent added tcp_proxy third-party module. 2012-06-22 17:59:13 +00:00
Sergey A. Osokin
29ce6309b5 Add third-party tcp_proxy module, ver.0.26,
https://github.com/yaoweibin/nginx_tcp_proxy_module/

Requested by:	Weibin Yao <yaoweibin@gmail.com>
2012-06-21 06:35:24 +00:00
Sergey A. Osokin
821f2c53a4 Do not require specific versions of shared libraries. 2012-06-19 06:27:32 +00:00
Sergey A. Osokin
b591b2a048 Update subs_filter third-party module from 0.5.2.r53 to 0.5.2.r59.
Configure pcre module support if subs_filter module defined.
2012-06-18 16:12:38 +00:00
Sergey A. Osokin
745cda1ac3 Remove needless bsd.ports.[pre|post].mk includes, use bsd.port.mk. 2012-06-17 17:54:56 +00:00
Sergey A. Osokin
b092e5ce31 Update third-party modules:
o) drizzle - from 0.1.2rc6 to 0.1.2rc7, sync with
   ngx_openresty 1.0.15.10 stable;
o) rtmp    - from 0.1.5 to 0.1.10.

Do not bump PORTREVISION because these modules are disabled by default.
2012-06-14 11:29:08 +00:00
Sergey A. Osokin
8c5d3cdb3d Update from 3.0.12 to 3.0.13:
o) www/rubygem-passenger;
o) third-party passenger module for www/nginx and www/nginx-devel.
2012-06-14 10:53:34 +00:00
Sergey A. Osokin
ecc77f1931 Create temporary directory with install(1).
Remove duplicate code from Makefile and pkg-plist.

Bump PORTREVISION.

Requested by:	dougb
2012-06-14 08:12:29 +00:00
Sergey A. Osokin
955fb96849 Check existence temporary directory %%NGINX_TMPDIR%% before
test configuration.	(1)
Use %%NGINX_RUNDIR%%, %%WWWOWN%% and %%WWWGRP%% variables defined
in Makefile instead of hardcoded or new values.

Bump PORTREVISION.

Idea from PR:	168836	(1)
2012-06-13 04:46:14 +00:00
Sergey A. Osokin
7036364eba Update third-party modules:
o) lua      - from 0.5.0rc28 to 0.5.0rc30;
o) rds-json - from 0.12rc7 to 0.12rc10.

Do not bump PORTREVISION because these modules are disabled by default.
2012-06-07 16:57:23 +00:00
Sergey A. Osokin
db5f9da7b2 Add third-party slow module, v.0.9.6,
http://code.google.com/p/nginx-sflow-module/.

Do not bump PORTREVISION because this module is disabled by default.
2012-06-07 01:09:44 +00:00
Sergey A. Osokin
0cb9d79b87 Return back XSS third-party module. 2012-06-06 12:58:58 +00:00
Sergey A. Osokin
228ee4bcf0 Update from 1.2.0 to 1.2.1.
<ChangeLog>

*) Security: now nginx/Windows ignores trailing dot in URI path
   component, and does not allow URIs with ":$" in it.
   Thanks to Vladimir Kochetkov, Positive Research Center.

*) Feature: the "debug_connection" directive now supports IPv6 addresses
   and the "unix:" parameter.

*) Feature: the "set_real_ip_from" directive and the "proxy" parameter
   of the "geo" directive now support IPv6 addresses.

*) Feature: the "real_ip_recursive", "geoip_proxy", and
   "geoip_proxy_recursive" directives.

*) Feature: the "proxy_recursive" parameter of the "geo" directive.

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

*) Bugfix: a segmentation fault might occur in a worker process if the
   "fastcgi_pass", "scgi_pass", or "uwsgi_pass" directives were used and
   backend returned incorrect response.

*) Bugfix: a segmentation fault might occur in a worker process if the
   "rewrite" directive was used and new request arguments in a
   replacement used variables.

*) Bugfix: nginx might hog CPU if the open file resource limit was
   reached.

*) Bugfix: nginx might loop infinitely over backends if the
   "proxy_next_upstream" directive with the "http_404" parameter was
   used and there were backup servers specified in an upstream block.

*) Bugfix: adding the "down" parameter of the "server" directive might
   cause unneeded client redistribution among backend servers if the
   "ip_hash" directive was used.

*) Bugfix: socket leak.
   Thanks to Yichun Zhang.

*) Bugfix: in the ngx_http_fastcgi_module.

</ChangeLog>
2012-06-06 12:57:03 +00:00
Sergey A. Osokin
9c67065583 Fix issue with HTTP_CACHE option.
Spotted by:	many people
2012-06-06 12:10:13 +00:00
Sergey A. Osokin
d0c42284b1 Add VIDEO knob to OPTIONS_DEFINE for choose original or third-party
MP4 module.
2012-06-04 17:33:25 +00:00
Sergey A. Osokin
a5599fb74c OptionsNGfy.
Most name of variables are shortened, s/_MODULE_//g.

Thanks to:	bapt
2012-06-04 04:07:38 +00:00
Sergey A. Osokin
bbe6150b0f Update third-party module naxsi from 0.45 to 0.46-1.
Do not bump PORTREVISION because this module is disabled by default.
2012-05-24 08:04:58 +00:00
Sergey A. Osokin
9e38baae6b Add third-party RTMP module, v.0.1.5,
https://github.com/arut/nginx-rtmp-module.

Note! The RTMP module does not share data between workers and only
works in one-worker mode.

Do not bump PORTREVISION because this module is disabled by default.

Spotted by:	Patrick Ernst aka patrick dot ernst at maxxbone dot com
2012-05-18 04:43:42 +00:00
Sergey A. Osokin
c2716ea57d Update third-party modules (openresty 1.0.15.5):
o) lua     - from 0.5.0rc27 to 0.5.0rc28;
o) rds_scv - from 0.05rc1 to 0.05rc2.

Remove needless patch.

Do not bump PORTREVISIONs because these modules are disabled by default.
2012-05-16 11:24:12 +00:00
Sergey A. Osokin
48065aea69 Update third-party modules (openresty 1.0.15.3):
o) lua      - from 0.5.0rc24 to 0.5.0rc27;
o) set_misc - from 0.22rc5 to 0.22rc7;
o) srcache  - from 0.13rc6 to 0.13rc8;

Do not bump PORTREVISIONs because these modules are disabled by default.
2012-05-15 15:11:42 +00:00
Sergey A. Osokin
718821cd26 Add two new third-party modules:
1) let, 0.0.4;
2) upstream_sticky, 1.0;

Do not bump PORTREVISIONs because these modules are disabled by default.

Spotted by:	Serguei Okladnikov <oklaspec@mail.ru> (1)
PR:		167494				      (2)
2012-05-11 10:42:26 +00:00
Sergey A. Osokin
46c5a3865f Update third-party modules (openresty 1.0.11.28):
o) echo    - from 0.38rc1 to 0.38rc2;
o) lua     - from 0.4.1 to 0.5.0rc24;
o) rds-csv - from 0.04 to 0.05rc1;
o) redis2  - from 0.08rc2 to 0.08rc4;
o) srcache - from 0.13rc3 to 0.13.rc6;
o) xss     - from 0.03rc8 to 0.03rc9;
o) iconv   - from 0.10rc5 to 0.10rc7;

Do not bump PORTREVISIONs because these modules are disabled by default.
2012-04-26 08:11:12 +00:00
Sergey A. Osokin
b837a78b12 Add one more WWW site to pkg-descr file.
Remove -DNGX_DEBUG_MALLOC flag.		(*)
Bump PORTREVISION.

Requested by:	Maxim Dounin aka mdounin at mdounin dot ru (*)
2012-04-25 17:01:38 +00:00
Sergey A. Osokin
2e62ae5a07 Update to latest stable version 1.2.0.
<ChangeLog>

*) Bugfix: a segmentation fault might occur in a worker process if the
   "try_files" directive was used; the bug had appeared in 1.1.19.

*) Bugfix: response might be truncated if there were more than IOV_MAX
   buffers used.

*) Bugfix: in the "crop" parameter of the "image_filter" directive.
   Thanks to Maxim Bublis.

</ChangeLog>
2012-04-23 14:01:35 +00:00
Sergey A. Osokin
701ff1b9a1 Update pkg-descr to modern variant.
Bump PORTREVISIONs.

PR:	ports/167089
2012-04-23 12:18:43 +00:00
Sergey A. Osokin
0049ed54db Update third-party naxsi module rom 0.43 to 0.45.
Do not bump PORTREVISIONs because this module disabled by default.

PR:	ports/167166, ports/167167
2012-04-23 12:04:37 +00:00
Sergey A. Osokin
d2c9e1ddb8 Update from 3.0.11 to 3.0.12:
o) www/rubygem-passenger;
o) third-party passenger module for www/nginx and www/nginx-devel.
2012-04-22 18:52:26 +00:00
Sergey A. Osokin
4290da889f Security update from 1.0.14 to 1.0.15.
<ChangeLog>

*) Security: specially crafted mp4 file might allow to overwrite memory
   locations in a worker process if the ngx_http_mp4_module was used,
   potentially resulting in arbitrary code execution (CVE-2012-2089).
   Thanks to Matthew Daley.

*) Bugfix: in the ngx_http_mp4_module.

</ChangeLog>
2012-04-13 12:11:04 +00:00
Sergey A. Osokin
4c9b1a49c6 Update third-party ngx_http_redis from 0.3.5 to 0.3.6.
Add USERS/GROUPS for www/nginx.

Do not bump PORTREVISIONs because this module disabled by default.

Feature safe:	yes

<ChangeLog>

*) Feature: redis_gzip_flag.  Usefull if you are prefer to
   store data compressed in redis.  Works with ngx_http_gunzip_filter
   module.
   Thanks to Maxim Dounin.

*) Bugfix: ngx_http_redis_module might issue the error message
   "redis sent invalid trailer".
   Thanks to agentzh.

</ChangeLog>
2012-04-03 16:16:10 +00:00
Sergey A. Osokin
ed596d3155 Security update from 1.0.13 to 1.0.14.
Security:	http://www.vuxml.org/freebsd/29194cb8-6e9f-11e1-8376-f0def16c5c1b.html
Feature safe:	yes

<ChangeLog>

*) Security: content of previously freed memory might be sent to a
   client if backend returned specially crafted response.
   Thanks to Matthew Daley.

</ChangeLog>
2012-03-15 13:49:37 +00:00
Sergey A. Osokin
051ad072b6 Update from 1.0.12 to 1.0.13.
<ChangeLog>

*) Feature: the "return" and "error_page" directives can now be used to
   return 307 redirections.

*) Bugfix: a segmentation fault might occur in a worker process if the
   "resolver" directive was used and there was no "error_log" directive
   specified at global level.
   Thanks to Roman Arutyunyan.

*) Bugfix: memory leaks.
   Thanks to Lanshun Zhou.

*) Bugfix: nginx might log incorrect error "upstream prematurely closed
   connection" instead of correct "upstream sent too big header" one.
   Thanks to Feibo Li.

*) Bugfix: on ZFS filesystem disk cache size might be calculated
   incorrectly; the bug had appeared in 1.0.1.

*) Bugfix: the number of internal redirects to named locations was not
   limited.

*) Bugfix: temporary files might be not removed if the "proxy_store"
   directive was used with SSI includes.

*) Bugfix: in some cases non-cacheable variables (such as the $args
   variable) returned old empty cached value.

*) Bugfix: the "proxy_redirect" directives might be inherited
   incorrectly.

*) Bugfix: nginx could not be built with the ngx_http_perl_module if the
   --with-openssl option was used.

*) Bugfix: nginx could not be built by the icc 12.1 compiler.

</ChangeLog>
2012-03-05 16:16:44 +00:00
Sergey A. Osokin
983bc54081 Fix fetch notice third-party module. 2012-02-29 19:53:17 +00:00
Sergey A. Osokin
580e054c16 Fix fetch zip and naxsi third-party modules. 2012-02-29 19:35:03 +00:00
Sergey A. Osokin
05448d057c Update third-party naxsi module from 0.42 to 0.43.
Fix libraries dependences if WITH_LUA_MODULE knob defined. [1]

Do not bump PORTREVISIONs because this module disabled by default.

Submitted by:	Alexandre Biancalana <ale@biancalanas.net> [1]
2012-02-29 05:32:27 +00:00
Sergey A. Osokin
5ecdd87c22 Revert back previous commit of removing
http_upstream_keepalive third-party module from distinfo.

Notice from:	Rainer Duffner <rainer@ultra-secure.de>
Pointy hat to:	osa
2012-02-28 23:01:25 +00:00
Sergey A. Osokin
6174e64fb1 Update slowfs_cache third-party module from 1.7 to 1.8.
Do not bump PORTREVISIONs because this module disabled by default.

<ChangeLog>

2012-02-28    VERSION 1.8
  * Fix setting of slowfs process title.
    In case when local path was over 277 characters long, slowfs
    process would crash, which would result in file not being
    copied to the cache.
    Bug had appeared in version 1.7.
</ChangeLog>
2012-02-28 17:43:56 +00:00
Sergey A. Osokin
2c8e138ae0 Update slowfs_cache third-party module from 1.6 to 1.7.
Do not bump PORTREVISION because this module disabled by default.

<ChangeLog>

2012-02-28    VERSION 1.7
  * Fix on-disk cache size calculation.
    Since the initial release, recorded on-disk cache size was
    decreased twice for purged content (once during cache purge
    and once during subsequent cache update).
    This resulted in recorded on-disk cache size being much
    smaller than in reality, which could lead to on-disk cache
    outgrowing defined "max_size" parameter.
    Patch from Pyry Hakulinen (via ngx_cache_purge, months ago).

  * Append path of the file being cached to the slowfs process
    title.

</ChangeLog>
2012-02-28 13:59:45 +00:00
Sergey A. Osokin
855cab9eec Move upward extra_commands string for compatible with rc.conf.d
feature.

Do not bump PORTREVISIONs.
PR:	165454
2012-02-28 10:26:19 +00:00
Sergey A. Osokin
61f0c93316 Add two third-party modules:
o) web_dav_extension, for support missing PROPFIND and OPTIONS commands;
o) http_auth_digest, providing support for RFC 2617 Digest Authentication.

PR:	165276, 165333
2012-02-23 09:30:11 +00:00
Martin Matuska
dbbf004162 Bump pcre library dependency due to 8.30 update 2012-02-14 12:45:35 +00:00
Sergey A. Osokin
e22cd8e12a Update from 1.0.11 to 1.0.12.
<ChangeLog>

*) Feature: the "TLSv1.1" and "TLSv1.2" parameters of the
   "ssl_protocols" directive.

*) Feature: the "if" SSI command supports captures in regular
   expressions.

*) Bugfix: the "if" SSI command did not work inside the "block" command.

*) Bugfix: in AIO error handling on FreeBSD.

*) Bugfix: in the OpenSSL library initialization.

*) Bugfix: the "worker_cpu_affinity" directive might not work.

*) Bugfix: the "limit_conn_log_level" and "limit_req_log_level"
   directives might not work.

*) Bugfix: the "read_ahead" directive might not work combined with
   "try_files" and "open_file_cache".

*) Bugfix: the "proxy_cache_use_stale" directive with "error" parameter
   did not return answer from cache if there were no live upstreams.

*) Bugfix: a segmentation fault might occur in a worker process if small
   time was used in the "inactive" parameter of the "proxy_cache_path"
   directive.

*) Bugfix: responses from cache might hang.

*) Bugfix: in error handling while connecting to a backend.
   Thanks to Piotr Sikora.

*) Bugfix: in the "epoll" event method.
   Thanks to Yichun Zhang.

*) Bugfix: the $sent_http_cache_control variable might contain a wrong
   value if the "expires" directive was used.
   Thanks to Yichun Zhang.

*) Bugfix: the "limit_rate" directive did not allow to use full
   throughput, even if limit value was very high.

*) Bugfix: the "sendfile_max_chunk" directive did not work, if the
   "limit_rate" directive was used.

*) Bugfix: nginx could not be built on Solaris; the bug had appeared in
   1.0.11.

*) Bugfix: in the ngx_http_scgi_module.

*) Bugfix: in the ngx_http_mp4_module.

<ChangeLog>
2012-02-06 17:50:45 +00:00
Sergey A. Osokin
835fbddaf2 Use ${LOCALBASE} instead of ${PREFIX} for search headers and libraries
for third-party modules.

Do not bump PORTREVISIONs.
2012-02-06 17:48:29 +00:00