Warning: Undefined array key 1 in /usr/local/www/freshports/include/freshports.php on line 2807

Warning: Undefined array key 1 in /usr/local/www/freshports/include/freshports.php on line 2807

Warning: Undefined array key 1 in /usr/local/www/freshports/include/freshports.php on line 2807

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/freshports/include/freshports.php:2807) in /usr/local/www/freshports/rewrite/missing-port.php on line 949

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/freshports/include/freshports.php:2807) in /usr/local/www/freshports/include/freshports.php on line 1022
FreshPorts -- www/unit-python: Python module for NGINX Unit
notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
2024-11-06 Today brought in a new category: filesystems. Sadly, the website did not process it well. I am working on that. It may take a few days.
2024-11-07 Commit processing is halted. I have a fix for the new category. It is making its way through the system.
UPDATE: the backend is processing the original filesystems commit now. It should take about an hour.
UPDATE: as of 20:30 UTC, the filesystems commit has been processed. Commit processing is now up to date.
Port details
unit-python Python module for NGINX Unit
1.33.0_1 www on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.30.0Version of this port present on the latest quarterly branch.
Maintainer: osa@FreeBSD.org search for ports maintained by this maintainer
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

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>)
  • py311: unit-python311
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):
unit-python311
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.33.0_11.33.0_1-1.33.0_11.33.0_1---
FreeBSD:13:quarterly1.33.01.33.0-1.33.01.33.0---
FreeBSD:14:latest1.33.0_11.33.0_1-1.33.0_11.33.0_1---
FreeBSD:14:quarterly1.33.01.33.0-1.33.01.33.0---
FreeBSD:15:latest1.33.0_11.33.0_1n/a1.33.0_1n/a---
 
unit-python37
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--1.21.0_4---1.21.0_4-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
 
unit-python39
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--1.30.0--1.31.1_11.31.1_11.31.1_1
FreeBSD:14:latest--1.29.0_1--1.30.0-1.30.0
FreeBSD:14:quarterly-----1.31.1_11.31.1_11.31.1_1
FreeBSD:15:latest--n/a-n/a1.31.1_11.31.1_11.31.1_1
 
Master port: www/unit
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. python3.11 : lang/python311
  2. gettext-runtime>=0.22_1 : devel/gettext-runtime
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. unitd : www/unit
  2. python3.11 : lang/python311
Library dependencies:
  1. libpcre2-8.so : devel/pcre2
  2. 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_1: 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:
Expand this list (1 items)
Collapse this list.
  1. https://unit.nginx.org/download/
Collapse this list.

Number of commits found: 18

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
CommitCreditsLog message
1.33.0_1
24 Oct 2024 03:41:56
commit hash: 82177cb1ed02842a23310cc9d1e8b2ad59707de8commit hash: 82177cb1ed02842a23310cc9d1e8b2ad59707de8commit hash: 82177cb1ed02842a23310cc9d1e8b2ad59707de8commit hash: 82177cb1ed02842a23310cc9d1e8b2ad59707de8 files touched by this commit
Li-Wen Hsu (lwhsu) search for other commits by this committer
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
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
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
commit hash: 6684134299d5750fc4c390646a4410e13497e51dcommit hash: 6684134299d5750fc4c390646a4410e13497e51dcommit hash: 6684134299d5750fc4c390646a4410e13497e51dcommit hash: 6684134299d5750fc4c390646a4410e13497e51d files touched by this commit
Sergey A. Osokin (osa) search for other commits by this committer
*/*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 View all of this commit message)
1.29.0
16 Dec 2022 00:44:14
commit hash: 65404737e11e58da1fd7a4113296c259c7a48ef0commit hash: 65404737e11e58da1fd7a4113296c259c7a48ef0commit hash: 65404737e11e58da1fd7a4113296c259c7a48ef0commit hash: 65404737e11e58da1fd7a4113296c259c7a48ef0 files touched by this commit
Sergey A. Osokin (osa) search for other commits by this committer
*/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 View all of this commit message)
1.27.0
20 Jul 2022 14:23:26
commit hash: e915e756715f12e5e0e46993b1265f44690b4a90commit hash: e915e756715f12e5e0e46993b1265f44690b4a90commit hash: e915e756715f12e5e0e46993b1265f44690b4a90commit hash: e915e756715f12e5e0e46993b1265f44690b4a90 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
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 View all of this commit message)
1.27.0
02 Jun 2022 16:40:55
commit hash: 11d9a3ffb12a45d4f757d899af3db29ddfca10cacommit hash: 11d9a3ffb12a45d4f757d899af3db29ddfca10cacommit hash: 11d9a3ffb12a45d4f757d899af3db29ddfca10cacommit hash: 11d9a3ffb12a45d4f757d899af3db29ddfca10ca files touched by this commit
Sergey A. Osokin (osa) search for other commits by this committer
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 View all of this commit message)
1.26.1_1
17 Dec 2021 11:25:46
commit hash: be1d7baff997b2f169f609e0c61620d7408cc864commit hash: be1d7baff997b2f169f609e0c61620d7408cc864commit hash: be1d7baff997b2f169f609e0c61620d7408cc864commit hash: be1d7baff997b2f169f609e0c61620d7408cc864 files touched by this commit
Dima Panov (fluffy) search for other commits by this committer
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
commit hash: ca201c660e313da46c4d4a3de79621c990431a9ecommit hash: ca201c660e313da46c4d4a3de79621c990431a9ecommit hash: ca201c660e313da46c4d4a3de79621c990431a9ecommit hash: ca201c660e313da46c4d4a3de79621c990431a9e files touched by this commit
Sergey A. Osokin (osa) search for other commits by this committer
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
commit hash: 26c67ff019601168d8663cedd573cd09c036a28fcommit hash: 26c67ff019601168d8663cedd573cd09c036a28fcommit hash: 26c67ff019601168d8663cedd573cd09c036a28fcommit hash: 26c67ff019601168d8663cedd573cd09c036a28f files touched by this commit
Sergey A. Osokin (osa) search for other commits by this committer
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 View all of this commit message)
1.23.0
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.23.0
25 Mar 2021 17:08:19
Revision:569217Original commit files touched by this commit
osa search for other commits by this committer
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 View all of this commit message)
1.21.0_4
28 Dec 2020 23:02:15
Revision:559531Original commit files touched by this commit
antoine search for other commits by this committer
Drop python 2.7 support from a few ports

With hat:	portmgr
1.21.0
19 Nov 2020 20:31:34
Revision:555714Original commit files touched by this commit
osa search for other commits by this committer
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 View all of this commit message)
1.20.0_2
23 Oct 2020 13:51:16
Revision:553107Original commit files touched by this commit
osa search for other commits by this committer
Stylify: use CONFIGURE_CMD macro.
Do not bump PORTREVISION.
1.20.0_2
21 Oct 2020 21:59:57
Revision:552902Original commit files touched by this commit
osa search for other commits by this committer
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
Revision:552899Original commit files touched by this commit
osa search for other commits by this committer
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
Revision:552890Original commit files touched by this commit
osa search for other commits by this committer
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
Revision:552869Original commit files touched by this commit
osa search for other commits by this committer
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.

Number of commits found: 18