Date: Tue, 21 Sep 2021 22:24:26 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: d35afbe77dc0 - main - devel/p5-AnyEvent-Fork: Add p5-AnyEvent-Fork 1.31 Message-ID: <202109212224.18LMOQ0a037817@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=d35afbe77dc0115a813ea0cf3fcae75bf5affe1f commit d35afbe77dc0115a813ea0cf3fcae75bf5affe1f Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2021-09-21 22:11:09 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2021-09-21 22:11:09 +0000 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 --- devel/Makefile | 1 + devel/p5-AnyEvent-Fork/Makefile | 26 ++++++++++++++++++++++++++ devel/p5-AnyEvent-Fork/distinfo | 3 +++ devel/p5-AnyEvent-Fork/pkg-descr | 11 +++++++++++ devel/p5-AnyEvent-Fork/pkg-plist | 7 +++++++ 5 files changed, 48 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 3b363dfe2a1b..0b9fcc57f485 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -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 diff --git a/devel/p5-AnyEvent-Fork/Makefile b/devel/p5-AnyEvent-Fork/Makefile new file mode 100644 index 000000000000..45a0c47026db --- /dev/null +++ b/devel/p5-AnyEvent-Fork/Makefile @@ -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> diff --git a/devel/p5-AnyEvent-Fork/distinfo b/devel/p5-AnyEvent-Fork/distinfo new file mode 100644 index 000000000000..f0446f813f7d --- /dev/null +++ b/devel/p5-AnyEvent-Fork/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1632227456 +SHA256 (AnyEvent-Fork-1.31.tar.gz) = 33bd326416159cfe6f2285484138932dcfca21439f0321b299400a9225e2c9a8 +SIZE (AnyEvent-Fork-1.31.tar.gz) = 30817 diff --git a/devel/p5-AnyEvent-Fork/pkg-descr b/devel/p5-AnyEvent-Fork/pkg-descr new file mode 100644 index 000000000000..30882095d61d --- /dev/null +++ b/devel/p5-AnyEvent-Fork/pkg-descr @@ -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 diff --git a/devel/p5-AnyEvent-Fork/pkg-plist b/devel/p5-AnyEvent-Fork/pkg-plist new file mode 100644 index 000000000000..b1eb222102e4 --- /dev/null +++ b/devel/p5-AnyEvent-Fork/pkg-plist @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109212224.18LMOQ0a037817>