BSD Ports

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

SystemPortVersion
FreeBSDwww/p5-HTTP-AnyUA0.904
DragonFlywww/p5-HTTP-AnyUA0.904
HardenedBSDwww/p5-HTTP-AnyUA0.904
GhostBSDwww/p5-HTTP-AnyUA0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.9040.9040.9040.9040.904
FreeBSD:14:quarterly0.9040.904n/a0.9040.904
FreeBSD:15:latest0.9040.904n/a0.9040.904
FreeBSD:15:quarterly0.9040.904n/an/an/a
FreeBSD:16:latest0.9040.904n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

Test 2

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
FileSizeSHA256
HTTP-AnyUA-0.904.tar.gz484078da4481846a37def963de7188e5cabd75621709ba1ab17d6df4f0de993ef818d
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.