summaryrefslogtreecommitdiff
path: root/www/p5-HTTP-Parser
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2010-07-03 20:53:29 +0000
committerseb <seb@pkgsrc.org>2010-07-03 20:53:29 +0000
commitfd0d807e568188dc36e6a4302e8db7d7371390f1 (patch)
tree63c8a353a14153bb12ea10461f285f5f52b14e19 /www/p5-HTTP-Parser
parent0fabbed51bd3d48c9c3ed57f07196a22de1134ed (diff)
downloadpkgsrc-fd0d807e568188dc36e6a4302e8db7d7371390f1.tar.gz
Initial import of p5-HTTP-Parser version 0.05 in the NetBSD Packages
Collection. The Perl 5 module HTTP::Parser is an HTTP request parser. It takes chunks of text as received and returns a 'hint' as to what is required, or returns the HTTP::Request when a complete request has been read. HTTP/1.1 chunking is supported.
Diffstat (limited to 'www/p5-HTTP-Parser')
-rw-r--r--www/p5-HTTP-Parser/DESCR4
-rw-r--r--www/p5-HTTP-Parser/Makefile23
-rw-r--r--www/p5-HTTP-Parser/distinfo5
3 files changed, 32 insertions, 0 deletions
diff --git a/www/p5-HTTP-Parser/DESCR b/www/p5-HTTP-Parser/DESCR
new file mode 100644
index 00000000000..765855c6ea0
--- /dev/null
+++ b/www/p5-HTTP-Parser/DESCR
@@ -0,0 +1,4 @@
+The Perl 5 module HTTP::Parser is an HTTP request parser. It takes
+chunks of text as received and returns a 'hint' as to what is
+required, or returns the HTTP::Request when a complete request has
+been read. HTTP/1.1 chunking is supported.
diff --git a/www/p5-HTTP-Parser/Makefile b/www/p5-HTTP-Parser/Makefile
new file mode 100644
index 00000000000..aa15875fe62
--- /dev/null
+++ b/www/p5-HTTP-Parser/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/07/03 20:53:29 seb Exp $
+
+DISTNAME= HTTP-Parser-0.05
+PKGNAME= p5-${DISTNAME}
+#PKGREVISION= 1
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTTP/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/HTTP-Parser/
+COMMENT= Perl 5 module to parse HTTP request into HTTP::Request/Response object
+LICENSE= ${PERL5_LICENSE}
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/HTTP/Parser/.packlist
+
+DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww
+DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/p5-HTTP-Parser/distinfo b/www/p5-HTTP-Parser/distinfo
new file mode 100644
index 00000000000..bae934ab291
--- /dev/null
+++ b/www/p5-HTTP-Parser/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/07/03 20:53:29 seb Exp $
+
+SHA1 (HTTP-Parser-0.05.tar.gz) = 72a6174170d95560f82e05db0b11c79e3c89bc70
+RMD160 (HTTP-Parser-0.05.tar.gz) = b9bd74c3baf57672c091db17b372ddd4edb56cf2
+Size (HTTP-Parser-0.05.tar.gz) = 6881 bytes