www/p5-Mojolicious-Plugin-SetUserGroup 1.000 FreeBSD
Mojolicious plugin to set unprivileged credentials
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART20
- Categories
- www, perl5
- Package size
- 8.8 KiB, 15.9 KiB installed
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.
In the other systems
The newest version among them is 1.000, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| FreeBSD | www/p5-Mojolicious-Plugin-SetUserGroup | 1.000 newest | none known | - | [email protected] | - |
| DragonFly | www/p5-Mojolicious-Plugin-SetUserGroup | 1.000 newest | none known | - | [email protected] | - |
| HardenedBSD | www/p5-Mojolicious-Plugin-SetUserGroup | 1.000 newest | no data | - | [email protected] | - |
| GhostBSD | www/p5-Mojolicious-Plugin-SetUserGroup | 1.000 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install p5-Mojolicious-Plugin-SetUserGroup
From the ports tree:
cd /usr/ports/www/p5-Mojolicious-Plugin-SetUserGroup/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Mojolicious-Plugin-SetUserGroup>0:www/p5-Mojolicious-Plugin-SetUserGroup
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 |
| FreeBSD:14:quarterly | 1.000 | 1.000 | n/a | 1.000 | 1.000 |
| FreeBSD:15:latest | 1.000 | 1.000 | n/a | 1.000 | 1.000 |
| FreeBSD:15:quarterly | 1.000 | 1.000 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.000 | 1.000 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 2
p5-Mojolicious>=6.0: www/p5-Mojoliciousp5-Unix-Groups-FFI>=0: devel/p5-Unix-Groups-FFI
Runtime 2
p5-Mojolicious>=6.0: www/p5-Mojoliciousp5-Unix-Groups-FFI>=0: devel/p5-Unix-Groups-FFI
The full lists below include those, and their dependencies in turn.
Build dependencies 22
- converters/p5-MIME-Base32
- converters/p5-MIME-Base64
- devel/libffi
- devel/p5-CPAN-Requirements-Dynamic
- devel/p5-Capture-Tiny
- devel/p5-EV
- devel/p5-ExtUtils-Config
- devel/p5-ExtUtils-Helpers
- devel/p5-ExtUtils-InstallPaths
- devel/p5-FFI-CheckLib
- devel/p5-FFI-Platypus
- devel/p5-Module-Build-Tiny
- devel/p5-Unix-Groups-FFI
- devel/p5-common-sense
- lang/perl5.42
- net/p5-URI
- print/indexinfo
- security/p5-IO-Socket-SSL
- security/p5-Net-SSLeay
- sysutils/p5-File-Which
- www/p5-Mojolicious
- www/p5-Mozilla-CA
Run dependencies 17
- converters/p5-MIME-Base32
- converters/p5-MIME-Base64
- devel/libffi
- devel/p5-Capture-Tiny
- devel/p5-EV
- devel/p5-FFI-CheckLib
- devel/p5-FFI-Platypus
- devel/p5-Unix-Groups-FFI
- devel/p5-common-sense
- lang/perl5.42
- net/p5-URI
- print/indexinfo
- security/p5-IO-Socket-SSL
- security/p5-Net-SSLeay
- sysutils/p5-File-Which
- www/p5-Mojolicious
- www/p5-Mozilla-CA
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%SITE_PERL%%/Mojolicious/Plugin/SetUserGroup.pm
- %%PERL5_MAN3%%/Mojolicious::Plugin::SetUserGroup.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Mojolicious-Plugin-SetUserGroup-1.000.tar.gz | 19186 | 431f6ed3a269ae37ef40b730f6da6c118409e47477ae22e7c87f29dc9f8df758 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.