aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Balker Rasmussen <lbr@FreeBSD.org>2007-08-02 08:38:29 +0000
committerLars Balker Rasmussen <lbr@FreeBSD.org>2007-08-02 08:38:29 +0000
commit59106a408a3b218ec5c518b966436c2ebb79fcaa (patch)
tree643dcea3fe118e89301c330e5f25bd4e6d56cede
parent14a2c73b953a1ca3d4009b17d6d3a6cbab1451f2 (diff)
downloadports-59106a408a3b218ec5c518b966436c2ebb79fcaa.tar.gz
ports-59106a408a3b218ec5c518b966436c2ebb79fcaa.zip
This engine allows Catalyst to process multiple requests in parallel within a
single process. Much of the internal Catalyst flow now uses POE yield calls. Application code will still block of course, but all I/O, header processing, and POST body processing is handled asynchronously.
Notes
Notes: svn path=/head/; revision=196939
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-Catalyst-Engine-HTTP-POE/Makefile29
-rw-r--r--www/p5-Catalyst-Engine-HTTP-POE/distinfo3
-rw-r--r--www/p5-Catalyst-Engine-HTTP-POE/pkg-descr6
-rw-r--r--www/p5-Catalyst-Engine-HTTP-POE/pkg-plist3
5 files changed, 42 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index d1b652dfc1fa..743f0b1d3d6c 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -598,6 +598,7 @@
SUBDIR += p5-Catalyst-Controller-FormBuilder
SUBDIR += p5-Catalyst-Devel
SUBDIR += p5-Catalyst-Engine-Apache
+ SUBDIR += p5-Catalyst-Engine-HTTP-POE
SUBDIR += p5-Catalyst-Enzyme
SUBDIR += p5-Catalyst-Example-InstantCRUD
SUBDIR += p5-Catalyst-Helper-Controller-Scaffold
diff --git a/www/p5-Catalyst-Engine-HTTP-POE/Makefile b/www/p5-Catalyst-Engine-HTTP-POE/Makefile
new file mode 100644
index 000000000000..75a0269a95a2
--- /dev/null
+++ b/www/p5-Catalyst-Engine-HTTP-POE/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: p5-Catalyst-Engine-HTTP-POE
+# Date created: 2 Aug 2007
+# Whom: Lars Balker Rasmussen <lbr@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Catalyst-Engine-HTTP-POE
+PORTVERSION= 0.06
+CATEGORIES= www perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= lbr@FreeBSD.org
+COMMENT= Single-threaded multi-tasking Catalyst engine
+
+RUN_DEPENDS= p5-Catalyst-Runtime>=5.7000:${PORTSDIR}/www/p5-Catalyst-Runtime \
+ p5-POE>=0:${PORTSDIR}/devel/p5-POE
+BUILD_DEPENDS= ${RUN_DEPENDS}
+
+PERL_MODBUILD= yes
+
+MAN3= Catalyst::Engine::HTTP::POE.3
+
+.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} < 500801
+IGNORE= requires at least Perl 5.8.1. Install lang/perl5.8, and try again
+.endif
+.include <bsd.port.post.mk>
diff --git a/www/p5-Catalyst-Engine-HTTP-POE/distinfo b/www/p5-Catalyst-Engine-HTTP-POE/distinfo
new file mode 100644
index 000000000000..3a2886ec83a2
--- /dev/null
+++ b/www/p5-Catalyst-Engine-HTTP-POE/distinfo
@@ -0,0 +1,3 @@
+MD5 (Catalyst-Engine-HTTP-POE-0.06.tar.gz) = 499674adc1b36ee72947751243b26772
+SHA256 (Catalyst-Engine-HTTP-POE-0.06.tar.gz) = 2a1fd40449203af69319c45d605867fdbde5d5bcbe23febc4ac49a900508eda8
+SIZE (Catalyst-Engine-HTTP-POE-0.06.tar.gz) = 43634
diff --git a/www/p5-Catalyst-Engine-HTTP-POE/pkg-descr b/www/p5-Catalyst-Engine-HTTP-POE/pkg-descr
new file mode 100644
index 000000000000..71a0bbafbf7a
--- /dev/null
+++ b/www/p5-Catalyst-Engine-HTTP-POE/pkg-descr
@@ -0,0 +1,6 @@
+This engine allows Catalyst to process multiple requests in parallel within a
+single process. Much of the internal Catalyst flow now uses POE yield calls.
+Application code will still block of course, but all I/O, header processing,
+and POST body processing is handled asynchronously.
+
+WWW: http://search.cpan.org/dist/Catalyst-Engine-HTTP-POE/
diff --git a/www/p5-Catalyst-Engine-HTTP-POE/pkg-plist b/www/p5-Catalyst-Engine-HTTP-POE/pkg-plist
new file mode 100644
index 000000000000..0d8697e1a129
--- /dev/null
+++ b/www/p5-Catalyst-Engine-HTTP-POE/pkg-plist
@@ -0,0 +1,3 @@
+%%SITE_PERL%%/Catalyst/Engine/HTTP/POE.pm
+@dirrmtry %%SITE_PERL%%/Catalyst/Engine/HTTP
+@dirrmtry %%SITE_PERL%%/Catalyst/Engine