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-ruby Ruby 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.32.1Version 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:43:52
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
Expand this list (6 items)
Collapse this list.
  1. libexec/unit/modules/ruby3.2.unit.so
  2. /usr/local/share/licenses/unit-ruby3.2-1.33.0_1/catalog.mk
  3. /usr/local/share/licenses/unit-ruby3.2-1.33.0_1/LICENSE
  4. /usr/local/share/licenses/unit-ruby3.2-1.33.0_1/APACHE20
  5. @dir libexec/unit/modules
  6. @dir libexec/unit
Collapse this list.
Dependency lines:
  • unit-ruby3.2>0:www/unit-ruby
To install the port:
cd /usr/ports/www/unit-ruby/ && make install clean
To add the package, run one of these commands:
  • pkg install www/unit-ruby
  • pkg install unit-ruby3.2
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: unit-ruby3.2
Flavors: there is no flavor information for this port.
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-ruby2.7
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-ruby3.0
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--------
FreeBSD:14:latest--1.29.0_1-----
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
 

unit-ruby3.1
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--1.30.0--1.31.1_11.31.1_11.31.1_1
FreeBSD:14:latest-----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
 

unit-ruby3.2
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---
 

Master port: www/unit
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. ruby32 : lang/ruby32
Runtime dependencies:
  1. rackup : www/rubygem-rackup
  2. unitd : www/unit
  3. ruby32 : lang/ruby32
Library dependencies:
  1. libpcre2-8.so : devel/pcre2
Patch dependencies:
  1. ruby32 : lang/ruby32
Extract dependencies:
  1. ruby32 : lang/ruby32
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for unit-ruby3.2-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-ruby
USES:
ruby 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: 19

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.32.1
19 May 2024 23:46:05
commit hash: 4eefd9a5a2a887b50cdd9f256881230267d0d67bcommit hash: 4eefd9a5a2a887b50cdd9f256881230267d0d67bcommit hash: 4eefd9a5a2a887b50cdd9f256881230267d0d67bcommit hash: 4eefd9a5a2a887b50cdd9f256881230267d0d67b files touched by this commit
Sergey A. Osokin (osa) search for other commits by this committer
www/unit-ruby: fix build after changes in www/rubygem-rack22

Fixes:	d359485bdb82e817901ef3df6a8811cc6e2660e8
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.1
01 Mar 2023 17:49:51
commit hash: d0db9ec35164aa2314939d15f772b181f68be423commit hash: d0db9ec35164aa2314939d15f772b181f68be423commit hash: d0db9ec35164aa2314939d15f772b181f68be423commit hash: d0db9ec35164aa2314939d15f772b181f68be423 files touched by this commit
Sergey A. Osokin (osa) search for other commits by this committer
*/*unit*: update NGINX Unit: 1.29.0 -> 1.29.1

<ChangeLog>

*) Bugfix: stop creating world-writeable directories.

*) Bugfix: memory leak related to NJS.

*) Bugfix: path parsing in PHP applications.

*) Bugfix: enabled UTF-8 for Python config by default to avoid
   applications failing in some cases.

*) Bugfix: using asyncio.get_running_loop() instead of
   asyncio.get_event_loop() when it's available to prevent errors in
   some Python ASGI applications.

*) Bugfix: applications that make use of various low level APIs such as
   pthreads could fail to work correctly.

*) Bugfix: websocket endianness detection for obscure operating systems.

</ChangeLog>
1.29.0_1
14 Jan 2023 23:08:33
commit hash: 18c6e18276691edf5274406bf82a3b06792ff9aecommit hash: 18c6e18276691edf5274406bf82a3b06792ff9aecommit hash: 18c6e18276691edf5274406bf82a3b06792ff9aecommit hash: 18c6e18276691edf5274406bf82a3b06792ff9ae files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
Mk/**ruby.mk: Switch from USE_RUBY=yes to USES=ruby

Switch from Mk/bsd.ruby.mk to Mk/Uses/ruby.mk

Notable changes are.

- Mk/bsd.ruby.mk is moved to Mk/Uses/ruby.mk.
- USE_RUBY=yes is replaced with USES=ruby.
- USE_RUBY_EXTCONF is replaced with USES=ruby:extconf.
- USE_RUBY_RDOC is replaced with USES=ruby:rdoc.
- USE_RUBY_SETUP is replaces with USES=ruby:setup.
- RUBY_NO_BUILD_DEPENDS and RUBY_NO_RUN_DEPENDS are replaced with
  USES=ruby:{build,none,run}.
- RUBY_REQUIRE isn't used anywhere, so removed.
- USES=gem now implies USES=ruby.

This is mainly the work of yasu@ at https://reviews.freebsd.org/D27863

I have just made some cosmetic changes and ran exp-run to test that the
tree is not in a BROKEN state.

Approved by:	portmgr
Differential Revision:	https://reviews.freebsd.org/D37925
1.29.0_1
23 Dec 2022 07:31:48
commit hash: 2672229436a6b939e342d049078d084adc895594commit hash: 2672229436a6b939e342d049078d084adc895594commit hash: 2672229436a6b939e342d049078d084adc895594commit hash: 2672229436a6b939e342d049078d084adc895594 files touched by this commit
Yasuhiro Kimura (yasu) search for other commits by this committer
*/*: Update dependency

For all ports that isn't compatible with rack 3.x, update dependency
from www/rubygem-rack to www/rubygem-rack22.

PR:		268057
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
20 Mar 2022 01:26:09
commit hash: ea02c904697c622af1e87170e1b8d139f48395d4commit hash: ea02c904697c622af1e87170e1b8d139f48395d4commit hash: ea02c904697c622af1e87170e1b8d139f48395d4commit hash: ea02c904697c622af1e87170e1b8d139f48395d4 files touched by this commit
Sergey A. Osokin (osa) search for other commits by this committer
www/unit-ruby: fix build with ruby 3.x

PR:	262541
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.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.22.0
04 Feb 2021 18:40:15
Revision:564058Original commit files touched by this commit
osa search for other commits by this committer
Update from 1.21.0 to 1.22.0.

<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.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.20.0_3
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_3
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_3
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_2
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_1
21 Oct 2020 17:22:40
Revision:552874Original commit files touched by this commit
osa search for other commits by this committer
Update the dependency list.

Bump PORTREVISION.

Requested by:	Valentin Bartenev <ne@vbart.ru>
1.20.0
21 Oct 2020 15:43:44
Revision:552868Original commit files touched by this commit
osa search for other commits by this committer
Add ruby module for NGINX Unit.

Number of commits found: 19