From owner-svn-ports-head@FreeBSD.ORG Mon Nov 18 19:25:56 2013 Return-Path: Delivered-To: svn-ports-head@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 DBB9D2B1; Mon, 18 Nov 2013 19:25:55 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BBC9121AA; Mon, 18 Nov 2013 19:25:55 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAIJPt7E043180; Mon, 18 Nov 2013 19:25:55 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAIJPsE3043175; Mon, 18 Nov 2013 19:25:54 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201311181925.rAIJPsE3043175@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Mon, 18 Nov 2013 19:25:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334249 - in head/www: . p5-Catalyst-Plugin-Session-PerUser 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.16 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: Mon, 18 Nov 2013 19:25:56 -0000 Author: sunpoet Date: Mon Nov 18 19:25:54 2013 New Revision: 334249 URL: http://svnweb.freebsd.org/changeset/ports/334249 Log: - Add p5-Catalyst-Plugin-Session-PerUser 0.05 - While I'm here: - Add LICENSE - Convert to new Perl framework - Support STAGEDIR - Sort PLIST - Remove contiguous blank lines in pkg-descr This plugin allows you to write e.g. shopping cart code which should behave well for guests as well as permanent users. The basic idea is both logged in and not logged in users can get the same benefits from sessions where it doesn't matter, but that logged in users can keep their sessions accross logins, and will even get the data they added/changed assimilated to their permanent account if they made the changes as guests and then logged in. This is probably most useful for e-commerce sites, where the shopping cart is typically used before login, and should be equally accessible to both guests and logged in users. WWW: http://search.cpan.org/dist/Catalyst-Plugin-Session-PerUser/ PR: ports/180315 Submitted by: Anes Mukhametov Added: head/www/p5-Catalyst-Plugin-Session-PerUser/ head/www/p5-Catalyst-Plugin-Session-PerUser/Makefile (contents, props changed) head/www/p5-Catalyst-Plugin-Session-PerUser/distinfo (contents, props changed) head/www/p5-Catalyst-Plugin-Session-PerUser/pkg-descr (contents, props changed) head/www/p5-Catalyst-Plugin-Session-PerUser/pkg-plist (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Mon Nov 18 19:24:53 2013 (r334248) +++ head/www/Makefile Mon Nov 18 19:25:54 2013 (r334249) @@ -786,6 +786,7 @@ SUBDIR += p5-Catalyst-Plugin-Server SUBDIR += p5-Catalyst-Plugin-Session SUBDIR += p5-Catalyst-Plugin-Session-FastMmap + SUBDIR += p5-Catalyst-Plugin-Session-PerUser SUBDIR += p5-Catalyst-Plugin-Session-State-Cookie SUBDIR += p5-Catalyst-Plugin-Session-State-URI SUBDIR += p5-Catalyst-Plugin-Session-Store-Cache Added: head/www/p5-Catalyst-Plugin-Session-PerUser/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Catalyst-Plugin-Session-PerUser/Makefile Mon Nov 18 19:25:54 2013 (r334249) @@ -0,0 +1,28 @@ +# Created by: Anes Mukhametov +# $FreeBSD$ + +PORTNAME= Catalyst-Plugin-Session-PerUser +PORTVERSION= 0.05 +CATEGORIES= www perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= anes@anes.su +COMMENT= Per user sessions (instead of per browser sessions) + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +BUILD_DEPENDS= p5-Catalyst-Plugin-Authentication>=0:${PORTSDIR}/www/p5-Catalyst-Plugin-Authentication \ + p5-Catalyst-Plugin-Session>=0.06:${PORTSDIR}/www/p5-Catalyst-Plugin-Session \ + p5-Hash-Merge>=0:${PORTSDIR}/textproc/p5-Hash-Merge \ + p5-MRO-Compat>=0:${PORTSDIR}/devel/p5-MRO-Compat \ + p5-Moose>=0:${PORTSDIR}/devel/p5-Moose \ + p5-Object-Signature>=0:${PORTSDIR}/devel/p5-Object-Signature \ + p5-namespace-autoclean>=0:${PORTSDIR}/devel/p5-namespace-autoclean +RUN_DEPENDS:= ${BUILD_DEPENDS} + +USE_PERL5= configure +USES= perl5 + +.include Added: head/www/p5-Catalyst-Plugin-Session-PerUser/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Catalyst-Plugin-Session-PerUser/distinfo Mon Nov 18 19:25:54 2013 (r334249) @@ -0,0 +1,2 @@ +SHA256 (Catalyst-Plugin-Session-PerUser-0.05.tar.gz) = 39b2b9e534f19b80164fc2b455b9eb3a1c7457900f6cf50937923bf5c7cb6d22 +SIZE (Catalyst-Plugin-Session-PerUser-0.05.tar.gz) = 25584 Added: head/www/p5-Catalyst-Plugin-Session-PerUser/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Catalyst-Plugin-Session-PerUser/pkg-descr Mon Nov 18 19:25:54 2013 (r334249) @@ -0,0 +1,14 @@ +This plugin allows you to write e.g. shopping cart code +which should behave well for guests as well as permanent users. + +The basic idea is both logged in and not logged in users can +get the same benefits from sessions where it doesn't matter, +but that logged in users can keep their sessions accross logins, +and will even get the data they added/changed assimilated to their +permanent account if they made the changes as guests and then logged in. + +This is probably most useful for e-commerce sites, where the +shopping cart is typically used before login, and should be +equally accessible to both guests and logged in users. + +WWW: http://search.cpan.org/dist/Catalyst-Plugin-Session-PerUser/ Added: head/www/p5-Catalyst-Plugin-Session-PerUser/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Catalyst-Plugin-Session-PerUser/pkg-plist Mon Nov 18 19:25:54 2013 (r334249) @@ -0,0 +1,10 @@ +%%SITE_PERL%%/Catalyst/Plugin/Session/PerUser.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Catalyst/Plugin/Session/PerUser/.packlist +%%PERL5_MAN3%%/Catalyst::Plugin::Session::PerUser.3.gz +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Catalyst/Plugin/Session/PerUser +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Catalyst/Plugin/Session +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Catalyst/Plugin +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Catalyst +@dirrmtry %%SITE_PERL%%/Catalyst/Plugin/Session +@dirrmtry %%SITE_PERL%%/Catalyst/Plugin +@dirrmtry %%SITE_PERL%%/Catalyst