From owner-svn-ports-head@FreeBSD.ORG Fri Feb 13 05:40:49 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 217C4B2D; Fri, 13 Feb 2015 05:40:49 +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 0C6027FB; Fri, 13 Feb 2015 05:40:49 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1D5emTH051101; Fri, 13 Feb 2015 05:40:48 GMT (envelope-from adamw@FreeBSD.org) Received: (from adamw@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1D5elKB051096; Fri, 13 Feb 2015 05:40:47 GMT (envelope-from adamw@FreeBSD.org) Message-Id: <201502130540.t1D5elKB051096@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: adamw set sender to adamw@FreeBSD.org using -f From: Adam Weinberger Date: Fri, 13 Feb 2015 05:40:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r378912 - in head/www: . p5-Dancer2-Plugin-Deferred 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.18-1 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, 13 Feb 2015 05:40:49 -0000 Author: adamw Date: Fri Feb 13 05:40:46 2015 New Revision: 378912 URL: https://svnweb.freebsd.org/changeset/ports/378912 QAT: https://qat.redports.org/buildarchive/r378912/ Log: Add www/p5-Dancer2-Plugin-Deferred, a hook to utilize flash messages across redirects. Added: head/www/p5-Dancer2-Plugin-Deferred/ head/www/p5-Dancer2-Plugin-Deferred/Makefile (contents, props changed) head/www/p5-Dancer2-Plugin-Deferred/distinfo (contents, props changed) head/www/p5-Dancer2-Plugin-Deferred/pkg-descr (contents, props changed) head/www/p5-Dancer2-Plugin-Deferred/pkg-plist (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Fri Feb 13 01:59:09 2015 (r378911) +++ head/www/Makefile Fri Feb 13 05:40:46 2015 (r378912) @@ -821,6 +821,7 @@ SUBDIR += p5-Dancer-Template-Xslate SUBDIR += p5-Dancer2 SUBDIR += p5-Dancer2-Plugin-Ajax + SUBDIR += p5-Dancer2-Plugin-Deferred SUBDIR += p5-Data-TreeDumper-Renderer-DHTML SUBDIR += p5-Data-Validate-URI SUBDIR += p5-Emplacken Added: head/www/p5-Dancer2-Plugin-Deferred/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Dancer2-Plugin-Deferred/Makefile Fri Feb 13 05:40:46 2015 (r378912) @@ -0,0 +1,21 @@ +# Created by: Adam Weinberger +# $FreeBSD$ + +PORTNAME= Dancer2-Plugin-Deferred +PORTVERSION= 0.007015 +CATEGORIES= www perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:DELUXARAN +PKGNAMEPREFIX= p5- + +MAINTAINER= adamw@FreeBSD.org +COMMENT= Dancer2 plugin to defer messages or data across redirections + +BUILD_DEPENDS= p5-Dancer2>=0:${PORTSDIR}/www/p5-Dancer2 \ + p5-URI>=0:${PORTSDIR}/net/p5-URI +RUN_DEPENDS:= ${BUILD_DEPENDS} + +USES= perl5 +USE_PERL5= configure + +.include Added: head/www/p5-Dancer2-Plugin-Deferred/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Dancer2-Plugin-Deferred/distinfo Fri Feb 13 05:40:46 2015 (r378912) @@ -0,0 +1,2 @@ +SHA256 (Dancer2-Plugin-Deferred-0.007015.tar.gz) = c13c1fd2f8e3fce82a6b4384ff4b8589df86a2407c1c8a333ea5911fcbc90d8a +SIZE (Dancer2-Plugin-Deferred-0.007015.tar.gz) = 73895 Added: head/www/p5-Dancer2-Plugin-Deferred/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Dancer2-Plugin-Deferred/pkg-descr Fri Feb 13 05:40:46 2015 (r378912) @@ -0,0 +1,12 @@ +This Dancer2 plugin provides a method for deferring a one-time message across a +redirect. It is similar to "flash" messages, but without the race conditions +that can result from multiple tabs in a browser or from AJAX requests. It is +similar in design to Catalyst::Plugin::StatusMessage, but adapted for Dancer2. + +It works by creating a unique message ID within the session that holds deferred +data. The message ID is automatically added as a query parameter to redirection +requests. It's sort of like a session within a session, but tied to a request +rather than global to the browser. (It will even chain across multiple +redirects.) + +WWW: https://metacpan.org/pod/Dancer2::Plugin::Deferred Added: head/www/p5-Dancer2-Plugin-Deferred/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Dancer2-Plugin-Deferred/pkg-plist Fri Feb 13 05:40:46 2015 (r378912) @@ -0,0 +1,5 @@ +%%SITE_PERL%%/Dancer2/Plugin/Deferred.pm +%%PERL5_MAN3%%/Dancer2::Plugin::Deferred.3.gz +@comment Don't install these: +@comment %%SITE_PERL%%/Dancer2/Plugin/README.pod +@comment %%PERL5_MAN3%%/Dancer2::Plugin::README.3.gz