BSD Ports

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.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
FreeBSDwww/p5-Mojolicious-Plugin-SetUserGroup1.000 newestnone known-[email protected]-
DragonFlywww/p5-Mojolicious-Plugin-SetUserGroup1.000 newestnone known-[email protected]-
HardenedBSDwww/p5-Mojolicious-Plugin-SetUserGroup1.000 newestno data-[email protected]-
GhostBSDwww/p5-Mojolicious-Plugin-SetUserGroup1.000 newestno 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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.0001.0001.0001.0001.000
FreeBSD:14:quarterly1.0001.000n/a1.0001.000
FreeBSD:15:latest1.0001.000n/a1.0001.000
FreeBSD:15:quarterly1.0001.000n/an/an/a
FreeBSD:16:latest1.0001.000n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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

Runtime 2

The full lists below include those, and their dependencies in turn.

Build dependencies 22
Run dependencies 17

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
FileSizeSHA256
Mojolicious-Plugin-SetUserGroup-1.000.tar.gz19186431f6ed3a269ae37ef40b730f6da6c118409e47477ae22e7c87f29dc9f8df758
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.