aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Plack-Middleware-CrossOrigin
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2018-05-16 08:01:22 +0800
committersunpoet <sunpoet@FreeBSD.org>2018-05-16 08:01:22 +0800
commit0816cafe18e314379ec058fb40d9476597183a91 (patch)
treecc4e548d0e97a9d1e360b678302e52d152a3c3c9 /www/p5-Plack-Middleware-CrossOrigin
parentb9fb30f07d6e1567b3be978f008a31e9a43c633c (diff)
downloadfreebsd-ports-gnome-0816cafe18e314379ec058fb40d9476597183a91.tar.gz
freebsd-ports-gnome-0816cafe18e314379ec058fb40d9476597183a91.tar.zst
freebsd-ports-gnome-0816cafe18e314379ec058fb40d9476597183a91.zip
Fix LICENSE
- Add NO_ARCH - Update pkg-descr - Fix WWW - Take maintainership
Diffstat (limited to 'www/p5-Plack-Middleware-CrossOrigin')
-rw-r--r--www/p5-Plack-Middleware-CrossOrigin/Makefile8
-rw-r--r--www/p5-Plack-Middleware-CrossOrigin/pkg-descr10
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/