Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
This Action handles doing automatic method dispatching for REST
requests. It takes a normal Catalyst action, and changes the dispatch
to append an underscore and method name.
For example, in the synopsis above, calling GET on "/foo" would
result in the foo_GET method being dispatched.
If a method is requested that is not implemented, this action will
return a status 405 (Method Not Found). It will populate the "Allow"
header with the list of implemented request methods. You can override
this behavior by implementing a custom 405 handler like so:
sub foo_not_implemented {
... handle not implemented methods ...
}
If you do not provide an _OPTIONS subroutine, we will automatically
respond with a 200 OK. The "Allow" header will be populated with
the list of implemented request methods.
It is likely that you really want to look at Catalyst::Controller::REST,
which brings this class together with automatic Serialization of
requests and responses.
+36
View File
@@ -0,0 +1,36 @@
# $NetBSD: Makefile,v 1.14 2013/05/31 12:42:37 wiz Exp $
DISTNAME= Catalyst-Action-REST-0.91
PKGNAME= p5-${DISTNAME}
PKGREVISION= 2
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Catalyst/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Catalyst-Action-REST/
COMMENT= Automated REST Method Dispatching
LICENSE= ${PERL5_LICENSE}
DEPENDS+= p5-Catalyst-Runtime>=5.80000:../../www/p5-Catalyst-Runtime
DEPENDS+= p5-Class-Inspector>=1.13:../../devel/p5-Class-Inspector
DEPENDS+= p5-Config-General-[0-9]*:../../devel/p5-Config-General
DEPENDS+= p5-Data-Serializer>=0.36:../../devel/p5-Data-Serializer
DEPENDS+= p5-Data-Taxi-[0-9]*:../../devel/p5-Data-Taxi
DEPENDS+= p5-FreezeThaw-[0-9]*:../../devel/p5-FreezeThaw
DEPENDS+= p5-JSON>=2.12:../../converters/p5-JSON
DEPENDS+= p5-MRO-Compat>=0.10:../../devel/p5-MRO-Compat
DEPENDS+= {perl>=5.10,p5-Module-Pluggable-[0-9]*}:../../devel/p5-Module-Pluggable
DEPENDS+= p5-Moose-[0-9]*:../../devel/p5-Moose
DEPENDS+= p5-PHP-Serialization-[0-9]*:../../devel/p5-PHP-Serialization
DEPENDS+= p5-Params-Validate>=0.76:../../devel/p5-Params-Validate
DEPENDS+= p5-URI-Find-[0-9]*:../../www/p5-URI-Find
DEPENDS+= p5-YAML-Syck>=0.67:../../textproc/p5-YAML-Syck
DEPENDS+= p5-libwww>=5.831:../../www/p5-libwww
DEPENDS+= p5-namespace-autoclean-[0-9]*:../../devel/p5-namespace-autoclean
USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/Catalyst/Action/REST/.packlist
PERL5_MODULE_TYPE= Module::Install::Bundled
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
+5
View File
@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.7 2011/11/24 16:12:11 hiramatsu Exp $
SHA1 (Catalyst-Action-REST-0.91.tar.gz) = a7fedf8e434a35ad6ff14136835dec87825e6a63
RMD160 (Catalyst-Action-REST-0.91.tar.gz) = c870d305472cc183e0e451e9afc2df4c37d69281
Size (Catalyst-Action-REST-0.91.tar.gz) = 63990 bytes