diff options
author | he <he> | 2008-06-21 22:05:31 +0000 |
---|---|---|
committer | he <he> | 2008-06-21 22:05:31 +0000 |
commit | 5c2f84a48b52aa7e0fd844adc3145ab61c3df507 (patch) | |
tree | f40cef7ea4f1b2e670d20c9e6893eff94062b253 /www/p5-LWP-UserAgent-Determined | |
parent | da5809af5058e09b5e1d3d3b0f699d932b00ee18 (diff) | |
download | pkgsrc-5c2f84a48b52aa7e0fd844adc3145ab61c3df507.tar.gz |
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.
Diffstat (limited to 'www/p5-LWP-UserAgent-Determined')
-rw-r--r-- | www/p5-LWP-UserAgent-Determined/DESCR | 9 | ||||
-rw-r--r-- | www/p5-LWP-UserAgent-Determined/Makefile | 23 | ||||
-rw-r--r-- | www/p5-LWP-UserAgent-Determined/distinfo | 5 |
3 files changed, 37 insertions, 0 deletions
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 |