www/p5-HTTP-AnyUA 0.904 FreeBSD
HTTP user agent programming interface unification layer
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- www, perl5
- Package size
- 55.0 KiB, 141.4 KiB installed
Description
HTTP::AnyUA provides a small wrapper for unifying the programming interfaces of several different actual user agents (HTTP clients) under one familiar interface.
Rather than providing yet another programming interface for you to learn, HTTP::AnyUA follows the HTTP::Tiny interface. This also means that you can plug in any supported HTTP client (LWP::UserAgent, Furl, etc.) and use it as if it were HTTP::Tiny.
Unfortunately, many modules on CPAN are hardcoded to work with specific HTTP clients, leaving the end user unable to use the HTTP client that would be best for them. Although the end user won't -- or at least doesn't need to -- use HTTP::AnyUA directly, they will benefit from client choice if their third-party modules use HTTP::AnyUA or something like it.
The primary goal of HTTP::AnyUA is to make it easy for module developers to write HTTP code once that can work with any HTTP client the end user may decide to plug in. A secondary goal is to make it easy for anyone to add support for new or yet-unsupported user agents.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | www/p5-HTTP-AnyUA | 0.904 |
| DragonFly | www/p5-HTTP-AnyUA | 0.904 |
| HardenedBSD | www/p5-HTTP-AnyUA | 0.904 |
| GhostBSD | www/p5-HTTP-AnyUA | 0.904 |
Install
Binary package:
pkg install p5-HTTP-AnyUA
From the ports tree:
cd /usr/ports/www/p5-HTTP-AnyUA/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-HTTP-AnyUA>0:www/p5-HTTP-AnyUA
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 | 0.904 | 0.904 | 0.904 | 0.904 | 0.904 |
| FreeBSD:14:quarterly | 0.904 | 0.904 | n/a | 0.904 | 0.904 |
| FreeBSD:15:latest | 0.904 | 0.904 | n/a | 0.904 | 0.904 |
| FreeBSD:15:quarterly | 0.904 | 0.904 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.904 | 0.904 | 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-Future>=0: devel/p5-Futurep5-Module-Loader>=0: devel/p5-Module-Loader
Runtime 2
p5-Future>=0: devel/p5-Futurep5-Module-Loader>=0: devel/p5-Module-Loader
Test 2
p5-Test-Exception>=0: devel/p5-Test-Exceptionp5-namespace-clean>=0: devel/p5-namespace-clean
The full lists below include those, and their dependencies in turn.
Build dependencies 8
Run dependencies 8
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 28
- %%SITE_PERL%%/HTTP/AnyUA.pm
- %%SITE_PERL%%/HTTP/AnyUA/Backend.pm
- %%SITE_PERL%%/HTTP/AnyUA/Backend/AnyEvent/HTTP.pm
- %%SITE_PERL%%/HTTP/AnyUA/Backend/Furl.pm
- %%SITE_PERL%%/HTTP/AnyUA/Backend/HTTP/AnyUA.pm
- %%SITE_PERL%%/HTTP/AnyUA/Backend/HTTP/Tiny.pm
- %%SITE_PERL%%/HTTP/AnyUA/Backend/LWP/UserAgent.pm
- %%SITE_PERL%%/HTTP/AnyUA/Backend/Mojo/UserAgent.pm
- %%SITE_PERL%%/HTTP/AnyUA/Backend/Net/Curl/Easy.pm
- %%SITE_PERL%%/HTTP/AnyUA/Middleware.pm
- %%SITE_PERL%%/HTTP/AnyUA/Middleware/ContentLength.pm
- %%SITE_PERL%%/HTTP/AnyUA/Middleware/RequestHeaders.pm
- %%SITE_PERL%%/HTTP/AnyUA/Middleware/Runtime.pm
- %%SITE_PERL%%/HTTP/AnyUA/Util.pm
- %%PERL5_MAN3%%/HTTP::AnyUA.3.gz
- %%PERL5_MAN3%%/HTTP::AnyUA::Backend.3.gz
- %%PERL5_MAN3%%/HTTP::AnyUA::Backend::AnyEvent::HTTP.3.gz
- %%PERL5_MAN3%%/HTTP::AnyUA::Backend::Furl.3.gz
- %%PERL5_MAN3%%/HTTP::AnyUA::Backend::HTTP::AnyUA.3.gz
- %%PERL5_MAN3%%/HTTP::AnyUA::Backend::HTTP::Tiny.3.gz
- %%PERL5_MAN3%%/HTTP::AnyUA::Backend::LWP::UserAgent.3.gz
- %%PERL5_MAN3%%/HTTP::AnyUA::Backend::Mojo::UserAgent.3.gz
- %%PERL5_MAN3%%/HTTP::AnyUA::Backend::Net::Curl::Easy.3.gz
- %%PERL5_MAN3%%/HTTP::AnyUA::Middleware.3.gz
- %%PERL5_MAN3%%/HTTP::AnyUA::Middleware::ContentLength.3.gz
- %%PERL5_MAN3%%/HTTP::AnyUA::Middleware::RequestHeaders.3.gz
- %%PERL5_MAN3%%/HTTP::AnyUA::Middleware::Runtime.3.gz
- %%PERL5_MAN3%%/HTTP::AnyUA::Util.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| HTTP-AnyUA-0.904.tar.gz | 48407 | 8da4481846a37def963de7188e5cabd75621709ba1ab17d6df4f0de993ef818d |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.