summaryrefslogtreecommitdiff
path: root/www/p5-HTTP-Entity-Parser
diff options
context:
space:
mode:
authorwen <wen@pkgsrc.org>2016-10-01 13:01:58 +0000
committerwen <wen@pkgsrc.org>2016-10-01 13:01:58 +0000
commit1cf167d28974c33547a02e3035e44befcb1abe1b (patch)
tree1dc6f602d7243ef0f1d6a6d46a068ee138b2acb0 /www/p5-HTTP-Entity-Parser
parentf21c29d6cd0111e64986af73bcbfd7c1f4b73e83 (diff)
downloadpkgsrc-1cf167d28974c33547a02e3035e44befcb1abe1b.tar.gz
Import HTTP-Entity-Parser-0.17 as p5-HTTP-Entity-Parser.
HTTP::Entity::Parser is PSGI compliant HTTP Entity parser. This module also has compatibility with HTTP::Body. Unlike HTTP::Body, HTTP::Entity::Parser reads HTTP entity from PSGI's env $env->{'psgi.input'} and parse it. This module support application/x-www-form-urlencoded, multipart/form-data and application/json.
Diffstat (limited to 'www/p5-HTTP-Entity-Parser')
-rw-r--r--www/p5-HTTP-Entity-Parser/DESCR5
-rw-r--r--www/p5-HTTP-Entity-Parser/Makefile21
-rw-r--r--www/p5-HTTP-Entity-Parser/distinfo6
3 files changed, 32 insertions, 0 deletions
diff --git a/www/p5-HTTP-Entity-Parser/DESCR b/www/p5-HTTP-Entity-Parser/DESCR
new file mode 100644
index 00000000000..522fc077e8c
--- /dev/null
+++ b/www/p5-HTTP-Entity-Parser/DESCR
@@ -0,0 +1,5 @@
+HTTP::Entity::Parser is PSGI compliant HTTP Entity parser. This module
+also has compatibility with HTTP::Body. Unlike HTTP::Body, HTTP::Entity::Parser
+reads HTTP entity from PSGI's env $env->{'psgi.input'} and parse it.
+This module support application/x-www-form-urlencoded, multipart/form-data
+and application/json.
diff --git a/www/p5-HTTP-Entity-Parser/Makefile b/www/p5-HTTP-Entity-Parser/Makefile
new file mode 100644
index 00000000000..99a2efb6fde
--- /dev/null
+++ b/www/p5-HTTP-Entity-Parser/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2016/10/01 13:01:58 wen Exp $
+
+DISTNAME= HTTP-Entity-Parser-0.17
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTTP/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/HTTP-Entity-Parser/
+COMMENT= PSGI compliant HTTP Entity Parser
+LICENSE= ${PERL5_LICENSE}
+
+DEPENDS+= p5-WWW-Form-UrlEncoded>=0.23:../../www/p5-WWW-Form-UrlEncoded
+DEPENDS+= p5-HTTP-MultiPartParser>=0:../../www/p5-HTTP-MultiPartParser
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/HTTP/Entity/Parser/.packlist
+PERL5_MODULE_TYPE= Module::Build
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/p5-HTTP-Entity-Parser/distinfo b/www/p5-HTTP-Entity-Parser/distinfo
new file mode 100644
index 00000000000..a3792d8b247
--- /dev/null
+++ b/www/p5-HTTP-Entity-Parser/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/10/01 13:01:58 wen Exp $
+
+SHA1 (HTTP-Entity-Parser-0.17.tar.gz) = 499e0254989ad39ff7392ce182a2ebbd6b7865bd
+RMD160 (HTTP-Entity-Parser-0.17.tar.gz) = 1ef911e409113667f8242f6c88d652075b5ad281
+SHA512 (HTTP-Entity-Parser-0.17.tar.gz) = b7942ad83e907b2614945e4e201ec048b8c85fd55f6ee86fa56b9bc0adeb1a29bea644edfa6817b2fe96bc0f6696350701fd3304e088fed272faf5528304660a
+Size (HTTP-Entity-Parser-0.17.tar.gz) = 23731 bytes