From owner-svn-ports-head@freebsd.org Mon Jan 27 20:08:07 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9CE0622BDF5; Mon, 27 Jan 2020 20:08:07 +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 48615M3gWKz43C6; Mon, 27 Jan 2020 20:08:07 +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 79017F754; Mon, 27 Jan 2020 20:08:07 +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 00RK87eZ003909; Mon, 27 Jan 2020 20:08:07 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 00RK86d3003901; Mon, 27 Jan 2020 20:08:06 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202001272008.00RK86d3003901@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Mon, 27 Jan 2020 20:08:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r524411 - in head/www: . p5-HTTP-Throwable X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/www: . p5-HTTP-Throwable X-SVN-Commit-Revision: 524411 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jan 2020 20:08:07 -0000 Author: sunpoet Date: Mon Jan 27 20:08:05 2020 New Revision: 524411 URL: https://svnweb.freebsd.org/changeset/ports/524411 Log: Add p5-HTTP-Throwable 0.027 HTTP::Throwable provides a set of strongly-typed, PSGI-friendly exception implementations corresponding to the HTTP error status code (4xx-5xx) as well as the redirection codes (3xx). This particular package (HTTP::Throwable) is the shared role for all the exceptions involved. It's not intended that you use HTTP::Throwable directly, although you can, and instructions for using it correctly are given below. Instead, you probably want to use HTTP::Throwable::Factory, which will assemble exception classes from roles needed to build an exception for your use case. WWW: https://metacpan.org/release/HTTP-Throwable Added: head/www/p5-HTTP-Throwable/ head/www/p5-HTTP-Throwable/Makefile (contents, props changed) head/www/p5-HTTP-Throwable/distinfo (contents, props changed) head/www/p5-HTTP-Throwable/pkg-descr (contents, props changed) head/www/p5-HTTP-Throwable/pkg-plist (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Mon Jan 27 19:47:20 2020 (r524410) +++ head/www/Makefile Mon Jan 27 20:08:05 2020 (r524411) @@ -939,6 +939,7 @@ SUBDIR += p5-HTTP-SimpleLinkChecker SUBDIR += p5-HTTP-Size SUBDIR += p5-HTTP-Thin + SUBDIR += p5-HTTP-Throwable SUBDIR += p5-HTTP-Tiny SUBDIR += p5-HTTP-Tiny-SPDY SUBDIR += p5-HTTP-Tiny-UA Added: head/www/p5-HTTP-Throwable/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-HTTP-Throwable/Makefile Mon Jan 27 20:08:05 2020 (r524411) @@ -0,0 +1,36 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= HTTP-Throwable +PORTVERSION= 0.027 +CATEGORIES= www perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Set of strongly-typed, PSGI-friendly HTTP 1.1 exception libraries + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-Module-Runtime>=0:devel/p5-Module-Runtime \ + p5-Moo>=1.004003:devel/p5-Moo \ + p5-MooX-StrictConstructor>=0:devel/p5-MooX-StrictConstructor \ + p5-Package-Variant>=1.002000:devel/p5-Package-Variant \ + p5-Plack>=0.9967:www/p5-Plack \ + p5-Sub-Exporter>=0:devel/p5-Sub-Exporter \ + p5-Throwable>=0.102080:devel/p5-Throwable \ + p5-Type-Tiny>=0:devel/p5-Type-Tiny \ + p5-namespace-clean>=0:devel/p5-namespace-clean +TEST_DEPENDS= p5-HTTP-Message>=0:www/p5-HTTP-Message \ + p5-Test-Deep>=0:devel/p5-Test-Deep \ + p5-Test-Fatal>=0.003:devel/p5-Test-Fatal + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include Added: head/www/p5-HTTP-Throwable/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-HTTP-Throwable/distinfo Mon Jan 27 20:08:05 2020 (r524411) @@ -0,0 +1,3 @@ +TIMESTAMP = 1580125307 +SHA256 (HTTP-Throwable-0.027.tar.gz) = f1747b9188c7525c417acba3ea7603e4dee5195f482bd574a39f91a7bee52359 +SIZE (HTTP-Throwable-0.027.tar.gz) = 41443 Added: head/www/p5-HTTP-Throwable/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-HTTP-Throwable/pkg-descr Mon Jan 27 20:08:05 2020 (r524411) @@ -0,0 +1,11 @@ +HTTP::Throwable provides a set of strongly-typed, PSGI-friendly exception +implementations corresponding to the HTTP error status code (4xx-5xx) as well as +the redirection codes (3xx). + +This particular package (HTTP::Throwable) is the shared role for all the +exceptions involved. It's not intended that you use HTTP::Throwable directly, +although you can, and instructions for using it correctly are given below. +Instead, you probably want to use HTTP::Throwable::Factory, which will assemble +exception classes from roles needed to build an exception for your use case. + +WWW: https://metacpan.org/release/HTTP-Throwable Added: head/www/p5-HTTP-Throwable/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-HTTP-Throwable/pkg-plist Mon Jan 27 20:08:05 2020 (r524411) @@ -0,0 +1,82 @@ +%%SITE_PERL%%/HTTP/Throwable.pm +%%SITE_PERL%%/HTTP/Throwable/Factory.pm +%%SITE_PERL%%/HTTP/Throwable/Role/BoringText.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Generic.pm +%%SITE_PERL%%/HTTP/Throwable/Role/NoBody.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Redirect.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Status/BadGateway.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Status/BadRequest.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Status/Conflict.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Status/ExpectationFailed.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Status/Forbidden.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Status/Found.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Status/GatewayTimeout.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Status/Gone.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Status/HTTPVersionNotSupported.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Status/ImATeapot.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Status/InternalServerError.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Status/LengthRequired.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Status/MethodNotAllowed.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Status/MovedPermanently.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Status/MultipleChoices.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Status/NotAcceptable.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Status/NotFound.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Status/NotImplemented.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Status/NotModified.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Status/PermanentRedirect.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Status/PreconditionFailed.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Status/ProxyAuthenticationRequired.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Status/RequestEntityTooLarge.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Status/RequestTimeout.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Status/RequestURITooLong.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Status/RequestedRangeNotSatisfiable.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Status/SeeOther.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Status/ServiceUnavailable.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Status/TemporaryRedirect.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Status/TooManyRequests.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Status/Unauthorized.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Status/UnsupportedMediaType.pm +%%SITE_PERL%%/HTTP/Throwable/Role/Status/UseProxy.pm +%%SITE_PERL%%/HTTP/Throwable/Role/TextBody.pm +%%SITE_PERL%%/HTTP/Throwable/Variant.pm +%%PERL5_MAN3%%/HTTP::Throwable.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Factory.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::BoringText.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Generic.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::NoBody.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Redirect.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Status::BadGateway.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Status::BadRequest.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Status::Conflict.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Status::ExpectationFailed.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Status::Forbidden.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Status::Found.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Status::GatewayTimeout.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Status::Gone.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Status::HTTPVersionNotSupported.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Status::ImATeapot.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Status::InternalServerError.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Status::LengthRequired.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Status::MethodNotAllowed.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Status::MovedPermanently.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Status::MultipleChoices.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Status::NotAcceptable.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Status::NotFound.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Status::NotImplemented.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Status::NotModified.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Status::PermanentRedirect.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Status::PreconditionFailed.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Status::ProxyAuthenticationRequired.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Status::RequestEntityTooLarge.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Status::RequestTimeout.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Status::RequestURITooLong.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Status::RequestedRangeNotSatisfiable.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Status::SeeOther.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Status::ServiceUnavailable.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Status::TemporaryRedirect.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Status::TooManyRequests.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Status::Unauthorized.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Status::UnsupportedMediaType.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::Status::UseProxy.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Role::TextBody.3.gz +%%PERL5_MAN3%%/HTTP::Throwable::Variant.3.gz