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>
This commit is contained in:
parent
914807748e
commit
6231b45dd3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=416291
5 changed files with 66 additions and 0 deletions
|
@ -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
|
||||
|
|
29
www/p5-Dancer-Plugin-RPC/Makefile
Normal file
29
www/p5-Dancer-Plugin-RPC/Makefile
Normal file
|
@ -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>
|
3
www/p5-Dancer-Plugin-RPC/distinfo
Normal file
3
www/p5-Dancer-Plugin-RPC/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1463556230
|
||||
SHA256 (Dancer-Plugin-RPC-1.00.tar.gz) = 785c99c54fa93650f3bbd3811c3e7e67ff113071a7508a3c7a46414ec3100482
|
||||
SIZE (Dancer-Plugin-RPC-1.00.tar.gz) = 13935
|
19
www/p5-Dancer-Plugin-RPC/pkg-descr
Normal file
19
www/p5-Dancer-Plugin-RPC/pkg-descr
Normal file
|
@ -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
|
14
www/p5-Dancer-Plugin-RPC/pkg-plist
Normal file
14
www/p5-Dancer-Plugin-RPC/pkg-plist
Normal file
|
@ -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
|
Loading…
Reference in a new issue