- Add p5-MooseX-AuthorizedMethods 0.006

MooseX::AuthorizedMethods exports the "authorized" declarator that makes a
verification if the user has the required permissions before the acual
invocation. The default verification method will take the "user" method result
and call "roles" to list the roles given to that user.

WWW: http://search.cpan.org/dist/MooseX-AuthorizedMethods/
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2012-04-24 19:22:54 +00:00
parent f2a5392b23
commit 1b9d721825
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=295426
5 changed files with 56 additions and 0 deletions

View file

@ -2124,6 +2124,7 @@
SUBDIR += p5-MooseX-Attribute-Chained
SUBDIR += p5-MooseX-Attribute-ENV
SUBDIR += p5-MooseX-AttributeHelpers
SUBDIR += p5-MooseX-AuthorizedMethods
SUBDIR += p5-MooseX-ChainedAccessors
SUBDIR += p5-MooseX-ClassAttribute
SUBDIR += p5-MooseX-Clone

View file

@ -0,0 +1,31 @@
# New ports collection makefile for: p5-MooseX-AuthorizedMethods
# Date created: 2012-04-25
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= MooseX-AuthorizedMethods
PORTVERSION= 0.006
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Syntax sugar for authorized methods
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-Moose>=1.21:${PORTSDIR}/devel/p5-Moose \
p5-aliased>=0:${PORTSDIR}/devel/p5-aliased
RUN_DEPENDS= p5-Moose>=1.21:${PORTSDIR}/devel/p5-Moose \
p5-aliased>=0:${PORTSDIR}/devel/p5-aliased
PERL_CONFIGURE= yes
MAN3= MooseX::AuthorizedMethods.3 \
MooseX::Meta::Method::Authorized.3 \
MooseX::Meta::Method::Authorized::CheckRoles.3
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (MooseX-AuthorizedMethods-0.006.tar.gz) = 283618269eb0151f079114a59865f4dbbc4db69c09885b50e6f080dd8b2063cb
SIZE (MooseX-AuthorizedMethods-0.006.tar.gz) = 28583

View file

@ -0,0 +1,6 @@
MooseX::AuthorizedMethods exports the "authorized" declarator that makes a
verification if the user has the required permissions before the acual
invocation. The default verification method will take the "user" method result
and call "roles" to list the roles given to that user.
WWW: http://search.cpan.org/dist/MooseX-AuthorizedMethods/

View file

@ -0,0 +1,16 @@
%%SITE_PERL%%/MooseX/AuthorizedMethods.pm
%%SITE_PERL%%/MooseX/Meta/Method/Authorized.pm
%%SITE_PERL%%/MooseX/Meta/Method/Authorized/Application/ToClass.pm
%%SITE_PERL%%/MooseX/Meta/Method/Authorized/Application/ToComposite.pm
%%SITE_PERL%%/MooseX/Meta/Method/Authorized/Application/ToInstance.pm
%%SITE_PERL%%/MooseX/Meta/Method/Authorized/CheckRoles.pm
%%SITE_PERL%%/MooseX/Meta/Method/Authorized/Meta/Role.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/AuthorizedMethods/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/AuthorizedMethods
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX
@dirrm %%SITE_PERL%%/MooseX/Meta/Method/Authorized/Meta
@dirrm %%SITE_PERL%%/MooseX/Meta/Method/Authorized/Application
@dirrm %%SITE_PERL%%/MooseX/Meta/Method/Authorized
@dirrmtry %%SITE_PERL%%/MooseX/Meta/Method
@dirrmtry %%SITE_PERL%%/MooseX/Meta
@dirrmtry %%SITE_PERL%%/MooseX