devel/p5-AnyEvent-Fork: Add p5-AnyEvent-Fork 1.31

AnyEvent::Fork allows you to create new processes, without actually forking them
from your current process (avoiding the problems of forking), but preserving
most of the advantages of fork.

It can be used to create new worker processes or new independent subprocesses
for short- and long-running jobs, process pools (e.g. for use in pre-forked
servers) but also to spawn new external processes (such as CGI scripts from a
web server), which can be faster (and more well behaved) than using fork+exec in
big processes.

WWW: https://metacpan.org/dist/AnyEvent-Fork
This commit is contained in:
Po-Chuan Hsieh 2021-09-22 06:11:09 +08:00
parent ece0c9bb06
commit d35afbe77d
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
5 changed files with 48 additions and 0 deletions

View file

@ -1720,6 +1720,7 @@
SUBDIR += p5-AnyEvent-DBI-Abstract
SUBDIR += p5-AnyEvent-DBus
SUBDIR += p5-AnyEvent-Filesys-Notify
SUBDIR += p5-AnyEvent-Fork
SUBDIR += p5-AnyEvent-Gearman
SUBDIR += p5-AnyEvent-Graphite
SUBDIR += p5-AnyEvent-I3

View file

@ -0,0 +1,26 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= AnyEvent-Fork
PORTVERSION= 1.31
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Create new worker processes like fork()
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-AnyEvent>=6,1:devel/p5-AnyEvent \
p5-IO-FDPass>=0.2:devel/p5-IO-FDPass \
p5-Proc-FastSpawn>=0.1:devel/p5-Proc-FastSpawn \
p5-common-sense>=3.6:devel/p5-common-sense
USES= perl5
USE_PERL5= configure
NO_ARCH= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1632227456
SHA256 (AnyEvent-Fork-1.31.tar.gz) = 33bd326416159cfe6f2285484138932dcfca21439f0321b299400a9225e2c9a8
SIZE (AnyEvent-Fork-1.31.tar.gz) = 30817

View file

@ -0,0 +1,11 @@
AnyEvent::Fork allows you to create new processes, without actually forking them
from your current process (avoiding the problems of forking), but preserving
most of the advantages of fork.
It can be used to create new worker processes or new independent subprocesses
for short- and long-running jobs, process pools (e.g. for use in pre-forked
servers) but also to spawn new external processes (such as CGI scripts from a
web server), which can be faster (and more well behaved) than using fork+exec in
big processes.
WWW: https://metacpan.org/dist/AnyEvent-Fork

View file

@ -0,0 +1,7 @@
%%SITE_PERL%%/AnyEvent/Fork.pm
%%SITE_PERL%%/AnyEvent/Fork/Early.pm
%%SITE_PERL%%/AnyEvent/Fork/Serve.pm
%%SITE_PERL%%/AnyEvent/Fork/Template.pm
%%PERL5_MAN3%%/AnyEvent::Fork.3.gz
%%PERL5_MAN3%%/AnyEvent::Fork::Early.3.gz
%%PERL5_MAN3%%/AnyEvent::Fork::Template.3.gz