From owner-svn-ports-all@FreeBSD.ORG Thu Aug 21 13:12:01 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9DF07C57; Thu, 21 Aug 2014 13:12:01 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 7E406342C; Thu, 21 Aug 2014 13:12:01 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s7LDC1Hu066051; Thu, 21 Aug 2014 13:12:01 GMT (envelope-from des@FreeBSD.org) Received: (from des@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s7LDC1eQ066045; Thu, 21 Aug 2014 13:12:01 GMT (envelope-from des@FreeBSD.org) Message-Id: <201408211312.s7LDC1eQ066045@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: des set sender to des@FreeBSD.org using -f From: Dag-Erling Smørgrav Date: Thu, 21 Aug 2014 13:12:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r365555 - in head/www/p5-Catalyst-Plugin-Server: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Aug 2014 13:12:01 -0000 Author: des Date: Thu Aug 21 13:12:00 2014 New Revision: 365555 URL: http://svnweb.freebsd.org/changeset/ports/365555 QAT: https://qat.redports.org/buildarchive/r365555/ Log: Add a patch to enable support, cf CPAN RT #85226. Take maintainership. Added: head/www/p5-Catalyst-Plugin-Server/files/ head/www/p5-Catalyst-Plugin-Server/files/patch-lib-Catalyst-Plugin-Server-XMLRPC.pm (contents, props changed) Modified: head/www/p5-Catalyst-Plugin-Server/Makefile Modified: head/www/p5-Catalyst-Plugin-Server/Makefile ============================================================================== --- head/www/p5-Catalyst-Plugin-Server/Makefile Thu Aug 21 13:09:15 2014 (r365554) +++ head/www/p5-Catalyst-Plugin-Server/Makefile Thu Aug 21 13:12:00 2014 (r365555) @@ -3,12 +3,12 @@ PORTNAME= Catalyst-Plugin-Server PORTVERSION= 0.28 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- -MAINTAINER= perl@FreeBSD.org +MAINTAINER= des@FreeBSD.org COMMENT= Catalyst Server Plugin: Base & XMLRPC LICENSE= ART10 GPLv1 Added: head/www/p5-Catalyst-Plugin-Server/files/patch-lib-Catalyst-Plugin-Server-XMLRPC.pm ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Catalyst-Plugin-Server/files/patch-lib-Catalyst-Plugin-Server-XMLRPC.pm Thu Aug 21 13:12:00 2014 (r365555) @@ -0,0 +1,44 @@ +--- lib/Catalyst/Plugin/Server/XMLRPC.pm.orig ++++ lib/Catalyst/Plugin/Server/XMLRPC.pm +@@ -512,7 +512,7 @@ Alias of $c->req->parameters + + __PACKAGE__->mk_accessors( + qw/ path prefix separator attribute convert_params +- show_errors xml_encoding ++ show_errors xml_encoding allow_nil + / + ); + +@@ -532,6 +532,8 @@ Alias of $c->req->parameters + || $DefaultShowErrors ); + $self->xml_encoding( $c->config->{xmlrpc}->{xml_encoding} ) + if $c->config->{xmlrpc}->{xml_encoding}; ++ $self->allow_nil( $c->config->{xmlrpc}->{allow_nil} ) ++ if $c->config->{xmlrpc}->{allow_nil}; + $self->attribute($DefaultAttr); + $self->convert_params( 1 ); + +@@ -690,6 +692,9 @@ Alias of $c->req->parameters + local $RPC::XML::ENCODING = $c->server->xmlrpc->config->xml_encoding + if $c->server->xmlrpc->config->xml_encoding; + ++ local $RPC::XML::ALLOW_NIL = $c->server->xmlrpc->config->allow_nil ++ if $c->server->xmlrpc->config->allow_nil; ++ + local $Clone::Fast::BREAK_REFS = 1; + + my $res = RPC::XML::response->new(clone($status)); +@@ -808,6 +813,13 @@ default encoding to C for instance. + + Defaults to C which is the default of C. + ++=item allow_nil ++ ++Allow undefined values to be encoded as a C<< nil >> element of an empty ++string. ++ ++Defaults to false which is the default of C. ++ + =back + + =head1 DIAGNOSTICS