summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsno <sno@pkgsrc.org>2010-01-26 11:37:33 +0000
committersno <sno@pkgsrc.org>2010-01-26 11:37:33 +0000
commite4afdfacab7d9455111843aaa50cf641adabbd6b (patch)
tree7d38a101a6972fb10a96e3d403abd362ea4dd688
parent1940775542b487a8f600047d5260246aabb0c727 (diff)
downloadpkgsrc-e4afdfacab7d9455111843aaa50cf641adabbd6b.tar.gz
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.
-rw-r--r--www/p5-Catalyst-Plugin-Authorization-ACL/DESCR21
-rw-r--r--www/p5-Catalyst-Plugin-Authorization-ACL/Makefile34
-rw-r--r--www/p5-Catalyst-Plugin-Authorization-ACL/distinfo5
3 files changed, 60 insertions, 0 deletions
diff --git a/www/p5-Catalyst-Plugin-Authorization-ACL/DESCR b/www/p5-Catalyst-Plugin-Authorization-ACL/DESCR
new file mode 100644
index 00000000000..a3f254cea30
--- /dev/null
+++ b/www/p5-Catalyst-Plugin-Authorization-ACL/DESCR
@@ -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 --git a/www/p5-Catalyst-Plugin-Authorization-ACL/Makefile b/www/p5-Catalyst-Plugin-Authorization-ACL/Makefile
new file mode 100644
index 00000000000..ca70bc2d3ee
--- /dev/null
+++ b/www/p5-Catalyst-Plugin-Authorization-ACL/Makefile
@@ -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
+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 --git a/www/p5-Catalyst-Plugin-Authorization-ACL/distinfo b/www/p5-Catalyst-Plugin-Authorization-ACL/distinfo
new file mode 100644
index 00000000000..1fd8c27b15e
--- /dev/null
+++ b/www/p5-Catalyst-Plugin-Authorization-ACL/distinfo
@@ -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