aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorlbr <lbr@FreeBSD.org>2007-08-02 16:38:29 +0800
committerlbr <lbr@FreeBSD.org>2007-08-02 16:38:29 +0800
commitb8193473326c366ac5ec989ece1e2828430d0b8d (patch)
treefe5df340c7e7728cbdc082cb241c7326e6ab4ef1 /www
parent4bd1fb69812a08b331ccc5c6e6fff9a41d06bab8 (diff)
downloadfreebsd-ports-gnome-b8193473326c366ac5ec989ece1e2828430d0b8d.tar.gz
freebsd-ports-gnome-b8193473326c366ac5ec989ece1e2828430d0b8d.tar.zst
freebsd-ports-gnome-b8193473326c366ac5ec989ece1e2828430d0b8d.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.
Diffstat (limited to 'www')
-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