From owner-svn-ports-all@freebsd.org Sun Mar 17 18:21:37 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 42C5B1545F47; Sun, 17 Mar 2019 18:21:37 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D38C58ADE7; Sun, 17 Mar 2019 18:21:36 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D59B3DBE9; Sun, 17 Mar 2019 18:21:34 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x2HILYD5030088; Sun, 17 Mar 2019 18:21:34 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x2HILXKd030082; Sun, 17 Mar 2019 18:21:33 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201903171821.x2HILXKd030082@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 17 Mar 2019 18:21:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r496084 - in head/www: . p5-HTTP-AnyUA X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/www: . p5-HTTP-AnyUA X-SVN-Commit-Revision: 496084 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: D38C58ADE7 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.96)[-0.963,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Mar 2019 18:21:37 -0000 Author: sunpoet Date: Sun Mar 17 18:21:33 2019 New Revision: 496084 URL: https://svnweb.freebsd.org/changeset/ports/496084 Log: Add p5-HTTP-AnyUA 0.904 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. WWW: https://metacpan.org/release/HTTP-AnyUA Added: head/www/p5-HTTP-AnyUA/ head/www/p5-HTTP-AnyUA/Makefile (contents, props changed) head/www/p5-HTTP-AnyUA/distinfo (contents, props changed) head/www/p5-HTTP-AnyUA/pkg-descr (contents, props changed) head/www/p5-HTTP-AnyUA/pkg-plist (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Sun Mar 17 18:21:27 2019 (r496083) +++ head/www/Makefile Sun Mar 17 18:21:33 2019 (r496084) @@ -955,6 +955,7 @@ SUBDIR += p5-HTML-WikiConverter-WakkaWiki SUBDIR += p5-HTML-WikiConverter-WikkaWiki SUBDIR += p5-HTML5-DOM + SUBDIR += p5-HTTP-AnyUA SUBDIR += p5-HTTP-Async SUBDIR += p5-HTTP-Body SUBDIR += p5-HTTP-BrowserDetect Added: head/www/p5-HTTP-AnyUA/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-HTTP-AnyUA/Makefile Sun Mar 17 18:21:33 2019 (r496084) @@ -0,0 +1,28 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= HTTP-AnyUA +PORTVERSION= 0.904 +CATEGORIES= www perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= HTTP user agent programming interface unification layer + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-Future>=0:devel/p5-Future \ + p5-Module-Loader>=0:devel/p5-Module-Loader +TEST_DEPENDS= p5-Test-Exception>=0:devel/p5-Test-Exception \ + p5-namespace-clean>=0:devel/p5-namespace-clean + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include Added: head/www/p5-HTTP-AnyUA/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-HTTP-AnyUA/distinfo Sun Mar 17 18:21:33 2019 (r496084) @@ -0,0 +1,3 @@ +TIMESTAMP = 1552830086 +SHA256 (HTTP-AnyUA-0.904.tar.gz) = 8da4481846a37def963de7188e5cabd75621709ba1ab17d6df4f0de993ef818d +SIZE (HTTP-AnyUA-0.904.tar.gz) = 48407 Added: head/www/p5-HTTP-AnyUA/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-HTTP-AnyUA/pkg-descr Sun Mar 17 18:21:33 2019 (r496084) @@ -0,0 +1,21 @@ +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. + +WWW: https://metacpan.org/release/HTTP-AnyUA Added: head/www/p5-HTTP-AnyUA/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-HTTP-AnyUA/pkg-plist Sun Mar 17 18:21:33 2019 (r496084) @@ -0,0 +1,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