notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
unit Dynamic web application server
1.12.0 www on this many watch lists=3 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port 1.11.0Version of this port present on the latest quarterly branch.
Maintainer: osa@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2017-11-16 00:19:21
Last Update: 2019-10-04 13:12:55
SVN Revision: 513764
License: APACHE20
Description:
SVNWeb : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (6 items)
  1. sbin/unitd
  2. /usr/local/share/licenses/unit-1.12.0/catalog.mk
  3. /usr/local/share/licenses/unit-1.12.0/LICENSE
  4. /usr/local/share/licenses/unit-1.12.0/APACHE20
  5. @dir libexec/unit/modules
  6. @dir libexec/unit
Collapse this list.
Dependency lines:
  • unit>0:www/unit
To install the port: cd /usr/ports/www/unit/ && make install clean
To add the package: pkg install unit
PKGNAME: unit
Flavors: there is no flavor information for this port.
distinfo:

Slave ports
  1. www/py-unit
  2. www/unit-perl
  3. www/unit-php

There are no ports dependent upon this port

Configuration Options

USES:

Master Sites:
  1. https://unit.nginx.org/download/

Number of commits found: 29

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
04 Oct 2019 12:12:55
Original commit files touched by this commit  1.12.0
Revision:513764
osa search for other commits by this committer
Update from 1.11.0 to 1.12.0.

<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>
19 Sep 2019 19:20:39
Original commit files touched by this commit  1.11.0
Revision:512368
osa search for other commits by this committer
Update from 1.10.0 to 1.11.0.

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>
22 Aug 2019 21:27:39
Original commit files touched by this commit  1.10.0
Revision:509624
osa search for other commits by this committer
Update from 1.9.0 to 1.10.0.

<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.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
26 Jul 2019 20:46:57
Original commit files touched by this commit  1.9.0_1
Revision:507372
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
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
01 Jun 2019 17:59:52
Original commit files touched by this commit  1.9.0
Revision:503246
osa search for other commits by this committer
Update from 1.8.0 to 1.9.0.

<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.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
09 Mar 2019 22:53:28
Original commit files touched by this commit  1.8.0
Revision:495213
osa search for other commits by this committer
Update from 1.7.1 to 1.8.0.

<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.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
08 Feb 2019 01:06:40
Original commit files touched by this commit  1.7.1
Revision:492403
osa search for other commits by this committer
Security update www/unit from 1.7.0 to 1.7.1.

<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>
21 Dec 2018 00:09:17
Original commit files touched by this commit  1.7
Revision:487932 This port version is marked as vulnerable.
osa search for other commits by this committer
Upgrade from 1.6 to 1.7.

<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.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
14 Dec 2018 00:41:54
Original commit files touched by this commit  1.6_2
Revision:487398 This port version is marked as vulnerable.
osa search for other commits by this committer
Fix build on GCC-based architectures.
Bump PORTREVISION.

PR:	233982
05 Dec 2018 20:01:11
Original commit files touched by this commit  1.6_1
Revision:486720 This port version is marked as vulnerable.
linimon search for other commits by this committer
These ports now build on powerpc64.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
19 Nov 2018 21:40:15
Original commit files touched by this commit  1.6_1
Revision:485364 This port version is marked as vulnerable.
osa search for other commits by this committer
Fix the unit's php module build when the lang/php* was built with
the ZTS option.

Bump PORTREVISION.

PR:	233255
Patch:	https://github.com/nginx/unit/issues/184
15 Nov 2018 21:30:08
Original commit files touched by this commit  1.6
Revision:485049 This port version is marked as vulnerable.
osa search for other commits by this committer
Upgrade from 1.5 to 1.6.

<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>
25 Oct 2018 21:03:46
Original commit files touched by this commit  1.5
Revision:482992 This port version is marked as vulnerable.
osa search for other commits by this committer
Upgrade from 1.4 to 1.5.

<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.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
22 Sep 2018 14:21:58
Original commit files touched by this commit  1.4
Revision:480388 This port version is marked as vulnerable.
osa search for other commits by this committer
Upgrade from 1.3 to 1.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
(Only the first 15 lines of the commit message are shown above View all of this commit message)
10 Sep 2018 02:06:13
Original commit files touched by this commit  1.3_1
Revision:479351 This port version is marked as vulnerable.
linimon search for other commits by this committer
Mark various ports broken on powerpc64.

Approved by:	portmgr (tier-2 blanket)
30 Aug 2018 04:05:08
Original commit files touched by this commit  1.3_1
Revision:478429 This port version is marked as vulnerable.
danfe search for other commits by this committer
Remove redundant DOCS, NLS, EXAMPLES, and IPV6 from OPTIONS_DEFAULT as they
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.
25 Jul 2018 02:58:01
Original commit files touched by this commit  1.3_1
Revision:475293 This port version is marked as vulnerable.
osa search for other commits by this committer
Fix package list.
Bump PORTREVISION.
17 Jul 2018 04:11:30
Original commit files touched by this commit  1.3
Revision:474772 This port version is marked as vulnerable.
osa search for other commits by this committer
Upgrade from 1.2 to 1.3.

<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>
10 Jun 2018 19:45:57
Original commit files touched by this commit  1.2
Revision:472155 This port version is marked as vulnerable.
osa search for other commits by this committer
Upgrade from 1.1 to 1.2.

<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>
26 Apr 2018 21:45:34
Original commit files touched by this commit  1.1
Revision:468387 This port version is marked as vulnerable.
osa search for other commits by this committer
Upgrade from 1.0 to the latest bugfix release 1.1.

<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.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
23 Apr 2018 22:58:28
Original commit files touched by this commit  1.0
Revision:468145 This port version is marked as vulnerable.
osa search for other commits by this committer
Upgrade from 0.6 to 1.0.

<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.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
10 Feb 2018 00:10:52
Original commit files touched by this commit  0.6
Revision:461349 This port version is marked as vulnerable.
osa search for other commits by this committer
Upgrade from 0.4 to 0.6.

<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.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
25 Jan 2018 23:02:37
Original commit files touched by this commit  0.4
Revision:459969 This port version is marked as vulnerable.
osa search for other commits by this committer
Upgrade from 0.3 to 0.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>
20 Jan 2018 19:36:17
Original commit files touched by this commit  0.3_1
Revision:459542 This port version is marked as vulnerable.
osa search for other commits by this committer
Add back LOG/RUN directories creation to fix unit's start-up.
Bump PORTREVISION.

PR:	225213
05 Jan 2018 21:09:27
Original commit files touched by this commit  0.3
Revision:458171 This port version is marked as vulnerable.
osa search for other commits by this committer
Upgrade from 0.2 to 0.3.

<ChangeLog>

*) Change: the Go package name changed to "nginx/unit".

*) Change: in the "limits.timeout" application option: application start
   time and time in queue now are not accounted.

*) Feature: the "limits.requests" application option.

*) Feature: application request processing latency optimization.

*) Feature: HTTP keep-alive connections support.

*) Feature: the "home" Python virtual environment configuration option.

*) Feature: Python atexit hook support.

*) Feature: various Go package improvements.

*) Bugfix: various crashes fixed.

</ChangeLog>
09 Dec 2017 19:46:42
Original commit files touched by this commit  0.2_1
Revision:455874
lwhsu search for other commits by this committer
www/unit: separate and complete language modules

Approved by:	osa
Differential Revision:	https://reviews.freebsd.org/D13227
21 Nov 2017 00:56:27
Original commit files touched by this commit  0.2_1
Revision:454584
osa search for other commits by this committer
Use LOCALBASE instead of PREFIX for installed dependences.

Bump PORTREVISION.
16 Nov 2017 00:23:49
Original commit files touched by this commit  0.2
Revision:454296
osa search for other commits by this committer
Update `Created by:' field.
16 Nov 2017 00:19:14
Original commit files touched by this commit  0.2
Revision:454295
osa search for other commits by this committer
Add NGINX unit - a dynamic web application server, designed to
run applications in multiple languages.

Please visit the http://unit.nginx.org/ site for more details.

Number of commits found: 29

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
py-pillowOct 15
mod_perl2Oct 09
xpdfOct 06
xpdf3Oct 06
xpdf4Oct 06
unboundOct 03
cactiOct 02
gitlab-ceOct 02
gitlab-ceOct 02
ruby24Oct 02
ruby25Oct 02
mongodb34Sep 30
mongodb34Sep 30
mongodb36Sep 30
mongodb36Sep 30

8 vulnerabilities affecting 24 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2019-10-15 15:43:31


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 37997
Broken 396
Deprecated 425
Ignore 662
Forbidden 3
Restricted 160
No CDROM 74
Vulnerable 30
Expired 8
Set to expire 396
Interactive 0
new 24 hours 1
new 48 hours8
new 7 days27
new fortnight61
new month229

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2019 Dan Langille. All rights reserved.