From 21f6cd7846ac81798fc59adad7bc67051e05717b Mon Sep 17 00:00:00 2001 From: simon Date: Sun, 22 Jul 2007 16:44:25 +0000 Subject: [PATCH] import p5-HTTP-Async Although using the conventional LWP::UserAgent is fast and easy it does have some drawbacks - the code execution blocks until the request has been completed and it is only possible to process one request at a time. HTTP::Async attempts to address these limitations. --- www/p5-HTTP-Async/Makefile | 21 +++++++++++++++++++++ www/p5-HTTP-Async/distinfo | 5 +++++ www/p5-HTTP-Async/pkg/DESCR | 4 ++++ www/p5-HTTP-Async/pkg/PLIST | 6 ++++++ 4 files changed, 36 insertions(+) create mode 100644 www/p5-HTTP-Async/Makefile create mode 100644 www/p5-HTTP-Async/distinfo create mode 100644 www/p5-HTTP-Async/pkg/DESCR create mode 100644 www/p5-HTTP-Async/pkg/PLIST diff --git a/www/p5-HTTP-Async/Makefile b/www/p5-HTTP-Async/Makefile new file mode 100644 index 00000000000..977ebf395f8 --- /dev/null +++ b/www/p5-HTTP-Async/Makefile @@ -0,0 +1,21 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2007/07/22 16:44:25 simon Exp $ + +COMMENT= process multiple HTTP requests in parallel without blocking + +MODULES= cpan +DISTNAME= HTTP-Async-0.07 +CATEGORIES= www + +MAINTAINER= Simon Bertrang + +# Perl +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM=Yes +PERMIT_DISTFILES_FTP= Yes + +RUN_DEPENDS= ::www/p5-libwww + +REGRESS_DEPENDS=::www/p5-Test-HTTP-Server-Simple + +.include diff --git a/www/p5-HTTP-Async/distinfo b/www/p5-HTTP-Async/distinfo new file mode 100644 index 00000000000..240ccee330d --- /dev/null +++ b/www/p5-HTTP-Async/distinfo @@ -0,0 +1,5 @@ +MD5 (HTTP-Async-0.07.tar.gz) = 0Y0scF6oorHj1Ay2Xuc/vQ== +RMD160 (HTTP-Async-0.07.tar.gz) = EyjGP4aMWRC3Q0Ip+LpUpynTG8s= +SHA1 (HTTP-Async-0.07.tar.gz) = 2fajWCNdv4hwBbgq4MX2SIm6szo= +SHA256 (HTTP-Async-0.07.tar.gz) = i7r92XTxfoEvafoC8c9ZjFcoxi5s1NI+wJj4cFBTwnc= +SIZE (HTTP-Async-0.07.tar.gz) = 16855 diff --git a/www/p5-HTTP-Async/pkg/DESCR b/www/p5-HTTP-Async/pkg/DESCR new file mode 100644 index 00000000000..cb87d509da4 --- /dev/null +++ b/www/p5-HTTP-Async/pkg/DESCR @@ -0,0 +1,4 @@ +Although using the conventional LWP::UserAgent is fast and easy it does +have some drawbacks - the code execution blocks until the request has +been completed and it is only possible to process one request at a time. +HTTP::Async attempts to address these limitations. diff --git a/www/p5-HTTP-Async/pkg/PLIST b/www/p5-HTTP-Async/pkg/PLIST new file mode 100644 index 00000000000..dae5e1036cb --- /dev/null +++ b/www/p5-HTTP-Async/pkg/PLIST @@ -0,0 +1,6 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2007/07/22 16:44:25 simon Exp $ +${P5SITE}/HTTP/Async/ +${P5SITE}/HTTP/Async.pm +${P5SITE}/HTTP/Async/Polite.pm +@man man/man3p/HTTP::Async.3p +@man man/man3p/HTTP::Async::Polite.3p