pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/p5-Catalyst-Plugin-Authorization-ACL Importing www...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/15c40a081900
branches:  trunk
changeset: 570167:15c40a081900
user:      sno <sno%pkgsrc.org@localhost>
date:      Tue Jan 26 11:37:33 2010 +0000

description:
Importing www/p5-Catalyst-Plugin-Authorization-ACL as indirect dependency
of scheduled update for editors/p5-Padre-Plugin-Catalyst.

This module provides Access Control List style path protection, with
arbitrary rules for Catalyst applications. It operates only on the
Catalyst private namespace, at least at the moment.

The two hierarchies of actions and controllers in Catalyst are:
* Private Namespace
    Every action has its own private path. This path reflects the Perl
    namespaces the actions were born in, and the namespaces of their
    controllers.
* External Namespace
    Some actions are also directly accessible from the outside, via a URL.
    The private and external paths will be the same, if you are using
    Local actions. Alternatively Path, Regex, or Global can be used to
    specify a different external path for an action.

The ACL module currently only knows to exploit the private namespace. In
the future extensions may be made to support external namespaces as well.

When a path is visited, rules are tested one after the other, with the most
exact rule fitting the path first, and continuing up the path. Testing
continues until a rule explcitly allows or denies access.

diffstat:

 www/p5-Catalyst-Plugin-Authorization-ACL/DESCR    |  21 ++++++++++++++
 www/p5-Catalyst-Plugin-Authorization-ACL/Makefile |  34 +++++++++++++++++++++++
 www/p5-Catalyst-Plugin-Authorization-ACL/distinfo |   5 +++
 3 files changed, 60 insertions(+), 0 deletions(-)

diffs (72 lines):

diff -r 1c2ab308a409 -r 15c40a081900 www/p5-Catalyst-Plugin-Authorization-ACL/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/p5-Catalyst-Plugin-Authorization-ACL/DESCR    Tue Jan 26 11:37:33 2010 +0000
@@ -0,0 +1,21 @@
+This module provides Access Control List style path protection, with
+arbitrary rules for Catalyst applications. It operates only on the
+Catalyst private namespace, at least at the moment.
+
+The two hierarchies of actions and controllers in Catalyst are:
+* Private Namespace
+    Every action has its own private path. This path reflects the Perl
+    namespaces the actions were born in, and the namespaces of their
+    controllers.
+* External Namespace
+    Some actions are also directly accessible from the outside, via a URL.
+    The private and external paths will be the same, if you are using
+    Local actions. Alternatively Path, Regex, or Global can be used to
+    specify a different external path for an action.
+
+The ACL module currently only knows to exploit the private namespace. In
+the future extensions may be made to support external namespaces as well.
+
+When a path is visited, rules are tested one after the other, with the most
+exact rule fitting the path first, and continuing up the path. Testing
+continues until a rule explcitly allows or denies access.
diff -r 1c2ab308a409 -r 15c40a081900 www/p5-Catalyst-Plugin-Authorization-ACL/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/p5-Catalyst-Plugin-Authorization-ACL/Makefile Tue Jan 26 11:37:33 2010 +0000
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/01/26 11:37:33 sno Exp $
+
+DISTNAME=      Catalyst-Plugin-Authorization-ACL-0.15
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    www perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Catalyst/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/Catalyst-Plugin-Authorization-ACL/
+COMMENT=       ACL support for Catalyst applications
+LICENSE=       ${PERL5_LICENSE}
+
+DEPENDS+=      p5-Catalyst-Plugin-Authentication-[0-9]*:../../www/p5-Catalyst-Plugin-Authentication
+DEPENDS+=      p5-Catalyst-Plugin-Authorization-Roles-[0-9]*:../../www/p5-Catalyst-Plugin-Authorization-Roles
+DEPENDS+=      p5-Catalyst-Runtime>=5.80013:../../www/p5-Catalyst-Runtime
+DEPENDS+=      p5-Class-Data-Inheritable-[0-9]*:../../devel/p5-Class-Data-Inheritable
+DEPENDS+=      p5-Class-Throwable-[0-9]*:../../devel/p5-Class-Throwable
+DEPENDS+=      p5-MRO-Compat-[0-9]*:../../devel/p5-MRO-Compat
+DEPENDS+=      p5-Moose-[0-9]*:../../devel/p5-Moose
+DEPENDS+=      p5-Tree-Simple-[0-9]*:../../devel/p5-Tree-Simple
+DEPENDS+=      p5-Tree-Simple-VisitorFactory-[0-9]*:../../devel/p5-Tree-Simple-VisitorFactory
+DEPENDS+=      p5-namespace-autoclean-[0-9]*:../../devel/p5-namespace-autoclean
+
+BUILD_DEPENDS+=        p5-Catalyst-Plugin-Session-[0-9]*:../../www/p5-Catalyst-Plugin-Session
+BUILD_DEPENDS+=        p5-Catalyst-Plugin-Session-State-Cookie-[0-9]*:../../www/p5-Catalyst-Plugin-Session-State-Cookie
+BUILD_DEPENDS+=        p5-Test-WWW-Mechanize-Catalyst-[0-9]*:../../www/p5-Test-WWW-Mechanize-Catalyst
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST=        auto/Catalyst/Plugin/Authorization/ACL/.packlist
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 1c2ab308a409 -r 15c40a081900 www/p5-Catalyst-Plugin-Authorization-ACL/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/p5-Catalyst-Plugin-Authorization-ACL/distinfo Tue Jan 26 11:37:33 2010 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/01/26 11:37:33 sno Exp $
+
+SHA1 (Catalyst-Plugin-Authorization-ACL-0.15.tar.gz) = 4b4bb17cf942d838aa97085f5641be913492b23d
+RMD160 (Catalyst-Plugin-Authorization-ACL-0.15.tar.gz) = f4a401b8f1bc8164dd9596ee23191037301d3f1b
+Size (Catalyst-Plugin-Authorization-ACL-0.15.tar.gz) = 33366 bytes



Home | Main Index | Thread Index | Old Index