From owner-svn-ports-head@freebsd.org Fri Jul 24 10:06:57 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 0DF6F3603E7; Fri, 24 Jul 2020 10:06:57 +0000 (UTC) (envelope-from mikael@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4BClH46cmxz4L0Q; Fri, 24 Jul 2020 10:06:56 +0000 (UTC) (envelope-from mikael@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 C7AD0847E; Fri, 24 Jul 2020 10:06:56 +0000 (UTC) (envelope-from mikael@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 06OA6uKd082037; Fri, 24 Jul 2020 10:06:56 GMT (envelope-from mikael@FreeBSD.org) Received: (from mikael@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 06OA6tlU082033; Fri, 24 Jul 2020 10:06:55 GMT (envelope-from mikael@FreeBSD.org) Message-Id: <202007241006.06OA6tlU082033@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mikael set sender to mikael@FreeBSD.org using -f From: Mikael Urankar Date: Fri, 24 Jul 2020 10:06:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r543237 - in head/www: . p5-Web-Machine X-SVN-Group: ports-head X-SVN-Commit-Author: mikael X-SVN-Commit-Paths: in head/www: . p5-Web-Machine X-SVN-Commit-Revision: 543237 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.33 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: Fri, 24 Jul 2020 10:06:57 -0000 Author: mikael Date: Fri Jul 24 10:06:55 2020 New Revision: 543237 URL: https://svnweb.freebsd.org/changeset/ports/543237 Log: www/p5-Web-Machine: create port Web::Machine provides a RESTful web framework modeled as a state machine. You define one or more resource classes. Each resource represents a single RESTful URI end point, such as a user, an email, etc. The resource class can also be the target for POST requests to create a new user, email, etc. Each resource is a state machine, and each request for a resource is handled by running the request through that state machine. Web::Machine is built on top of Plack, but it handles the full request and response cycle. PR: 248041 Added: head/www/p5-Web-Machine/ head/www/p5-Web-Machine/Makefile (contents, props changed) head/www/p5-Web-Machine/distinfo (contents, props changed) head/www/p5-Web-Machine/pkg-descr (contents, props changed) head/www/p5-Web-Machine/pkg-plist (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Fri Jul 24 10:05:45 2020 (r543236) +++ head/www/Makefile Fri Jul 24 10:06:55 2020 (r543237) @@ -1259,6 +1259,7 @@ SUBDIR += p5-WWW-Yandex-TIC SUBDIR += p5-WWW-iTunesConnect SUBDIR += p5-Web-Query + SUBDIR += p5-Web-Machine SUBDIR += p5-Web-Scraper SUBDIR += p5-Web-Scraper-Config SUBDIR += p5-Web-Simple Added: head/www/p5-Web-Machine/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Web-Machine/Makefile Fri Jul 24 10:06:55 2020 (r543237) @@ -0,0 +1,21 @@ +# $FreeBSD$ + +PORTNAME= Web-Machine +PORTVERSION= 0.17 +CATEGORIES= www perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= mikael@FreeBSD.org +COMMENT= Perl port of Webmachine + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual + +RUN_DEPENDS= p5-HTTP-Headers-ActionPack>0:www/p5-HTTP-Headers-ActionPack \ + p5-IO-Handle-Util>0:devel/p5-IO-Handle-Util + +USES= perl5 +USE_PERL5= configure + +.include Added: head/www/p5-Web-Machine/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Web-Machine/distinfo Fri Jul 24 10:06:55 2020 (r543237) @@ -0,0 +1,3 @@ +TIMESTAMP = 1594975235 +SHA256 (Web-Machine-0.17.tar.gz) = f139d2b3114c549e91847daaab8b75cb699e57daf5bbf0dbd13293f33fe5e22a +SIZE (Web-Machine-0.17.tar.gz) = 73528 Added: head/www/p5-Web-Machine/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Web-Machine/pkg-descr Fri Jul 24 10:06:55 2020 (r543237) @@ -0,0 +1,13 @@ +Web::Machine provides a RESTful web framework modeled as a state machine. +You define one or more resource classes. Each resource represents a single +RESTful URI end point, such as a user, an email, etc. The resource class can +also be the target for POST requests to create a new user, email, etc. + +Each resource is a state machine, and each request for a resource is handled by +running the request through that state machine. + +Web::Machine is built on top of Plack, but it handles the full request and +response cycle. + +WWW: https://metacpan.org/pod/Web::Machine +WWW: https://github.com/sartak/webmachine-perl Added: head/www/p5-Web-Machine/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Web-Machine/pkg-plist Fri Jul 24 10:06:55 2020 (r543237) @@ -0,0 +1,20 @@ +%%SITE_PERL%%/Web/Machine.pm +%%SITE_PERL%%/Web/Machine/FSM.pm +%%SITE_PERL%%/Web/Machine/FSM/States.pm +%%SITE_PERL%%/Web/Machine/I18N.pm +%%SITE_PERL%%/Web/Machine/I18N/en.pm +%%SITE_PERL%%/Web/Machine/Manual.pod +%%SITE_PERL%%/Web/Machine/Resource.pm +%%SITE_PERL%%/Web/Machine/Util.pm +%%SITE_PERL%%/Web/Machine/Util/BodyEncoding.pm +%%SITE_PERL%%/Web/Machine/Util/ContentNegotiation.pm +%%PERL5_MAN3%%/Web::Machine.3.gz +%%PERL5_MAN3%%/Web::Machine::FSM.3.gz +%%PERL5_MAN3%%/Web::Machine::FSM::States.3.gz +%%PERL5_MAN3%%/Web::Machine::I18N.3.gz +%%PERL5_MAN3%%/Web::Machine::I18N::en.3.gz +%%PERL5_MAN3%%/Web::Machine::Manual.3.gz +%%PERL5_MAN3%%/Web::Machine::Resource.3.gz +%%PERL5_MAN3%%/Web::Machine::Util.3.gz +%%PERL5_MAN3%%/Web::Machine::Util::BodyEncoding.3.gz +%%PERL5_MAN3%%/Web::Machine::Util::ContentNegotiation.3.gz