Port details on branch 2022Q2 |
- p5-Mojolicious-Plugin-SetUserGroup Mojolicious plugin to set unprivileged credentials
- 1.000 www =0 1.000Version of this port present on the latest quarterly branch.
- Maintainer: perl@FreeBSD.org
- Port Added: 2015-04-27 02:57:27
- Last Update: 2022-09-12 16:15:01
- Commit Hash: 28f5812
- Also Listed In: perl5
- License: ART20
- WWW:
- https://metacpan.org/pod/Mojolicious::Plugin::SetUserGroup
- Description:
- This plugin is intended to replace the setuidgid functionality of Mojo::Server.
It should be loaded in application startup and it will change the user and
group credentials of the process when Mojo::IOLoop is started, which occurs in
each worker process of a Mojo::Server::Prefork daemon like hypnotoad.
This allows an application to be started as root so it can bind to privileged
ports such as port 80 or 443, but run worker processes as unprivileged users.
However, if the application is not started as root, it will most likely fail to
change credentials. So, you should only set the user/group when the application
is started as root.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-Mojolicious-Plugin-SetUserGroup>0:www/p5-Mojolicious-Plugin-SetUserGroup
- To install the port:
- cd /usr/ports/www/p5-Mojolicious-Plugin-SetUserGroup/ && make install clean
- To add the package, run one of these commands:
- pkg install www/p5-Mojolicious-Plugin-SetUserGroup
- pkg install p5-Mojolicious-Plugin-SetUserGroup
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-Mojolicious-Plugin-SetUserGroup
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1519140453
SHA256 (Mojolicious-Plugin-SetUserGroup-1.000.tar.gz) = 431f6ed3a269ae37ef40b730f6da6c118409e47477ae22e7c87f29dc9f8df758
SIZE (Mojolicious-Plugin-SetUserGroup-1.000.tar.gz) = 19186
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- p5-Mojolicious>=6.0 : www/p5-Mojolicious
- p5-Unix-Groups-FFI>=0 : devel/p5-Unix-Groups-FFI
- perl5>=5.32.r0<5.33 : lang/perl5.32
- p5-Module-Build-Tiny>=0.039 : devel/p5-Module-Build-Tiny
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- p5-Mojolicious>=6.0 : www/p5-Mojolicious
- p5-Unix-Groups-FFI>=0 : devel/p5-Unix-Groups-FFI
- perl5>=5.32.r0<5.33 : lang/perl5.32
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- www_p5-Mojolicious-Plugin-SetUserGroup
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|