Port details |
- unit-python Python module for NGINX Unit
- 1.33.0_2 www =2 1.30.0Version of this port present on the latest quarterly branch.
- Maintainer: osa@FreeBSD.org
- Port Added: 2020-10-21 15:54:27
- Last Update: 2024-10-24 03:41:56
- Commit Hash: 82177cb1
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- License: APACHE20
- WWW:
- https://unit.nginx.org
- Description:
- NGINX Unit is a dynamic web application server, designed to run applications
in multiple languages. Unit is lightweight, polyglot, and dynamically
configured via API. The design of the server allows reconfiguration of
specific application parameters as needed by the engineering or operations.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- unit-python311>0:www/unit-python
- To install the port:
- cd /usr/ports/www/unit-python/ && make install clean
- To add the package, run one of these commands:
- pkg install www/unit-python
- pkg install unit-python311
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: unit-python311
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1726786423
SHA256 (unit-1.33.0.tar.gz) = 2a95937473c8ff01f6fbaa0103b388c769df8a23962248b0b9cb80b606d74155
SIZE (unit-1.33.0.tar.gz) = 1025455
Packages (timestamps in pop-ups are UTC):
- Master port: www/unit
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- python3.11 : lang/python311
- gettext-runtime>=0.22_1 : devel/gettext-runtime
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- unitd : www/unit
- python3.11 : lang/python311
- Library dependencies:
-
- libpcre2-8.so : devel/pcre2
- libintl.so : devel/gettext-runtime
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for unit-python311-1.33.0_2:
DEBUG=off: Enable debug logging
IPV6=on: IPv6 protocol support
NJS=off: Enable NGINX JavaScript
SSL=on: Enable SSL/TLS
UNIXSOCK=on: Enable unix sockets
====> Support regular expressions: you can only select none or one of them
NOPCRE=off: No support for Regular Expressions
PCRE=off: Regular Expressions via devel/pcre
PCRE2=on: Regular Expressions via devel/pcre2
===> Use 'make config' to modify these settings
- Options name:
- www_unit-python
- USES:
- python:3.8-3.11 gettext-runtime compiler:c11 cpe ssl
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
This is a slave port. You may also want to view the commits to the master port: www/unit |
Commit | Credits | Log message |
1.33.0_1 24 Oct 2024 03:41:56 |
Li-Wen Hsu (lwhsu) |
www/unit*: Remove use of DO_NADA
Reviewed by: osa
Differential Revision: https://reviews.freebsd.org/D47225 |
1.30.0 27 Jun 2023 19:34:34 |
Rene Ladan (rene) |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
1.30.0 12 May 2023 14:36:16 |
Sergey A. Osokin (osa) |
*/*unit*: update NGINX Unit: 1.29.1 -> 1.30.0
<ChangeLog>
*) Change: remove Unix domain listen sockets upon reconfiguration.
*) Feature: basic URI rewrite support.
*) Feature: NJS loadable modules support.
*) Feature: per-application logging.
*) Feature: conditional logging of route selection.
*) Feature: support the keys API on the request objects in NJS. (Only the first 15 lines of the commit message are shown above ) |
1.29.0 16 Dec 2022 00:44:14 |
Sergey A. Osokin (osa) |
*/unit*: update NGINX Unit from 1.28.0 to 1.29.0
<ChangeLog>
*) Change: removed $uri auto-append for "share" when loading
configuration.
*) Change: prefer system crypto policy instead of hardcoding a default.
*) Feature: njs support with the basic syntax of JS template literals.
*) Feature: support per-application cgroups on Linux.
*) Feature: the $request_time variable contains the request processing
time. (Only the first 15 lines of the commit message are shown above ) |
1.27.0 20 Jul 2022 14:23:26 |
Tobias C. Berner (tcberner) |
www: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
*
* <hvo.pm@xs4all.nl>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron LI <aly@aaronly.me>
* Aaron Zauner <az_mail@gmx.at>
* Abel Chow <achow@transoft.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Adrian Steinmann <ast@marabu.ch>
* Akinori MUSHA aka knu <knu@idaemons.org> (Only the first 15 lines of the commit message are shown above ) |
1.27.0 02 Jun 2022 16:40:55 |
Sergey A. Osokin (osa) |
www/unit*: update from 1.26.1* to 1.27.0
<ChangeLog>
*) Feature: ability to specify a custom index file name when serving
static files.
*) Feature: variables support in the "location" option of the "return"
action.
*) Feature: support empty strings in the "location" option of the
"return" action.
*) Feature: added a new variable, $request_uri, that includes both the
path and the query parts as per RFC 3986, sections 3-4. (Only the first 15 lines of the commit message are shown above ) |
1.26.1_1 17 Dec 2021 11:25:46 |
Dima Panov (fluffy) |
www/unit-python: not ready for Python 3.11 yet
Approved by: portmgr blanket
Sponsored by: Netzkommune GmbH |
1.26.1_1 16 Dec 2021 04:04:49 |
Sergey A. Osokin (osa) |
www/unit-*: use more canonical way to configure and build
NGINX Unit modules ports depend on www/unit and require to run
an additional configure command for a specific version of a
programming language. This change make those commands more
consistent with configure and make parameters for the Unit
binary and its modules.
Bump PORTREVISIONs. |
1.24.0 27 May 2021 15:38:20 |
Sergey A. Osokin (osa) |
www/unit: update from 1.23.0 to 1.24.0.
Update distinfo file for www/unit-java.
Also, remove needless "3.6+" flag for python dependency because
www/unit supports all python versions.
<ChangeLog>
*) Change: PHP added to the default MIME type list.
*) Feature: arbitrary configuration of TLS connections via OpenSSL
commands.
*) Feature: the ability to limit static file serving by MIME types.
(Only the first 15 lines of the commit message are shown above ) |
1.23.0 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
1.23.0 25 Mar 2021 17:08:19 |
osa |
Update from 1.22.0 to 1.23.0.
<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. (Only the first 15 lines of the commit message are shown above ) |
1.21.0_4 28 Dec 2020 23:02:15 |
antoine |
Drop python 2.7 support from a few ports
With hat: portmgr |
1.21.0 19 Nov 2020 20:31:34 |
osa |
Update from 1.20.0 to 1.21.0.
<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. (Only the first 15 lines of the commit message are shown above ) |
1.20.0_2 23 Oct 2020 13:51:16 |
osa |
Stylify: use CONFIGURE_CMD macro.
Do not bump PORTREVISION. |
1.20.0_2 21 Oct 2020 21:59:57 |
osa |
Introduce the UNIT_MODNAME variable.
Since this is just an infrastructure change, do not bump
PORTREVISION. |
1.20.0_2 21 Oct 2020 20:58:31 |
osa |
It's possible to build an NGINX Unit module without
a unitd binary build, so skip unit binary build to
be more green.
Bump PORTREVISION.
Suggested by: Valentin Bartenev <ne@vbart.ru> |
1.20.0_1 21 Oct 2020 19:37:31 |
osa |
Make the NGINX Unit modules depend on www/unit, that
helps to be more consistent during an upgrade.
Bump PORTREVISIONs. |
1.20.0 21 Oct 2020 15:54:22 |
osa |
Repo-copy www/py-unit to www/unit-python to be more consistent
with the naming convention.
Update www/unit-python to build with new name.
Disconnect www/py-unit from the build. |