summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2008-06-21 22:05:31 +0000
committerhe <he@pkgsrc.org>2008-06-21 22:05:31 +0000
commit310dc491ad21ef246e931405bd1b218aa04a3074 (patch)
treef40cef7ea4f1b2e670d20c9e6893eff94062b253 /www
parent291f070901dc3585a88d60cd2e551f7011720a47 (diff)
downloadpkgsrc-310dc491ad21ef246e931405bd1b218aa04a3074.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')
-rw-r--r--www/p5-LWP-UserAgent-Determined/DESCR9
-rw-r--r--www/p5-LWP-UserAgent-Determined/Makefile23
-rw-r--r--www/p5-LWP-UserAgent-Determined/distinfo5
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