Commit graph

140 commits

Author SHA1 Message Date
Sergey A. Osokin
0daaf237a8 Update from 0.6.32 to 0.6.33.
Also, add the patch for bugfix: the "listen" directive parameters
such as "backlog", "rcvbuf", etc. were not set, if a default
server was not the first one.  These changes also added into
mainstream for future releases.

<ChangeLog>

*) Feature: now nginx returns the 405 status code for POST method
   requesting a static file only if the file exists.

*) Workaround: compatibility with glibc 2.3.
   Thanks to Eric Benson and Maxim Dounin.

*) Bugfix: the resolver did not understand big DNS responses.
   Thanks to Zyb.

*) Bugfix: in HTTPS mode requests might fail with the "bad write retry"
   error.

*) Bugfix: the ngx_http_charset_module did not understand quoted
   charset name received from backend.

*) Bugfix: if the "max_fails=0" parameter was used in upstream with
   several servers, then a worker process exited on a SIGFPE signal.
   Thanks to Maxim Dounin.

*) Bugfix: the $r->header_in() method did not return value of the
   "Host", "User-Agent", and "Connection" request header lines; the bug
   had appeared in 0.6.32.

*) Bugfix: a full response was returned for request method HEAD while
   redirection via an "error_page" directive.

*) Bugfix: if a directory has search only rights and the first index
   file was absent, then nginx returned the 500 status code.

*) Bugfix: of recursive error_page for 500 status code.

</ChangeLog>
2008-11-21 12:39:18 +00:00
Sergey A. Osokin
2274af46bc Merge latest changes from nginx-devel port.
1) new rc
2) extra command 'upgrade'
3) don't remove NGINX_TMPDIR directory, if port upgrade running
from -devel to stable port version.

Profiles are unsupported by this nginx version.

Bump PORTREVISION.
2008-10-15 07:36:39 +00:00
Sergey A. Osokin
639e38205c Update from 0.6.31 to 0.6.32.
Add perl5 category wheh perl-specific defined.

<ChangeLog>

*) Change: the "none" parameter in the "ssl_session_cache" directive;
   now this is default parameter.
   Thanks to Rob Mueller.

*) Change: now the 0x00-0x1F, '"' and '\' characters are escaped as
   \xXX in an access_log.
   Thanks to Maxim Dounin.

*) Change: now nginx allows several "Host" request header line.

*) Feature: the "modified" flag in the "expires" directive.

*) Feature: the $uid_got and $uid_set variables may be used at any
   request processing stage.

*) Feature: the $hostname variable.
   Thanks to Andrei Nigmatulin.

*) Feature: DESTDIR support.
   Thanks to Todd A. Fisher and Andras Voroskoi.

*) Bugfix: if sub_filter and SSI were used together, then responses
   might were transferred incorrectly.

*) Bugfix: large SSI inclusions might be truncated.

*) Bugfix: the "proxy_pass" directive did not work with the HTTPS
   protocol; the bug had appeared in 0.6.9.

*) Bugfix: worker processes might not catch reconfiguration and log
   rotation signals.

*) Bugfix: nginx could not be built on latest Fedora 9 Linux.
   Thanks to Roxis.

*) Bugfix: a segmentation fault might occur in worker process on Linux,
   if keepalive was enabled.

</ChangeLog>
2008-07-07 14:07:48 +00:00
Sergey A. Osokin
435e7d5782 Update [stable branch] to 0.6.31.
Merge from -devel useful things.
2008-05-19 12:01:14 +00:00
Sergey A. Osokin
5bcfb43ae5 Update to 0.5.36.
<ChangeLog>

*) Bugfix: the "sub_filter" directive might set text to change into
   output.

*) Bugfix: a segmentation fault occurred in worker process, if empty
   stub block was used second time in SSI.

*) Bugfix: the "proxy_store" and "fastcgi_store" directives did not
   check a response length.

*) Bugfix: nginx issued the bogus error message "SSL_shutdown() failed
   (SSL: )"; bug appeared in 0.5.35.

*) Bugfix: in HTTPS mode requests might fail with the "bad write retry"
   error; bug appeared in 0.5.35.

*) Bugfix: the "fastcgi_catch_stderr" directive did return error code;
   now it returns 502 code, that can be rerouted to a next server using
   the "fastcgi_next_upstream invalid_header" directive.

*) Bugfix: a segmentation fault occurred in master process if the
   "fastcgi_catch_stderr" directive was used; bug appeared in 0.5.32.
   Thanks to Manlio Perillo.

</ChangeLog>
2008-05-04 14:26:13 +00:00
Sergey A. Osokin
de66908920 Fix wrong mailproxy-specific (imap/pop3/smtp) configure keys.
By default all mailproxy options are off.
Do not bump PORTREVISION.

Problem found by:	Rakhesh Sasidharan aka rakhesh at rakhesh dot com
2008-01-22 07:38:32 +00:00
Sergey A. Osokin
4193ec240d Update from 0.5.34 to 0.5.35.
<ChangeLog>

    *) Change: now the ngx_http_userid_module adds start time microseconds
       to the cookie field contains a pid value.

    *) Change: now the uname(2) is used on Linux instead of procfs.
       Thanks to Ilya Novikov.

    *) Feature: the "If-Range" request header line support.
       Thanks to Alexander V. Inyukhin.

    *) Bugfix: in HTTPS mode requests might fail with the "bad write retry"
       error; bug appeared in 0.5.13.

    *) Bugfix: the STARTTLS in SMTP mode did not work.
       Thanks to Oleg Motienko.

    *) Bugfix: large_client_header_buffers did not freed before going to
       keep-alive state.
       Thanks to Olexander Shtepa.

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

    *) Bugfix: the $status variable was equal to 0 if a proxied server
       returned response in HTTP/0.9 version.

    *) Bugfix: if the "?" character was in a "error_page" directive, then
       it was escaped in a proxied request; bug appeared in 0.5.32.

</ChangeLog>
2008-01-10 15:18:25 +00:00
Sergey A. Osokin
c7083916e2 Update from 0.5.33 to 0.5.34.
<ChangeLog>

*) Change: now the full request line instead of URI only is written to
   error_log.

*) Feature: Cygwin compatibility.
   Thanks to Vladimir Kutakov.

*) Feature: the "merge_slashes" directive.

*) Feature: the "gzip_vary" directive.

*) Feature: the "server_tokens" directive.

*) Feature: the "access_log" directive may be used inside the
   "limit_except" block.

*) Bugfix: if the $server_protocol was used in FastCGI parameters and a
   request line length was near to the "client_header_buffer_size"
   directive value, then nginx issued an alert "fastcgi: the request
   record is too big".

*) Bugfix: if a plain text HTTP/0.9 version request was made to HTTPS
   server, then nginx returned usual response.

*) Bugfix: URL double escaping in a redirect of the "msie_refresh"
   directive; bug appeared in 0.5.28.

*) Bugfix: a segmentation fault might occur in worker process if
   subrequests were used.

*) Bugfix: the big responses may be transferred truncated if SSL and
   gzip were used.

*) Bugfix: compatibility with mget.

*) Bugfix: nginx did not unescape URI in the "include" SSI command.

*) Bugfix: the segmentation fault was occurred on start or while
   reconfiguration if variable was used in the "charset" or
   "source_charset" directives.

*) Bugfix: nginx returned the 400 response on requests like
   "GET http://www.domain.com HTTP/1.0".
   Thanks to James Oakley.

*) Bugfix: a segmentation fault occurred in worker process if
   $date_local and $date_gmt were used outside the
   ngx_http_ssi_filter_module.

*) Bugfix: a segmentation fault might occur in worker process if debug
   log was enabled.
   Thanks to Andrei Nigmatulin.

*) Bugfix: ngx_http_memcached_module did not set
   $upstream_response_time.
   Thanks to Maxim Dounin.

*) Bugfix: a worker process may got caught in an endless loop, if the
   memcached was used.

</ChangeLog>
2007-12-14 09:28:34 +00:00
Sergey A. Osokin
20227ff1cd Update from 0.5.32 to latest bugfix release 0.5.33.
Add new MAIL_* knobs.

Approved by:	portmgr (erwin)

<CommitLog>

*) Change: now by default the "echo" SSI command uses
   entity encoding.

*) Feature: the "encoding" parameter in the "echo"
   SSI command.

*) Change: mail proxy was split on three modules: pop3,
   imap and smtp.

*) Feature: the --without-mail_pop3_module,
   --without-mail_imap_module, and --without-mail_smtp_module
   configuration parameters.

*) Feature: the "smtp_greeting_delay" and "smtp_client_buffer"
   directives of the ngx_mail_smtp_module.

*) Feature: the "server_name" and "valid_referers" directives
   support regular expressions.

*) Feature: the "server_name", "map", and "valid_referers"
   directives support the "www.example.*" wildcards.

*) Bugfix: sub_filter did not work with empty substitution.

*) Bugfix: in sub_filter parsing.

*) Bugfix: a worker process may got caught in an endless loop,
   if the memcached was used.

*) Bugfix: nginx supported low case only "close" and "keep-alive"
   values in the "Connection" request header line; bug appeared
   in 0.5.32.

*) Bugfix: nginx could not start on Solaris if the shared PCRE
   library located in non-standard place was used.

</CommitLog>
2007-11-13 07:54:35 +00:00
Sergey A. Osokin
001d78f19a Update from 0.5.31 to 0.5.32.
<ChangeLog>
Changes with nginx 0.5.32                                        24 Sep 2007

*) Change: now nginx tries to set the "worker_priority",
   "worker_rlimit_nofile", "worker_rlimit_core", and
   "worker_rlimit_sigpending" without super-user privileges.

*) Change: now nginx escapes space and "%" in request to a mail proxy
   authentication server.

*) Change: now nginx escapes "%" in $memcached_key variable.

*) Change: the special make target "upgrade1" was defined for online
   upgrade of 0.1.x versions.

*) Feature: the "add_header Last-Modified ..." directive changes the
   "Last-Modified" response header line.

*) Feature: the mail proxy supports AUTHENTICATE in IMAP mode.
    Thanks to Maxim Dounin.

*) Feature: the mail proxy supports STARTTLS in SMTP mode.
   Thanks to Maxim Dounin.

*) Bugfix: nginx did not close directory file on HEAD request if
   autoindex was used.
   Thanks to Arkadiusz Patyk.

*) Bugfix: the "proxy_hide_header" and "fastcgi_hide_header" directives
   did not hide response header lines whose name was longer than 32
   characters.
   Thanks to Manlio Perillo.

*) Bugfix: active connection counter always increased if mail proxy was
   used.

*) Bugfix: if backend returned response header only using non-buffered
   proxy, then nginx closed backend connection on timeout.

*) Bugfix: nginx did not support several "Connection" request header
   lines.

*) Bugfix: a charset set by the "charset" directive was not appended to
   the "Content-Type" header set by $r->send_http_header().

*) Bugfix: a segmentation fault might occur in worker process if
   /dev/poll method was used.

*) Bugfix: nginx did not work on FreeBSD/sparc64.

*) Bugfix: a segmentation fault occurred in worker process if invalid
   address was set in the "auth_http" directive.

*) Bugfix: now nginx uses default listen backlog value 511 on all
   platforms except FreeBSD.
   Thanks to Jiang Hong.

*) Bugfix: now Solaris sendfilev() is not used to transfer the client
   request body to FastCGI-server via the unix domain socket.

*) Bugfix: if the same host without specified port was used as backend
   for HTTP and HTTPS, then nginx used only one port - 80 or 443.

*) Bugfix: the "proxy_ignore_client_abort" and
   "fastcgi_ignore_client_abort" directives did not work; bug appeared
   in 0.5.13.

</ChangeLog>
2007-10-08 15:32:12 +00:00
Sergey A. Osokin
5b1d5057fb Optionify.
Utilize ETCDIR for Makefile and pkg-plist.
Some knobs deprecated, so bump PORTREVISION.
2007-09-19 08:48:24 +00:00
Sergey A. Osokin
e1917bffd1 Update to 0.5.31.
Rewrote pkg-plist as describe in FreeBSD Porter's Handbook,
section 7.3 for fix package installation. (*)

Problem found by: Denis Shaposhnikov dsh at vlink dot ru (*)

<ChangeLog>

*) Feature: named locations.

*) Feature: the "proxy_store" and "fastcgi_store" directives.

*) Feature: the "proxy_store_access" and "fastcgi_store_access"
   directives.

</ChangeLog>
2007-08-16 08:43:06 +00:00
Gabor Kovesdan
42542fb076 - Remove the DESTDIR modifications from individual ports as we have a new,
fully chrooted DESTDIR, which does not need such any more.

Sponsored by:	Google Summer of Code 2007
Approved by:	portmgr (pav)
2007-08-04 11:41:30 +00:00
Sergey A. Osokin
e45c2bb0af Update to 0.5.29.
<ChangeLog>

*) Feature: the $args variable can be set with the "set"
   directive.

*) Feature: the $is_args variable.

*) Bugfix: if a client has closed connection to mail proxy
   then nginx might not close connection to backend.

*) Bugfix: now nginx escapes space in $memcached_key
   variable.

*) Bugfix: a segmentation fault might occur in worker
   process when the HTTPS protocol was used in the
   "proxy_pass" directive.

*) Bugfix: the perl $$ variable value in ngx_http_perl_module
   was equal to the master process identification number.

*) Bugfix: fix building on Solaris/amd64 by Sun Studio 11
   and early versions; bug appeared in 0.5.29.

</ChangeLog>
2007-07-30 10:45:23 +00:00
Sergey A. Osokin
77c477db44 Update to 0.5.29.
<ChangeLog>

*) Feature: $nginx_version variable.
   Thanks to Nick S. Grechukh.

*) Bugfix: if the FastCGI header was split in records, then nginx
   passed garbage in the header to a client.

*) Bugfix: Sun Studio compatibility on Solaris/amd64 and
   Solaris/sparc64.
   Thanks to Jiang Hong and Andrei Nigmatulin.

*) Bugfix: of minor potential bugs.
   Thanks to Coverity's Scan.

</ChangeLog>
2007-07-23 09:18:54 +00:00
Sergey A. Osokin
08e805be40 Update to 0.5.28.
<ChangeLog>

*) Security: the "msie_refresh" directive allowed XSS.

*) Bugfix: a segmentation fault might occur in worker process
   if the "auth_http_header" directive was used.
   Thanks to Maxim Dounin.

*) Bugfix: a segmentation fault occurred in worker process if
   the CRAM-MD5 authentication method was used, but it was not
   enabled.

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

</ChangeLog>
2007-07-17 11:53:48 +00:00
Sergey A. Osokin
24fc0c95d0 Update to 0.5.27.
<ChangeLog>

*) Bugfix: if remote SSI subrequest was used, then posterior
   local file subrequest might transferred to client in wrong
   order.

*) Bugfix: large SSI inclusions buffered in temporary files
   were truncated.

</ChangeLog>
2007-07-09 08:14:03 +00:00
Sergey A. Osokin
cee4d0e671 Knobs management:
i) remove absolete WITH_IMAP_MODULE.
 ii) new one WITH_ADDITION_MODULE (*).

Do not bump PORTREVISION.

Requested by:	dwl aka dwl at dewil dot ru (*)
2007-06-28 15:18:57 +00:00
Sergey A. Osokin
b2dd0344b2 Update to 0.5.26.
Fix rc script functionality for extra configtest_cmd command. (*)

<ChangeLog>

    *) Bugfix: in SSI parsing.

</ChangeLog>

Spotted by:	Andrey Y. Ostanovsky < andrey at ostanovsky dot spb dot ru > (*)
2007-06-18 07:08:46 +00:00
Sergey A. Osokin
79af54286c Resolve conflict with nginx stable.
Bump PORTREVISION.
2007-06-15 08:28:20 +00:00
Sergey A. Osokin
5d49b92e23 Change default location for 50x.html in configuration file.
Bump PORTREVISION.

Requested by:	Igor Sysoev <is at rambler-co dot ru>
2007-06-14 10:32:32 +00:00
Sergey A. Osokin
5c8b53a80e Update to 0.5.25.
<ChangeLog>

*) Bugfix: nginx could not be built with the
   --without-http_rewrite_module parameter; bug
   appeared in 0.5.24.

</ChangeLog>
2007-06-13 07:09:00 +00:00
Sergey A. Osokin
174c24d8cb Update to 0.5.24.
<ChangeLog>

*) Security: the "ssl_verify_client" directive did not work if request
   was made using HTTP/0.9.

*) Bugfix: a part of response body may be passed uncompressed if gzip
   was used; bug appeared in 0.5.23.

</ChangeLog>
2007-06-06 07:05:18 +00:00
Sergey A. Osokin
ab1e846e49 Update to 0.5.23.
<ChangeLog>

*) Feature: the ngx_http_ssl_module supports Server
   Name Indication TLS extension.

*) Feature: the "fastcgi_catch_stderr" directive.
   Thanks to Nick S. Grechukh, OWOX project.

*) Bugfix: a segmentation fault occurred in master process
   if two virtual servers should bind() to the overlapping
   ports.

*) Bugfix: if nginx was built with ngx_http_perl_module
   and perl supported threads, then during second
   reconfiguration the error messages "panic: MUTEX_LOCK"
   and "perl_parse() failed" were issued.

*) Bugfix: in the HTTPS protocol in the "proxy_pass"
   directive.

</ChangeLog>
2007-06-04 14:35:36 +00:00
Sergey A. Osokin
a63786ab6e Update to fresh bugfix release 0.5.22.
<Changelog>

Bugfix: the big request body might not be passed to
backend; bug appeared in 0.5.21.

</Changelog>
2007-05-29 12:19:39 +00:00
Sergey A. Osokin
bf9002d976 Update to latest bugfix release 0.5.21.
<Changelog>
*) Bugfix: if server has more than about ten locations, then
   regex locations may be choosen not in that order as they
   were specified.

*) Bugfix: a worker process may got caught in an endless loop
   on 64-bit platform, if the 33-rd or next in succession
   backend has failed.
   Thanks to Anton Povarov.

*) Bugfix: a bus error might occur on Solaris/sparc64 if the
   PCRE library was used.
   Thanks to Andrei Nigmatulin.

*) Bugfix: in the HTTPS protocol in the "proxy_pass" directive.
</Changelog>
2007-05-28 16:08:17 +00:00
Sergey A. Osokin
4caffba231 Update to 0.5.20.
<ChangeLog>

*) Feature: the "sendfile_max_chunk" directive.
*) Feature: the "$http_...", "$sent_http_...", and
   "$upstream_http_..." variables may be changed using
   the "set" directive.

*) Bugfix: a segmentation fault might occur in worker
   process if the SSI command 'if expr="$var = /"'
   was used.

*) Bugfix: trailing boundary of multipart range
   response was transferred incorrectly.
   Thanks to Evan Miller.

*) Bugfix: nginx did not work on Solaris/sparc64 if
   it was built by Sun Studio.
   Thanks to Andrei Nigmatulin.

*) Bugfix: the ngx_http_perl_module could not built
   by Solaris make.
   Thanks to Andrei Nigmatulin.
</ChangeLog>
2007-05-25 06:34:39 +00:00
Sergey A. Osokin
60a27c569c Update to 0.5.19. 2007-04-24 06:54:08 +00:00
Sergey A. Osokin
339d4a43ed Update to 0.5.18. 2007-04-20 06:27:38 +00:00
Sergey A. Osokin
cf9ce7beb8 Update to latest bugfix release 0.5.17.
Change knob IMAP_MODULE to MAIL_MODULE (1).
Keep compatibility for IMAP_MODULE, notice warning if usage.
Cosmetic fixes for package list (2).

(1) Anton Yuzhaninov (citrin at rambler-co dot ru)
(2) portlint -a
2007-04-02 11:26:05 +00:00
Sergey A. Osokin
271fc91ff5 Update to fresh latest bugfix release 0.5.15. 2007-03-19 14:17:48 +00:00
Sergey A. Osokin
a22be74f83 Update to latest fresh bugfix release: 0.5.14. 2007-02-28 13:33:39 +00:00
Sergey A. Osokin
72ed915d13 Update to 0.5.13. 2007-02-19 14:30:24 +00:00
Sergey A. Osokin
33fc97f1ad Update to 0.5.12. 2007-02-12 16:43:42 +00:00
Sergey A. Osokin
8daa1813c3 Update to 0.5.11. 2007-02-06 08:19:02 +00:00
Sergey A. Osokin
f039f5cbfc Update to 0.5.10. 2007-01-26 11:17:33 +00:00
Sergey A. Osokin
b15a41f34a Update to 0.5.9. 2007-01-25 16:59:40 +00:00
Sergey A. Osokin
41a8881f2f Update to latest bugfix release 0.5.8. 2007-01-22 14:28:41 +00:00
Sergey A. Osokin
1593b072f6 Update to 0.5.7. 2007-01-16 16:30:05 +00:00
Sergey A. Osokin
d443039175 Update to 0.5.6.
Submitted by:	Gea-Suan Lin (gslin at gslin dot org)
PR:	107945
2007-01-15 09:28:59 +00:00
Sergey A. Osokin
fcc06ecdaf Update to 0.5.5. 2006-12-25 08:41:25 +00:00
Sergey A. Osokin
94cd2c63ad Update to 0.5.4. 2006-12-15 09:17:54 +00:00
Sergey A. Osokin
a2e19c6933 Update to 0.5.3. 2006-12-14 07:27:22 +00:00
Sergey A. Osokin
b244dd0f2c Update to 0.5.0.
Include NGX_DEBUG_MALLOC into WITH_DEBUG knob. [*]

Submitted by:	Anton Yuzhaninov <citrin at citrin dot ru> [*]
2006-12-05 09:20:22 +00:00
Sergey A. Osokin
64c864fb4f Update to 0.4.14. 2006-11-27 16:06:57 +00:00
Sergey A. Osokin
0a9d4357f5 Update to 0.4.13. 2006-11-16 07:39:35 +00:00
Sergey A. Osokin
3ff8926509 Update to 0.4.12. 2006-11-01 08:39:50 +00:00
Sergey A. Osokin
6781b91b31 Update to 0.4.11. 2006-10-31 08:59:18 +00:00
Sergey A. Osokin
84f4b1c9bc Update to 0.4.6. 2006-10-09 06:24:00 +00:00
Sergey A. Osokin
72cfc37220 Update to fresh "linux-bugfix" release 0.4.2. 2006-09-14 18:03:37 +00:00