From 5c2f84a48b52aa7e0fd844adc3145ab61c3df507 Mon Sep 17 00:00:00 2001 From: he Date: Sat, 21 Jun 2008 22:05:31 +0000 Subject: Import p5-LWP-UserAgent-Determined version 1.03. This class works just like LWP::UserAgent (and is based on it, by being a subclass of it), except that when you use it to get a web page but run into a possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds and retry a few times. It also adds some methods for controlling exactly what errors are considered retry-worthy and how many times to wait and for how many seconds, but normally you needn't bother about these, as the default settings are relatively sane. --- www/p5-LWP-UserAgent-Determined/DESCR | 9 +++++++++ www/p5-LWP-UserAgent-Determined/Makefile | 23 +++++++++++++++++++++++ www/p5-LWP-UserAgent-Determined/distinfo | 5 +++++ 3 files changed, 37 insertions(+) create mode 100644 www/p5-LWP-UserAgent-Determined/DESCR create mode 100644 www/p5-LWP-UserAgent-Determined/Makefile create mode 100644 www/p5-LWP-UserAgent-Determined/distinfo (limited to 'www') diff --git a/www/p5-LWP-UserAgent-Determined/DESCR b/www/p5-LWP-UserAgent-Determined/DESCR new file mode 100644 index 00000000000..02d31d8c3e1 --- /dev/null +++ b/www/p5-LWP-UserAgent-Determined/DESCR @@ -0,0 +1,9 @@ +This class works just like LWP::UserAgent (and is based on it, by +being a subclass of it), except that when you use it to get a web page +but run into a possibly-temporary error (like a DNS lookup timeout), +it'll wait a few seconds and retry a few times. + +It also adds some methods for controlling exactly what errors are +considered retry-worthy and how many times to wait and for how many +seconds, but normally you needn't bother about these, as the default +settings are relatively sane. diff --git a/www/p5-LWP-UserAgent-Determined/Makefile b/www/p5-LWP-UserAgent-Determined/Makefile new file mode 100644 index 00000000000..d0b72d3d8f6 --- /dev/null +++ b/www/p5-LWP-UserAgent-Determined/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/06/21 22:05:31 he Exp $ +# + +DISTNAME= LWP-UserAgent-Determined-1.03 +PKGNAME= p5-${DISTNAME} +SVR4_PKGNAME= p5lud +CATEGORIES= www net perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=LWP/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/LWP-UserAgent-Determined/ +COMMENT= Perl5 virtual browser that retries errors + +PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir + +DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww + +USE_LANGUAGES= # empty +PERL5_PACKLIST= auto/LWP/UserAgent/Determined/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/www/p5-LWP-UserAgent-Determined/distinfo b/www/p5-LWP-UserAgent-Determined/distinfo new file mode 100644 index 00000000000..9e06ee600b8 --- /dev/null +++ b/www/p5-LWP-UserAgent-Determined/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/06/21 22:05:31 he Exp $ + +SHA1 (LWP-UserAgent-Determined-1.03.tar.gz) = ef97253e38c007ee03730dd2d5340ef37bfe67a3 +RMD160 (LWP-UserAgent-Determined-1.03.tar.gz) = f5bbf903b680e26e246dd40b42453132c6968a33 +Size (LWP-UserAgent-Determined-1.03.tar.gz) = 6268 bytes -- cgit v1.2.3