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.
23 lines
647 B
Makefile
23 lines
647 B
Makefile
# $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"
|