diff options
author | culot <culot@FreeBSD.org> | 2011-02-13 18:46:07 +0800 |
---|---|---|
committer | culot <culot@FreeBSD.org> | 2011-02-13 18:46:07 +0800 |
commit | 3ca9867c9d9c66fd70d114a2b0ae522d1e7a7c19 (patch) | |
tree | 08dbdb03843a7bcec163c19379c6970b6cc8009e | |
parent | 17b7acf858e21d9452732756d5869ebaf3db32a2 (diff) | |
download | freebsd-ports-gnome-3ca9867c9d9c66fd70d114a2b0ae522d1e7a7c19.tar.gz freebsd-ports-gnome-3ca9867c9d9c66fd70d114a2b0ae522d1e7a7c19.tar.zst freebsd-ports-gnome-3ca9867c9d9c66fd70d114a2b0ae522d1e7a7c19.zip |
Feersum is an HTTP server built on EV. It fully supports the PSGI 1.03 spec
including the psgi.streaming interface and is compatible with Plack. PSGI 1.1,
which has yet to be published formally, is also supported. Feersum also has
its own "native" interface which is similar in a lot of ways to PSGI, but is
not compatible with PSGI or PSGI middleware.
Feersum uses a single-threaded, event-based programming architecture to scale
and can handle many concurrent connections efficiently in both CPU and RAM.
It skips doing a lot of sanity checking with the assumption that a "front-end"
HTTP/HTTPS server is placed between it and the Internet.
WWW: http://search.cpan.org/dist/Feersum
PR: ports/153320
Submitted by: Grzegorz Blach <magik AT roorback.net>
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/p5-Feersum/Makefile | 34 | ||||
-rw-r--r-- | www/p5-Feersum/distinfo | 2 | ||||
-rw-r--r-- | www/p5-Feersum/pkg-descr | 12 | ||||
-rw-r--r-- | www/p5-Feersum/pkg-plist | 14 |
5 files changed, 63 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 154bb33c1a61..ae08927ac609 100644 --- a/www/Makefile +++ b/www/Makefile @@ -917,6 +917,7 @@ SUBDIR += p5-Facebook-Graph SUBDIR += p5-FastCGI SUBDIR += p5-Feed-Find + SUBDIR += p5-Feersum SUBDIR += p5-File-Mork SUBDIR += p5-Flea SUBDIR += p5-Flickr-API diff --git a/www/p5-Feersum/Makefile b/www/p5-Feersum/Makefile new file mode 100644 index 000000000000..2c48c9fd5b78 --- /dev/null +++ b/www/p5-Feersum/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: Feersum +# Date created: 2010-12-20 +# Whom: Grzegorz Blach <magik@roorback.net> +# +# $FreeBSD$ +# + +PORTNAME= Feersum +PORTVERSION= 1.001 +CATEGORIES= www perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= ../../authors/id/S/ST/STASH +PKGNAMEPREFIX= p5- + +MAINTAINER= magik@roorback.net +COMMENT= A PSGI engine for Perl based on EV/libev + +RUN_DEPENDS= p5-Plack>=0.9950:${PORTSDIR}/www/p5-Plack \ + p5-EV>=4.0:${PORTSDIR}/devel/p5-EV \ + p5-AnyEvent>=5.261:${PORTSDIR}/devel/p5-AnyEvent \ + p5-Guard>=1.012:${PORTSDIR}/devel/p5-Guard \ + p5-Scalar-List-Utils>=1.19:${PORTSDIR}/lang/p5-Scalar-List-Utils \ + p5-Test-Simple>=0.94:${PORTSDIR}/devel/p5-Test-Simple \ + p5-Test-Fatal>=0.003:${PORTSDIR}/devel/p5-Test-Fatal \ + p5-Test-TCP>=1.06:${PORTSDIR}/devel/p5-Test-TCP +BUILD_DEPENDS= ${RUN_DEPENDS} + +PERL_CONFIGURE= yes + +MAN1= feersum.1 +MAN3= Plack::Handler::Feersum.3 Feersum.3 Feersum::Runner.3 \ + Feersum::Connection.3 Feersum::Connection::Handle.3 + +.include <bsd.port.mk> diff --git a/www/p5-Feersum/distinfo b/www/p5-Feersum/distinfo new file mode 100644 index 000000000000..042bbecc2967 --- /dev/null +++ b/www/p5-Feersum/distinfo @@ -0,0 +1,2 @@ +SHA256 (Feersum-1.001.tar.gz) = 7bf941d9995dc0cf826715dbeb1d353330b3c0f59d680ae37cd0c75df1f51415 +SIZE (Feersum-1.001.tar.gz) = 99741 diff --git a/www/p5-Feersum/pkg-descr b/www/p5-Feersum/pkg-descr new file mode 100644 index 000000000000..1eba397c4b28 --- /dev/null +++ b/www/p5-Feersum/pkg-descr @@ -0,0 +1,12 @@ +Feersum is an HTTP server built on EV. It fully supports the PSGI 1.03 spec +including the psgi.streaming interface and is compatible with Plack. PSGI 1.1, +which has yet to be published formally, is also supported. Feersum also has +its own "native" interface which is similar in a lot of ways to PSGI, but is +not compatible with PSGI or PSGI middleware. + +Feersum uses a single-threaded, event-based programming architecture to scale +and can handle many concurrent connections efficiently in both CPU and RAM. +It skips doing a lot of sanity checking with the assumption that a "front-end" +HTTP/HTTPS server is placed between it and the Internet. + +WWW: http://search.cpan.org/dist/Feersum diff --git a/www/p5-Feersum/pkg-plist b/www/p5-Feersum/pkg-plist new file mode 100644 index 000000000000..458ba87cd5b3 --- /dev/null +++ b/www/p5-Feersum/pkg-plist @@ -0,0 +1,14 @@ +bin/feersum +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Feersum/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Feersum/Feersum.so +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Feersum/Feersum.bs +%%SITE_PERL%%/%%PERL_ARCH%%/Plack/Handler/Feersum.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Feersum.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Feersum/Runner.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Feersum/Connection.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Feersum/Connection/Handle.pm +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Feersum +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Plack/Handler +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Plack +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Feersum/Connection +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Feersum |