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
| System | Port | Version |
|---|---|---|
| FreeBSD | www/p5-ParallelUserAgent | 2.62 |
| NetBSD | www/p5-ParallelUserAgent | 2.62nb10 |
| DragonFly | www/p5-ParallelUserAgent | 2.62 |
| MidnightBSD | www/p5-ParallelUserAgent | 2.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.62 | 2.62 | 2.62 | 2.62 | 2.62 |
| FreeBSD:14:quarterly | 2.62 | 2.62 | n/a | 2.62 | 2.62 |
| FreeBSD:15:latest | 2.62 | 2.62 | n/a | 2.62 | 2.62 |
| FreeBSD:15:quarterly | 2.62 | 2.62 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.62 | 2.62 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
p5-IO-Socket-SSL>=0: security/p5-IO-Socket-SSLp5-libwww>=5.64: www/p5-libwww
Runtime 2
p5-IO-Socket-SSL>=0: security/p5-IO-Socket-SSLp5-libwww>=5.64: www/p5-libwww
The full lists below include those, and their dependencies in turn.
Build dependencies 25
- converters/p5-Encode-Locale
- converters/p5-MIME-Base32
- converters/p5-MIME-Base64
- devel/p5-Clone
- devel/p5-IO-HTML
- devel/p5-TimeDate
- lang/p5-Try-Tiny
- lang/perl5.42
- net/p5-Net-HTTP
- net/p5-URI
- security/p5-Authen-NTLM
- security/p5-Digest-HMAC
- security/p5-IO-Socket-SSL
- security/p5-Net-SSLeay
- sysutils/p5-File-Listing
- www/p5-HTML-Parser
- www/p5-HTML-Tagset
- www/p5-HTTP-Cookies
- www/p5-HTTP-Date
- www/p5-HTTP-Message
- www/p5-HTTP-Negotiate
- www/p5-LWP-MediaTypes
- www/p5-Mozilla-CA
- www/p5-WWW-RobotRules
- www/p5-libwww
Run dependencies 25
- converters/p5-Encode-Locale
- converters/p5-MIME-Base32
- converters/p5-MIME-Base64
- devel/p5-Clone
- devel/p5-IO-HTML
- devel/p5-TimeDate
- lang/p5-Try-Tiny
- lang/perl5.42
- net/p5-Net-HTTP
- net/p5-URI
- security/p5-Authen-NTLM
- security/p5-Digest-HMAC
- security/p5-IO-Socket-SSL
- security/p5-Net-SSLeay
- sysutils/p5-File-Listing
- www/p5-HTML-Parser
- www/p5-HTML-Tagset
- www/p5-HTTP-Cookies
- www/p5-HTTP-Date
- www/p5-HTTP-Message
- www/p5-HTTP-Negotiate
- www/p5-LWP-MediaTypes
- www/p5-Mozilla-CA
- www/p5-WWW-RobotRules
- www/p5-libwww
Required by 2
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
| File | Size | SHA256 |
|---|---|---|
| ParallelUserAgent-2.62.tgz | 58910 | 74d2a29da1d5eb1766dfe79a09781d7d192161f061acc87ef05ae27e32a95e41 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.