Date: Thu, 2 Jun 2016 19:57:21 +0000 (UTC) From: Kurt Jaeger <pi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r416291 - in head/www: . p5-Dancer-Plugin-RPC Message-ID: <201606021957.u52JvL9E038521@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pi Date: Thu Jun 2 19:57:21 2016 New Revision: 416291 URL: https://svnweb.freebsd.org/changeset/ports/416291 Log: New port: www/p5-Dancer-Plugin-RPC This module contains two plugins for Dancer: Dancer::Plugin::RPC::XMLRPC and Dancer::Plugin::RPC::JSONRPC. They are plugins rather than Plack::Middleware. Dancer::Plugin::RPC::XMLRPC This plugin exposes the new keyword "xmlrpc" that is followed by 2 arguments: the endpoint and the arguments to configure the xmlrpc-calls at this endpoint. Dancer::Plugin::RPC::JSONRPC This plugin exposes the new keyword "jsonrpc" that is followed by 2 arguments: the endpoint and the arguments to configure the jsonrpc-calls at this endpoint. See the /t dir for examples (until some tutorial exists) WWW: https://metacpan.org/pod/Dancer::Plugin::RPC PR: 209597 Submitted by: Henk van Oers <hvo.pm@xs4all.nl> Added: head/www/p5-Dancer-Plugin-RPC/ head/www/p5-Dancer-Plugin-RPC/Makefile (contents, props changed) head/www/p5-Dancer-Plugin-RPC/distinfo (contents, props changed) head/www/p5-Dancer-Plugin-RPC/pkg-descr (contents, props changed) head/www/p5-Dancer-Plugin-RPC/pkg-plist (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Thu Jun 2 19:50:51 2016 (r416290) +++ head/www/Makefile Thu Jun 2 19:57:21 2016 (r416291) @@ -839,6 +839,7 @@ SUBDIR += p5-Dancer-Plugin-Lexicon SUBDIR += p5-Dancer-Plugin-Memcached SUBDIR += p5-Dancer-Plugin-REST + SUBDIR += p5-Dancer-Plugin-RPC SUBDIR += p5-Dancer-Plugin-SiteMap SUBDIR += p5-Dancer-Plugin-ValidationClass SUBDIR += p5-Dancer-Session-Cookie Added: head/www/p5-Dancer-Plugin-RPC/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Dancer-Plugin-RPC/Makefile Thu Jun 2 19:57:21 2016 (r416291) @@ -0,0 +1,29 @@ +# Created by: Henk van Oers <hvo.pm@xs4all.nl> +# $FreeBSD$ + +PORTNAME= Dancer-Plugin-RPC +PORTVERSION= 1.00 +CATEGORIES= www perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:ABELTJE +PKGNAMEPREFIX= p5- + +MAINTAINER= hvo.pm@xs4all.nl +COMMENT= Configure endpoints for XML and/or JSON RPC routes + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +RUN_DEPENDS= \ + p5-Dancer>=1.3202:www/p5-Dancer \ + p5-Plack>=1.0002:www/p5-Plack \ + p5-Params-Validate>=1.0:devel/p5-Params-Validate \ + p5-JSON>=2.0:converters/p5-JSON \ + p5-RPC-XML>=0.79:net/p5-RPC-XML +BUILD_DEPENDS:= ${RUN_DEPENDS} +TEST_DEPENDS=p5-Test-Fatal>0.010:devel/p5-Test-Fatal + +USES= perl5 +USE_PERL5= configure + +.include <bsd.port.mk> Added: head/www/p5-Dancer-Plugin-RPC/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Dancer-Plugin-RPC/distinfo Thu Jun 2 19:57:21 2016 (r416291) @@ -0,0 +1,3 @@ +TIMESTAMP = 1463556230 +SHA256 (Dancer-Plugin-RPC-1.00.tar.gz) = 785c99c54fa93650f3bbd3811c3e7e67ff113071a7508a3c7a46414ec3100482 +SIZE (Dancer-Plugin-RPC-1.00.tar.gz) = 13935 Added: head/www/p5-Dancer-Plugin-RPC/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Dancer-Plugin-RPC/pkg-descr Thu Jun 2 19:57:21 2016 (r416291) @@ -0,0 +1,19 @@ +This module contains two plugins for Dancer: Dancer::Plugin::RPC::XMLRPC +and Dancer::Plugin::RPC::JSONRPC. They are plugins rather than +Plack::Middleware. + +Dancer::Plugin::RPC::XMLRPC + +This plugin exposes the new keyword "xmlrpc" that is followed by 2 +arguments: the endpoint and the arguments to configure the xmlrpc-calls +at this endpoint. + +Dancer::Plugin::RPC::JSONRPC + +This plugin exposes the new keyword "jsonrpc" that is followed by +2 arguments: the endpoint and the arguments to configure the +jsonrpc-calls at this endpoint. + +See the /t dir for examples (until some tutorial exists) + +WWW: https://metacpan.org/pod/Dancer::Plugin::RPC Added: head/www/p5-Dancer-Plugin-RPC/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Dancer-Plugin-RPC/pkg-plist Thu Jun 2 19:57:21 2016 (r416291) @@ -0,0 +1,14 @@ +%%SITE_PERL%%/Dancer/Plugin/RPC.pm +%%SITE_PERL%%/Dancer/Plugin/RPC/JSONRPC.pm +%%SITE_PERL%%/Dancer/Plugin/RPC/XMLRPC.pm +%%SITE_PERL%%/Dancer/RPCPlugin/CallbackResult.pm +%%SITE_PERL%%/Dancer/RPCPlugin/DispatchFromConfig.pm +%%SITE_PERL%%/Dancer/RPCPlugin/DispatchFromPod.pm +%%SITE_PERL%%/Dancer/RPCPlugin/DispatchItem.pm +%%PERL5_MAN3%%/Dancer::Plugin::RPC.3.gz +%%PERL5_MAN3%%/Dancer::Plugin::RPC::JSONRPC.3.gz +%%PERL5_MAN3%%/Dancer::Plugin::RPC::XMLRPC.3.gz +%%PERL5_MAN3%%/Dancer::RPCPlugin::CallbackResult.3.gz +%%PERL5_MAN3%%/Dancer::RPCPlugin::DispatchFromConfig.3.gz +%%PERL5_MAN3%%/Dancer::RPCPlugin::DispatchFromPod.3.gz +%%PERL5_MAN3%%/Dancer::RPCPlugin::DispatchItem.3.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606021957.u52JvL9E038521>