aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2007-03-19 01:31:39 +0800
committerrafan <rafan@FreeBSD.org>2007-03-19 01:31:39 +0800
commita45b12d150c3aca3471a430780f3a900c7c15884 (patch)
tree96b93b48409c7055183b982332e545936f570e08 /www
parentb961cc455824516772b1b616dd968569d2e82094 (diff)
downloadfreebsd-ports-gnome-a45b12d150c3aca3471a430780f3a900c7c15884.tar.gz
freebsd-ports-gnome-a45b12d150c3aca3471a430780f3a900c7c15884.tar.zst
freebsd-ports-gnome-a45b12d150c3aca3471a430780f3a900c7c15884.zip
Add p5-HTTP-Async 0.07, process multiple HTTP requests in parallel
without blocking. PR: ports/110469 Submitted by: chinsan
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-HTTP-Async/Makefile29
-rw-r--r--www/p5-HTTP-Async/distinfo3
-rw-r--r--www/p5-HTTP-Async/pkg-descr12
-rw-r--r--www/p5-HTTP-Async/pkg-plist7
5 files changed, 52 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index d578b14159b3..a3e8e9afe8ea 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -701,6 +701,7 @@
SUBDIR += p5-HTML-WikiConverter-UseMod
SUBDIR += p5-HTML-WikiConverter-WakkaWiki
SUBDIR += p5-HTML-WikiConverter-WikkaWiki
+ SUBDIR += p5-HTTP-Async
SUBDIR += p5-HTTP-Body
SUBDIR += p5-HTTP-BrowserDetect
SUBDIR += p5-HTTP-Cache-Transparent
diff --git a/www/p5-HTTP-Async/Makefile b/www/p5-HTTP-Async/Makefile
new file mode 100644
index 000000000000..7af50040785a
--- /dev/null
+++ b/www/p5-HTTP-Async/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: p5-HTTP-Async
+# Date created: 2007/02/14
+# Whom: chinsan
+#
+# $FreeBSD$
+#
+
+PORTNAME= HTTP-Async
+PORTVERSION= 0.07
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../../authors/id/E/EV/EVDB
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= chinsan@FreeBSD.org
+COMMENT= Process multiple HTTP requests in parallel without blocking
+
+BUILD_DEPENDS= p5-Module-Build>=0:${PORTSDIR}/devel/p5-Module-Build \
+ p5-URI>=0:${PORTSDIR}/net/p5-URI \
+ p5-HTTP-Server-Simple>=0:${PORTSDIR}/www/p5-HTTP-Server-Simple \
+ p5-libwww>=0:${PORTSDIR}/www/p5-libwww \
+ p5-Test-HTTP-Server-Simple>=0:${PORTSDIR}/www/p5-Test-HTTP-Server-Simple
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+MAN3= HTTP::Async.3 HTTP::Async::Polite.3
+
+PERL_CONFIGURE= yes
+
+.include <bsd.port.mk>
diff --git a/www/p5-HTTP-Async/distinfo b/www/p5-HTTP-Async/distinfo
new file mode 100644
index 000000000000..c10e14f0ec89
--- /dev/null
+++ b/www/p5-HTTP-Async/distinfo
@@ -0,0 +1,3 @@
+MD5 (HTTP-Async-0.07.tar.gz) = d18d2c705ea8a2b1e3d40cb65ee73fbd
+SHA256 (HTTP-Async-0.07.tar.gz) = 8bbafdd974f17e812f69fa02f1cf598c5728c62e6cd4d23ec098f8705053c277
+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 000000000000..a9bfa8636c25
--- /dev/null
+++ b/www/p5-HTTP-Async/pkg-descr
@@ -0,0 +1,12 @@
+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.
+
+It gives you a 'Async' object that you can add requests to, and then get the
+requests off as they finish. The actual sending and receiving of the
+requests is abstracted. As soon as you add a request it is transmitted, if
+there are too many requests in progress at the moment they are queued. There
+is no concept of starting or stopping - it runs continuously.
+
+WWW: http://search.cpan.org/dist/HTTP-Async/
diff --git a/www/p5-HTTP-Async/pkg-plist b/www/p5-HTTP-Async/pkg-plist
new file mode 100644
index 000000000000..0ddb187a08b6
--- /dev/null
+++ b/www/p5-HTTP-Async/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTTP/Async/.packlist
+%%SITE_PERL%%/HTTP/Async.pm
+%%SITE_PERL%%/HTTP/Async/Polite.pm
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTTP/Async
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTTP
+@dirrmtry %%SITE_PERL%%/HTTP/Async
+@dirrmtry %%SITE_PERL%%/HTTP