diff options
Diffstat (limited to 'www/p5-Plack-Middleware-CrossOrigin')
-rw-r--r-- | www/p5-Plack-Middleware-CrossOrigin/Makefile | 8 | ||||
-rw-r--r-- | www/p5-Plack-Middleware-CrossOrigin/pkg-descr | 10 |
2 files changed, 12 insertions, 6 deletions
diff --git a/www/p5-Plack-Middleware-CrossOrigin/Makefile b/www/p5-Plack-Middleware-CrossOrigin/Makefile index fc232ec5d9d7..15ae608ec56a 100644 --- a/www/p5-Plack-Middleware-CrossOrigin/Makefile +++ b/www/p5-Plack-Middleware-CrossOrigin/Makefile @@ -6,15 +6,17 @@ CATEGORIES= www perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Plack Middleware headers to allow Cross-Origin Resource Sharing -LICENSE= GPLv1 +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= p5-Plack>=0:www/p5-Plack -RUN_DEPENDS= p5-Plack>=0:www/p5-Plack +RUN_DEPENDS:= ${BUILD_DEPENDS} +NO_ARCH= yes USES= perl5 USE_PERL5= configure diff --git a/www/p5-Plack-Middleware-CrossOrigin/pkg-descr b/www/p5-Plack-Middleware-CrossOrigin/pkg-descr index f0190e555a7e..cac7efc44e2a 100644 --- a/www/p5-Plack-Middleware-CrossOrigin/pkg-descr +++ b/www/p5-Plack-Middleware-CrossOrigin/pkg-descr @@ -1,4 +1,8 @@ -Turn free-text queries into SQL WHERE clauses. The idea is to allow you to treat -your database like a free-text search index, when it really isn't. +Plack::Middleware::CrossOrigin adds Cross Origin Request Sharing headers used by +modern browsers to allow XMLHttpRequest to work across domains. This module will +also help protect against CSRF attacks in some browsers. -WWW: http://search.cpan.org/dist/Search-QueryParser-SQL/ +This module attempts to fully conform to the CORS spec, while allowing +additional flexibility in the values specified for the of the headers. + +WWW: http://search.cpan.org/dist/Plack-Middleware-CrossOrigin/ |