diff options
author | sno <sno@pkgsrc.org> | 2010-01-27 09:25:56 +0000 |
---|---|---|
committer | sno <sno@pkgsrc.org> | 2010-01-27 09:25:56 +0000 |
commit | 71693f501a312549fb351b2435ef2e85a3e7c629 (patch) | |
tree | 7d9319283f527c81c8ebc5c5d3bf32ec8e4a617c | |
parent | 7bff05e0b854ebc655046b9d312eefd8f00e6bf5 (diff) | |
download | pkgsrc-71693f501a312549fb351b2435ef2e85a3e7c629.tar.gz |
Importing www/p5-Catalyst-Authentication-Credential-HTTP version 1.011 as
indirect dependency of upcoming 0.08 version of editors/p5-Padre-Plugin-Catalyst
This module provides the feature of HTTP authentication for
Catalyst::Plugin::Authentication. Both basic and digest authentication
are currently supported.
When authentication is required, this module sets a status of 401, and
the body of the response to 'Authorization required.'. To override this
and set some own content, check for the $c->res->status == 401 in the
end action, and change the body accordingly.
-rw-r--r-- | www/p5-Catalyst-Authentication-Credential-HTTP/DESCR | 8 | ||||
-rw-r--r-- | www/p5-Catalyst-Authentication-Credential-HTTP/Makefile | 29 | ||||
-rw-r--r-- | www/p5-Catalyst-Authentication-Credential-HTTP/distinfo | 5 |
3 files changed, 42 insertions, 0 deletions
diff --git a/www/p5-Catalyst-Authentication-Credential-HTTP/DESCR b/www/p5-Catalyst-Authentication-Credential-HTTP/DESCR new file mode 100644 index 00000000000..c994dee8f1e --- /dev/null +++ b/www/p5-Catalyst-Authentication-Credential-HTTP/DESCR @@ -0,0 +1,8 @@ +This module provides the feature of HTTP authentication for +Catalyst::Plugin::Authentication. Both basic and digest authentication +are currently supported. + +When authentication is required, this module sets a status of 401, and +the body of the response to 'Authorization required.'. To override this +and set some own content, check for the $c->res->status == 401 in the +end action, and change the body accordingly. diff --git a/www/p5-Catalyst-Authentication-Credential-HTTP/Makefile b/www/p5-Catalyst-Authentication-Credential-HTTP/Makefile new file mode 100644 index 00000000000..6df08f9edbe --- /dev/null +++ b/www/p5-Catalyst-Authentication-Credential-HTTP/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/01/27 09:25:56 sno Exp $ + +DISTNAME= Catalyst-Authentication-Credential-HTTP-1.011 +PKGNAME= p5-${DISTNAME} +#PKGREVISION= 1 +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Catalyst/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/Catalyst-Authentication-Credential-HTTP/ +COMMENT= HTTP Basic and Digest authentication for Catalyst +LICENSE= ${PERL5_LICENSE} + +DEPENDS+= p5-Catalyst-Plugin-Authentication>=0.10008:../../www/p5-Catalyst-Plugin-Authentication +DEPENDS+= p5-Catalyst-Runtime-[0-9]*:../../www/p5-Catalyst-Runtime +DEPENDS+= p5-Class-Accessor-[0-9]*:../../devel/p5-Class-Accessor +DEPENDS+= p5-Data-UUID>=0.11:../../devel/p5-Data-UUID +DEPENDS+= p5-String-Escape-[0-9]*:../../devel/p5-String-Escape +DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI + +BUILD_DEPENDS+= p5-Test-Exception-[0-9]*:../../devel/p5-Test-Exception +BUILD_DEPENDS+= p5-Test-MockObject-[0-9]*:../../devel/p5-Test-MockObject + +PERL5_PACKLIST= auto/Catalyst/Authentication/Credential/HTTP/.packlist +PERL5_MODULE_TYPE= Module::Install +PKG_DESTDIR_SUPPORT= user-destdir + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/www/p5-Catalyst-Authentication-Credential-HTTP/distinfo b/www/p5-Catalyst-Authentication-Credential-HTTP/distinfo new file mode 100644 index 00000000000..3327b7963b2 --- /dev/null +++ b/www/p5-Catalyst-Authentication-Credential-HTTP/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/01/27 09:25:56 sno Exp $ + +SHA1 (Catalyst-Authentication-Credential-HTTP-1.011.tar.gz) = cf9499d7a900a007cb3c7f867b799815281b626b +RMD160 (Catalyst-Authentication-Credential-HTTP-1.011.tar.gz) = 0d2ef13cdb938928bef6f366842cb069ee5c0bfc +Size (Catalyst-Authentication-Credential-HTTP-1.011.tar.gz) = 32060 bytes |