From owner-svn-ports-head@freebsd.org Thu Jun 2 19:57:23 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 44A60B66343; Thu, 2 Jun 2016 19:57:23 +0000 (UTC) (envelope-from pi@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 mx1.freebsd.org (Postfix) with ESMTPS id 06E4112D8; Thu, 2 Jun 2016 19:57:22 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u52JvM2t038527; Thu, 2 Jun 2016 19:57:22 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u52JvL9E038521; Thu, 2 Jun 2016 19:57:21 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201606021957.u52JvL9E038521@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Thu, 2 Jun 2016 19:57:21 +0000 (UTC) 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 X-SVN-Group: ports-head 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.22 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: Thu, 02 Jun 2016 19:57:23 -0000 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 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 +# $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 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