Date: Fri, 13 Feb 2015 05:40:47 +0000 (UTC) From: Adam Weinberger <adamw@FreeBSD.org> 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 Message-ID: <201502130540.t1D5elKB051096@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <adamw@FreeBSD.org> +# $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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502130540.t1D5elKB051096>