aboutsummaryrefslogtreecommitdiff
path: root/www/unit
Commit message (Collapse)AuthorAgeFilesLines
* all: Remove all other $FreeBSD keywords.Mathieu Arnold2021-04-061-2/+0
|
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0
|
* Update from 1.22.0 to 1.23.0.Sergey A. Osokin2021-03-253-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <ChangeLog> *) Feature: support for multiple certificate bundles on a listener via the Server Name Indication (SNI) TLS extension. *) Feature: "--mandir" ./configure option to specify the directory for man page installation. *) Bugfix: the router process could crash on premature TLS connection close; the bug had appeared in 1.17.0. *) Bugfix: a connection leak occurred on premature TLS connection close; the bug had appeared in 1.6. *) Bugfix: a descriptor and memory leak occurred in the router process when processing small WebSocket frames from a client; the bug had appeared in 1.19.0. *) Bugfix: a descriptor leak occurred in the router process when removing or reconfiguring an application; the bug had appeared in 1.19.0. *) Bugfix: persistent storage of certificates might've not worked with some filesystems in Linux, and all uploaded certificate bundles were forgotten after restart. *) Bugfix: the controller process could crash while requesting information about a certificate with a non-DNS SAN entry. *) Bugfix: the controller process could crash on manipulations with a certificate containing a SAN and no standard name attributes in subject or issuer. *) Bugfix: the Ruby module didn't respect the user locale for defaults in the Encoding class. *) Bugfix: the PHP 5 module failed to build with thread safety enabled; the bug had appeared in 1.22.0. </ChangeLog> Notes: svn path=/head/; revision=569217
* Clean up some thingsTobias Kortkamp2021-02-261-1/+0
| | | | | | | | | | | | - Fix typos - Remove duplicate variables - Remove nop variables - Sort categories Reported by: portscan Notes: svn path=/head/; revision=566598
* Use common way to access NGINX Unit's version.Sergey A. Osokin2021-02-052-1/+9
| | | | | | | Do not bump PORTREVISIONs because of no functional changes. Notes: svn path=/head/; revision=564130
* Change the default location for NGINX Unit's state directory has changed.Sergey A. Osokin2021-02-041-1/+5
| | | | | | | | | | It was moved from /usr/local/libexec/unit to /var/db/unit in order to avoid write operations on /usr/local filesystem. Bump PORTREVISION. Notes: svn path=/head/; revision=564068
* Update from 1.21.0 to 1.22.0.Sergey A. Osokin2021-02-042-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <ChangeLog> *) Feature: the ServerRequest and ServerResponse objects of Node.js module are now compliant with Stream API. *) Feature: support for specifying multiple directories in the "path" option of Python apps. *) Bugfix: a memory leak occurred in the router process when serving files larger than 128K; the bug had appeared in 1.13.0. *) Bugfix: apps could stop processing new requests under high load; the bug had appeared in 1.19.0. *) Bugfix: app processes could terminate unexpectedly under high load; the bug had appeared in 1.19.0. *) Bugfix: invalid HTTP responses were generated for some unusual status codes. *) Bugfix: the PHP_AUTH_USER, PHP_AUTH_PW, and PHP_AUTH_DIGEST server variables were missing in the PHP module. *) Bugfix: the router process could crash with multithreaded apps under high load. *) Bugfix: Ruby apps with multithreading configured could crash on start under load. *) Bugfix: mount points weren't unmounted when the "mount" namespace isolation was used; the bug had appeared in 1.21.0. *) Bugfix: the router process could crash while removing or reconfiguring an app that used WebSocket. *) Bugfix: a memory leak occurring in the router process when removing or reconfiguring an application; the bug had appeared in 1.19.0. </ChangeLog> Notes: svn path=/head/; revision=564058
* Add more logic for regular expressions support, continue using devel/pcre2Sergey A. Osokin2020-11-231-5/+17
| | | | | | | | | by default. Bump PORTREVISION. Notes: svn path=/head/; revision=556114
* Add devel/libunit - NGINX Unit development kit.Sergey A. Osokin2020-11-201-23/+2
| | | | | | | | | Follow that remove devkit part from www/unit. (*) Bump PORTREVISION. (*) Notes: svn path=/head/; revision=555735
* Install/add another file to the package list.Sergey A. Osokin2020-11-191-2/+3
| | | | | | | | | Bump PORTREVISION. Spotted by: pluknet Notes: svn path=/head/; revision=555718
* Enable the following options by default:Sergey A. Osokin2020-11-191-1/+2
| | | | | | | | | | | | o) DEVKIT - to install the headers and static library o) IPV6 - to enable IPv6 o) PCRE2 - for regular expressions with devel/pcre2 o) SSL - to use SSL/TLS Bump PORTREVISION. Notes: svn path=/head/; revision=555716
* Update from 1.20.0 to 1.21.0.Sergey A. Osokin2020-11-192-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <ChangeLog> *) Change: procfs is mounted by default for all languages when "rootfs" isolation is used. *) Change: any characters valid according to RFC 7230 are now allowed in HTTP header field names. *) Change: HTTP header fields with underscores ("_") are now discarded from requests by default. *) Feature: optional multithreaded request processing for Java, Python, Perl, and Ruby apps. *) Feature: regular expressions in route matching patterns. *) Feature: compatibility with Python 3.9. *) Feature: the Python module now supports ASGI 2.0 legacy applications. *) Feature: the "protocol" option in Python applications aids choice between ASGI and WSGI. *) Feature: the fastcgi_finish_request() PHP function that finalizes request processing and continues code execution without holding onto the client connection. *) Feature: the "discard_unsafe_fields" HTTP option that enables discarding request header fields with irregular (but still valid) characters in the field name. *) Feature: the "procfs" and "tmpfs" automount isolation options to disable automatic mounting of eponymous filesystems. *) Bugfix: the router process could crash when running Go applications under high load; the bug had appeared in 1.19.0. *) Bugfix: some language dependencies could remain mounted after using "rootfs" isolation. *) Bugfix: various compatibility issues in Java applications. *) Bugfix: the Java module built with the musl C library couldn't run applications that use "rootfs" isolation. </ChangeLog> Notes: svn path=/head/; revision=555714
* Add NGINX Unit's Java module.Sergey A. Osokin2020-10-221-1/+1
| | | | Notes: svn path=/head/; revision=553058
* Update from 1.19.0 to 1.20.0.Sergey A. Osokin2020-10-082-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove a needless directive. <ChangeLog> *) Change: the PHP module is now initialized before chrooting; this enables loading all extensions from the host system. *) Change: AVIF and APNG image formats added to the default MIME type list. *) Change: functional tests migrated to the pytest framework. *) Feature: the Python module now fully supports applications that use the ASGI 3.0 server interface. *) Feature: the Python module now has a built-in WebSocket server implementation for applications, compatible with the HTTP & WebSocket ASGI Message Format 2.1 specification. *) Feature: automatic mounting of an isolated "/tmp" file system into chrooted application environments. *) Feature: the $host variable contains a normalized "Host" request value. *) Feature: the "callable" option sets Python application callable names. *) Feature: compatibility with PHP 8 RC 1. Thanks to Remi Collet. *) Feature: the "automount" option in the "isolation" object allows to turn off the automatic mounting of language module dependencies. *) Bugfix: "pass"-ing requests to upstreams from a route was broken; the bug had appeared in 1.19.0. Thanks to 洪志道 (Hong Zhi Dao) for discovering and fixing it. *) Bugfix: the router process could crash during reconfiguration. *) Bugfix: a memory leak occurring in the router process; the bug had appeared in 1.18.0. *) Bugfix: the "!" (non-empty) pattern was matched incorrectly; the bug had appeared in 1.19.0. *) Bugfix: fixed building on platforms without sendfile() support, notably NetBSD; the bug had appeared in 1.16.0. </ChangeLog> Notes: svn path=/head/; revision=551732
* Update from 1.18.0 to 1.19.0.Sergey A. Osokin2020-08-133-174/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <ChangeLog> *) Feature: reworked IPC between the router process and the applications to lower latencies, increase performance, and improve scalability. *) Feature: support for an arbitrary number of wildcards in route matching patterns. *) Feature: chunked transfer encoding in proxy responses. *) Feature: basic variables support in the "pass" option. *) Feature: compatibility with PHP 8 Beta 1. Thanks to Remi Collet. *) Bugfix: the router process could crash while passing requests to an application under high load. *) Bugfix: a number of language modules failed to build on some systems; the bug had appeared in 1.18.0. *) Bugfix: time in error log messages from PHP applications could lag. *) Bugfix: reconfiguration requests could hang if an application had failed to start; the bug had appeared in 1.18.0. *) Bugfix: memory leak during reconfiguration. *) Bugfix: the daemon didn't start without language modules; the bug had appeared in 1.18.0. *) Bugfix: the router process could crash at exit. *) Bugfix: Node.js applications could crash at exit. *) Bugfix: the Ruby module could be linked against a wrong library version. </ChangeLog> Notes: svn path=/head/; revision=544843
* Fix the python37 module's build.Sergey A. Osokin2020-05-292-0/+171
| | | | | | | | | | Bump PORTREVISION. Obtained from: http://mailman.nginx.org/pipermail/unit/attachments/20200529/00d509ab/attachment.txt Submitted by: Tiago Natel de Moura <t.nateldemoura@f5.com> Notes: svn path=/head/; revision=536995
* Update from 1.17.0 to 1.18.0.Sergey A. Osokin2020-05-282-4/+4
| | | | | | | | | | | | | | | | | <ChangeLog> *) Feature: the "rootfs" isolation option for changing root filesystem for an application. *) Feature: multiple "targets" in PHP applications. *) Feature: support for percent-encoding in the "uri" and "arguments" matching options and in the "pass" option. </ChangeLog> Notes: svn path=/head/; revision=536822
* Update from 1.16.0 to 1.17.0.Sergey A. Osokin2020-04-162-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This release introduces two handy features, please take a look on http://mailman.nginx.org/pipermail/unit/2020-April/000199.html for details. <ChangeLog> *) Feature: a "return" action with optional "location" for immediate responses and external redirection. *) Feature: fractional weights support for upstream servers. *) Bugfix: accidental 502 "Bad Gateway" errors might have occurred in applications under high load. *) Bugfix: memory leak in the router; the bug had appeared in 1.13.0. *) Bugfix: segmentation fault might have occurred in the router process when reaching open connections limit. *) Bugfix: "close() failed (9: Bad file descriptor)" alerts might have appeared in the log while processing large request bodies; the bug had appeared in 1.16.0. *) Bugfix: existing application processes didn't reopen the log file. *) Bugfix: incompatibility with some Node.js applications. *) Bugfix: broken build on DragonFly BSD; the bug had appeared in 1.16.0. </ChangeLog> Notes: svn path=/head/; revision=531879
* Change default user for non-priveleged processes of NGINX UnitSergey A. Osokin2020-03-162-3/+24
| | | | | | | | | | | from `nobody' to `www' user. Also check the directory for temporary files exists and has correct permissions. Bump PORTREVISION. Notes: svn path=/head/; revision=528539
* Update from 1.15.0 to 1.16.0.Sergey A. Osokin2020-03-122-12/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sort knobs, configure arguments, and sub list. This release improves the functionality related to proxying and static media asset handling, please visit http://mailman.nginx.org/pipermail/unit/2020-March/000195.html to get more details. <ChangeLog> *) Feature: basic load-balancing support with round-robin. *) Feature: a "fallback" option that performs an alternative action if a request can't be served from the "share" directory. *) Feature: reduced memory consumption by dumping large request bodies to disk. *) Feature: stripping UTF-8 BOM and JavaScript-style comments from uploaded JSON. *) Bugfix: negative address matching in router might work improperly in combination with non-negative patterns. *) Bugfix: Java Spring applications failed to run; the bug had appeared in 1.10.0. *) Bugfix: PHP 7.4 was broken if it was built with thread safety enabled. *) Bugfix: compatibility issues with some Python applications. </ChangeLog> Notes: svn path=/head/; revision=528319
* Sort plist.Sergey A. Osokin2020-02-141-1/+1
| | | | Notes: svn path=/head/; revision=526081
* Use make, it works fine.Sergey A. Osokin2020-02-141-2/+2
| | | | Notes: svn path=/head/; revision=526078
* This commit introduces two new knobs:Sergey A. Osokin2020-02-131-0/+29
| | | | | | | | | | o) SSL - enable SSL/TLS, disable by default; o) DEVKIT - install unit static library and headers for development. Bump PORTREVISION. Notes: svn path=/head/; revision=526068
* Update from 1.14.0 to 1.15.0.Sergey A. Osokin2020-02-062-4/+4
| | | | | | | | | | | | | | | | | | | | | <ChangeLog> *) Change: extensions of dynamically requested PHP scripts were restricted to ".php". *) Feature: compatibility with Ruby 2.7. *) Bugfix: segmentation fault might have occurred in the router process with multiple application processes under load; the bug had appeared in 1.14.0. *) Bugfix: receiving request body over TLS connection might have stalled. </ChangeLog> Notes: svn path=/head/; revision=525394
* Update from 1.13.0 to 1.14.0.Sergey A. Osokin2019-12-272-4/+4
| | | | | | | | | | | | | | | | | | | | | | <ChangeLog> *) Change: the Go package import name changed to "unit.nginx.org/go". *) Change: Go package now links to libunit instead of including library sources. *) Feature: ability to change user and group for isolated applications when Unit daemon runs as an unprivileged user. *) Feature: request routing by source and destination addresses and ports. *) Bugfix: memory bloat on large responses. </ChangeLog> Notes: svn path=/head/; revision=520981
* Update from 1.12.0 to 1.13.0.Sergey A. Osokin2019-11-142-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | <ChangeLog> *) Feature: basic support for HTTP reverse proxying. *) Feature: compatibility with Python 3.8. *) Bugfix: memory leak in Python application processes when the close handler was used. *) Bugfix: threads in Python applications might not work correctly. *) Bugfix: Ruby on Rails applications might not work on Ruby 2.6. *) Bugfix: backtraces for uncaught exceptions in Python 3 might be logged with significant delays. *) Bugfix: explicit setting a namespaces isolation option to false might have enabled it. </ChangeLog> Notes: svn path=/head/; revision=517605
* Update from 1.11.0 to 1.12.0.Sergey A. Osokin2019-10-042-4/+4
| | | | | | | | | | | | | | | | | | | | <ChangeLog> *) Feature: compatibility with PHP 7.4. *) Bugfix: descriptors leak on process creation; the bug had appeared in 1.11.0. *) Bugfix: TLS connection might be closed prematurely while sending response. *) Bugfix: segmentation fault might have occurred if an irregular file was requested. </ChangeLog> Notes: svn path=/head/; revision=513764
* Update from 1.10.0 to 1.11.0.Sergey A. Osokin2019-09-192-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Please read the following email to better understand how to use new nginx unit features, http://mailman.nginx.org/pipermail/unit/2019-September/000167.html <ChangeLog> *) Feature: basic support for serving static files. *) Feature: isolation of application processes with Linux namespaces. *) Feature: built-in WebSocket server implementation for Java Servlet Containers. *) Feature: direct addressing of API configuration options containing slashes "/" using URI encoding (%2F). *) Bugfix: segmentation fault might have occurred in Go applications under high load. *) Bugfix: WebSocket support was broken if Unit was built with some linkers other than GNU ld (e.g. gold or LLD). </ChangeLog> Notes: svn path=/head/; revision=512368
* Update from 1.9.0 to 1.10.0.Sergey A. Osokin2019-08-222-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <ChangeLog> *) Change: matching of cookies in routes made case sensitive. *) Change: decreased log level of common errors when clients close connections. *) Change: removed the Perl module's "--include=" ./configure option. *) Feature: built-in WebSocket server implementation for Node.js module. *) Feature: splitting PATH_INFO from request URI in PHP module. *) Feature: request routing by scheme (HTTP or HTTPS). *) Feature: support for multipart requests body in Java module. *) Feature: improved API compatibility with Node.js 11.10 or later. *) Bugfix: reconfiguration failed if "listeners" or "applications" objects were missing. *) Bugfix: applying a large configuration might have failed. </ChangeLog> Notes: svn path=/head/; revision=509624
* Bump PORTREVISION for ports depending on the canonical version of GCCGerald Pfeifer2019-07-261-0/+1
| | | | | | | | | | | | | | | | | | as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330 Notes: svn path=/head/; revision=507372
* Update from 1.8.0 to 1.9.0.Sergey A. Osokin2019-06-012-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <ChangeLog> *) Feature: request routing by arguments, headers, and cookies. *) Feature: route matching patterns allow a wildcard in the middle. *) Feature: POST operation for appending elements to arrays in configuration. *) Feature: support for changing credentials using CAP_SETUID and CAP_SETGID capabilities on Linux without running main process as privileged user. *) Bugfix: memory leak in the router process might have happened when a client prematurely closed the connection. *) Bugfix: applying a large configuration might have failed. *) Bugfix: PUT and DELETE operations on array elements in configuration did not work. *) Bugfix: request schema in applications did not reflect TLS connections. *) Bugfix: restored compatibility with Node.js applications that use ServerResponse._implicitHeader() function; the bug had appeared in 1.7. *) Bugfix: various compatibility issues with Node.js applications. </ChangeLog> Notes: svn path=/head/; revision=503246
* Update from 1.7.1 to 1.8.0.Sergey A. Osokin2019-03-092-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <ChangeLog> *) Change: now three numbers are always used for versioning: major, minor, and patch versions. *) Change: now QUERY_STRING is always defined even if the request does not include the query component. *) Feature: basic internal request routing by Host, URI, and method. *) Feature: experimental support for Java Servlet Containers. *) Bugfix: segmentation fault might have occurred in the router process. *) Bugfix: various potential memory leaks. *) Bugfix: TLS connections might have stalled. *) Bugfix: some Perl applications might have failed to send the response body. *) Bugfix: some compilers with specific flags might have produced non-functioning builds; the bug had appeared in 1.5. *) Bugfix: Node.js package had wrong version number when installed from sources. </ChangeLog> Notes: svn path=/head/; revision=495213
* Security update www/unit from 1.7.0 to 1.7.1.Sergey A. Osokin2019-02-082-4/+4
| | | | | | | | | | | | | | | | | | | <ChangeLog> Everybody is strongly advised to update to a new version. *) Security: a heap memory buffer overflow might have been caused in the router process by a specially crafted request, potentially resulting in a segmentation fault or other unspecified behavior (CVE-2019-7401). *) Bugfix: install of Go module failed without prior building of Unit daemon; the bug had appeared in 1.7. </ChangeLog> Notes: svn path=/head/; revision=492403
* Upgrade from 1.6 to 1.7.Sergey A. Osokin2018-12-213-116/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <ChangeLog> *) Change: now rpath is set in Ruby module only if the library was not found in default search paths; this allows to meet packaging restrictions on some systems. *) Bugfix: "disable_functions" and "disable_classes" PHP options set via Control API did not work. *) Bugfix: Promises on request data in Node.js were not triggered. *) Bugfix: various compatibility issues with Node.js applications. *) Bugfix: a segmentation fault occurred in Node.js module if application tried to read request body after request.end() was called. *) Bugfix: a segmentation fault occurred in Node.js module if application attempted to send header twice. *) Bugfix: names of response header fields in Node.js module were erroneously treated as case-sensitive. *) Bugfix: uncatched exceptions in Node.js were not logged. *) Bugfix: global install of Node.js module from sources was broken on some systems; the bug had appeared in 1.6. *) Bugfix: traceback for exceptions during initialization of Python applications might not be logged. *) Bugfix: PHP module build failed if PHP interpreter was built with thread safety enabled. </ChangeLog> Notes: svn path=/head/; revision=487932
* Fix build on GCC-based architectures.Sergey A. Osokin2018-12-141-2/+2
| | | | | | | | | Bump PORTREVISION. PR: 233982 Notes: svn path=/head/; revision=487398
* These ports now build on powerpc64.Mark Linimon2018-12-051-2/+0
| | | | | | | | | While here, pet portlint. Approved by: portmgr (tier-2 blanket) Notes: svn path=/head/; revision=486720
* Fix the unit's php module build when the lang/php* was built withSergey A. Osokin2018-11-192-0/+112
| | | | | | | | | | | | the ZTS option. Bump PORTREVISION. PR: 233255 Patch: https://github.com/nginx/unit/issues/184 Notes: svn path=/head/; revision=485364
* Upgrade from 1.5 to 1.6.Sergey A. Osokin2018-11-152-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | <ChangeLog> *) Change: "make install" now installs Node.js module as well if it was configured. *) Feature: "--local" ./configure option to install Node.js module locally. *) Bugfix: Node.js module might have crashed due to broken reference counting. *) Bugfix: asynchronous operations in Node.js might not have worked. *) Bugfix: various compatibility issues with Node.js applications. *) Bugfix: "freed pointer is out of pool" alerts might have appeared in log. *) Bugfix: module discovery didn't work on 64-bit big-endian systems like IBM/S390x. </ChangeLog> Notes: svn path=/head/; revision=485049
* Upgrade from 1.4 to 1.5.Sergey A. Osokin2018-10-252-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <ChangeLog> *) Change: the "type" of application object for Go was changed to "external". *) Feature: initial version of Node.js package with basic HTTP request-response support. *) Feature: compatibility with LibreSSL. *) Feature: --libdir and --incdir ./configure options to install libunit headers and static library. *) Bugfix: connection might be closed prematurely while sending response; the bug had appeared in 1.3. *) Bugfix: application processes might have stopped handling requests, producing "last message send failed: Resource temporarily unavailable" alerts in log; the bug had appeared in 1.4. *) Bugfix: Go applications didn't work when Unit was built with musl C library. </ChangeLog> Notes: svn path=/head/; revision=482992
* Upgrade from 1.3 to 1.4.Sergey A. Osokin2018-09-222-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <ChangeLog> *) Change: the control API maps the configuration object only at "/config/". *) Feature: TLS support for client connections. *) Feature: TLS certificates storage control API. *) Feature: Unit library (libunit) to streamline language module integration. *) Feature: "408 Request Timeout" responses while closing HTTP keep-alive connections. *) Feature: improvements in OpenBSD support. Thanks to David Carlier. *) Bugfix: a segmentation fault might have occurred after reconfiguration. *) Bugfix: building on systems with non-default locale might be broken. *) Bugfix: "header_read_timeout" might not work properly. *) Bugfix: header fields values with non-ASCII bytes might be handled incorrectly in Python 3 module. </ChangeLog> Notes: svn path=/head/; revision=480388
* Mark various ports broken on powerpc64.Mark Linimon2018-09-101-0/+2
| | | | | | | Approved by: portmgr (tier-2 blanket) Notes: svn path=/head/; revision=479351
* Remove redundant DOCS, NLS, EXAMPLES, and IPV6 from OPTIONS_DEFAULT as theyAlexey Dokuchaev2018-08-301-2/+1
| | | | | | | | are put there by the framework (see line 200 of Mk/bsd.options.mk), except for `finance/quantlib' which makes very unorthodoxal usage of port options. Notes: svn path=/head/; revision=478429
* Fix package list.Sergey A. Osokin2018-07-251-0/+1
| | | | | | | Bump PORTREVISION. Notes: svn path=/head/; revision=475293
* Upgrade from 1.2 to 1.3.Sergey A. Osokin2018-07-172-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | <ChangeLog> *) Change: UTF-8 characters are now allowed in request header field values. *) Feature: configuration of the request body size limit. *) Feature: configuration of various HTTP connection timeouts. *) Feature: Ruby module now automatically uses Bundler where possible. *) Feature: http.Flusher interface in Go module. *) Bugfix: various issues in HTTP connection errors handling. *) Bugfix: requests with body data might be handled incorrectly in PHP module. *) Bugfix: individual PHP configuration options specified via control API were reset to previous values after the first request in application process. </ChangeLog> Notes: svn path=/head/; revision=474772
* Upgrade from 1.1 to 1.2.Sergey A. Osokin2018-06-102-4/+4
| | | | | | | | | | | | | | | | | | | | <ChangeLog> *) Feature: configuration of environment variables for application processes. *) Feature: customization of php.ini path. *) Feature: setting of individual PHP configuration options. *) Feature: configuration of execution arguments for Go applications. *) Bugfix: keep-alive connections might hang after reconfiguration. </ChangeLog> Notes: svn path=/head/; revision=472155
* Upgrade from 1.0 to the latest bugfix release 1.1.Sergey A. Osokin2018-04-262-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <ChangeLog> *) Bugfix: Python applications that use the write() callable did not work. *) Bugfix: virtual environments created with Python 3.3 or above might not have worked. *) Bugfix: the request.Read() function in Go applications did not produce EOF when the whole body was read. *) Bugfix: a segmentation fault might have occurred while access log reopening. *) Bugfix: in parsing of IPv6 control socket addresses. *) Bugfix: loading of application modules was broken on OpenBSD. *) Bugfix: a segmentation fault might have occurred when there were two modules with the same type and version; the bug had appeared in 1.0. *) Bugfix: alerts "freed pointer points to non-freeble page" might have appeared in log on 32-bit platforms. </ChangeLog> Notes: svn path=/head/; revision=468387
* Upgrade from 0.6 to 1.0.Sergey A. Osokin2018-04-232-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <ChangeLog> Changes with Unit 1.0 12 Apr 2018 *) Change: configuration object moved into "/config/" path. *) Feature: basic access logging. *) Bugfix: 503 error occurred if Go application did not write response header or body. *) Bugfix: Ruby applications that use encoding conversions might not work. *) Bugfix: various stability issues. Changes with Unit 0.7 22 Mar 2018 *) Feature: Ruby application module. *) Bugfix: in discovering modules. *) Bugfix: various race conditions on reconfiguration and during shutting down. *) Bugfix: tabs and trailing spaces were not allowed in header fields values. *) Bugfix: a segmentation fault occurred in Python module if start_response() was called outside of WSGI callable. *) Bugfix: a segmentation fault might occur in PHP module if there was an error while initialization. </ChangeLog> Notes: svn path=/head/; revision=468145
* Upgrade from 0.4 to 0.6.Sergey A. Osokin2018-02-102-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <ChangeLog> *) Bugfix: the main process died when the "type" application option contained version; the bug had appeared in 0.5. *) Change: the "workers" application option was removed, the "processes" application option should be used instead. *) Feature: the "processes" application option with prefork and dynamic process management support. *) Feature: Perl application module. *) Bugfix: in reading client request body; the bug had appeared in 0.3. *) Bugfix: some Python applications might not work due to missing "wsgi.errors" environ variable. *) Bugfix: HTTP chunked responses might be encoded incorrectly on 32-bit platforms. *) Bugfix: infinite looping in HTTP parser. *) Bugfix: segmentation fault in router. </ChangeLog> Notes: svn path=/head/; revision=461349
* Upgrade from 0.3 to 0.4.Sergey A. Osokin2018-01-252-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | PR: 225386 <ChangeLog> *) Feature: compatibility with DragonFly BSD. *) Feature: "configure php --lib-static" option. *) Bugfix: HTTP request body was not passed to application; the bug had appeared in 0.3. *) Bugfix: HTTP large header buffers allocation and deallocation fixed; the bug had appeared in 0.3. *) Bugfix: some PHP applications might not work with relative "root" path. </ChangeLog> Notes: svn path=/head/; revision=459969
* Add back LOG/RUN directories creation to fix unit's start-up.Sergey A. Osokin2018-01-201-0/+5
| | | | | | | | | Bump PORTREVISION. PR: 225213 Notes: svn path=/head/; revision=459542