BSD Ports

www/p5-ParallelUserAgent 2.62 FreeBSD

Extension for LWP to allow parallel HTTP and FTP access

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
www, perl5
Package size
63.6 KiB, 167.2 KiB installed

Description

ParallelUserAgent (or PUA for short) is an extension of the existing libwww-5.x distribution. It allows you to connect to download several Web pages in _parallel_, without having to request each page one after the other.

Instead of retrieving each single page using LWP::UserAgent::request or ::simple_request methods, you first "register" all pages that you wish to download in parallel and then call PUA's "wait" method, which will then make all the necessary connections and download the pages.

You can define callback routines which will be called whenever a connection is established, is cut off, new data comes in or a request finishes. The subroutines can be global for all requests you registered, or different for every single request.

Callbacks for example allow you to print status updates as the responses come in, or even immediately post follow-up requests based on the responses, all within the same single "wait" cycle.

In the other systems

SystemPortVersion
FreeBSDwww/p5-ParallelUserAgent2.62
NetBSDwww/p5-ParallelUserAgent2.62nb10
DragonFlywww/p5-ParallelUserAgent2.62
MidnightBSDwww/p5-ParallelUserAgent2.62

Install

Binary package:

pkg install p5-ParallelUserAgent

From the ports tree:

cd /usr/ports/www/p5-ParallelUserAgent/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-ParallelUserAgent>0:www/p5-ParallelUserAgent

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.622.622.622.622.62
FreeBSD:14:quarterly2.622.62n/a2.622.62
FreeBSD:15:latest2.622.62n/a2.622.62
FreeBSD:15:quarterly2.622.62n/an/an/a
FreeBSD:16:latest2.622.62n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

The full lists below include those, and their dependencies in turn.

Build dependencies 25
Run dependencies 25

Configuration

No options to configure.

USES
perl5 tar:tgz
Service scripts
none

Files

pkg-plist 20
  • %%SITE_PERL%%/Bundle/ParallelUA.pm
  • %%SITE_PERL%%/LWP/Parallel.pm
  • %%SITE_PERL%%/LWP/Parallel/Protocol.pm
  • %%SITE_PERL%%/LWP/Parallel/Protocol/file.pm
  • %%SITE_PERL%%/LWP/Parallel/Protocol/ftp.pm
  • %%SITE_PERL%%/LWP/Parallel/Protocol/http.pm
  • %%SITE_PERL%%/LWP/Parallel/Protocol/https.pm
  • %%SITE_PERL%%/LWP/Parallel/RobotUA.pm
  • %%SITE_PERL%%/LWP/Parallel/UserAgent.pm
  • %%SITE_PERL%%/LWP/ParallelUA.pm
  • %%SITE_PERL%%/LWP/RobotPUA.pm
  • %%PERL5_MAN3%%/Bundle::ParallelUA.3.gz
  • %%PERL5_MAN3%%/LWP::Parallel.3.gz
  • %%PERL5_MAN3%%/LWP::Parallel::Protocol.3.gz
  • %%PERL5_MAN3%%/LWP::Parallel::Protocol::ftp.3.gz
  • %%PERL5_MAN3%%/LWP::Parallel::Protocol::http.3.gz
  • %%PERL5_MAN3%%/LWP::Parallel::RobotUA.3.gz
  • %%PERL5_MAN3%%/LWP::Parallel::UserAgent.3.gz
  • %%PERL5_MAN3%%/LWP::ParallelUA.3.gz
  • %%PERL5_MAN3%%/LWP::RobotPUA.3.gz
distinfo 1
FileSizeSHA256
ParallelUserAgent-2.62.tgz5891074d2a29da1d5eb1766dfe79a09781d7d192161f061acc87ef05ae27e32a95e41
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.