- Add p5-Dancer-Plugin-Auth-Extensible

- While I'm here, convert to new options helper

A user authentication and authorisation framework plugin for Dancer apps.

Makes it easy to require a user to be logged in to access certain
routes, provides role-based access control, and supports various
authentication methods/sources (config file, database, Unix system
users, etc).

Designed to support multiple authentication realms and to be as
extensible as possible, and to make secure password handling easy (the
base class for auth providers makes handling `RFC2307'-style hashed
passwords really simple, so you have no excuse for storing plain-text
passwords).

WWW: http://search.cpan.org/dist/Dancer-Plugin-Auth-Extensible/

PR:		ports/183865
Submitted by:	Henk van Oers <hvo.pm@xs4all.nl>
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2013-11-11 20:38:14 +00:00
parent 50ee5cdf4a
commit 55a908aed7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333537
5 changed files with 70 additions and 0 deletions

View File

@ -510,6 +510,7 @@
SUBDIR += p5-Crypt-X509
SUBDIR += p5-Crypt-xDBM_File
SUBDIR += p5-CryptX
SUBDIR += p5-Dancer-Plugin-Auth-Extensible
SUBDIR += p5-Dancer-Plugin-Passphrase
SUBDIR += p5-Data-Entropy
SUBDIR += p5-Data-Password

View File

@ -0,0 +1,31 @@
# Created by: Henk van Oers <hvo.pm@xs4all.nl>
# $FreeBSD$
PORTNAME= Dancer-Plugin-Auth-Extensible
PORTVERSION= 0.30
CATEGORIES= security perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= hvo.pm@xs4all.nl
COMMENT= Extensible authentication framework for Dancer apps
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-Crypt-SaltedHash>=0:${PORTSDIR}/security/p5-Crypt-SaltedHash \
p5-Dancer>=1.3118:${PORTSDIR}/www/p5-Dancer
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
OPTIONS_DEFINE= DPAEPD DPAEPU
DPAEPD_DESC= Extra dependencies for Provider::Database
DPAEPU_DESC= Extra dependencies for Provider::Unix
DPAEPD_BUILD_DEPENDS= p5-Dancer-Plugin-Database>=0:${PORTSDIR}/databases/p5-Dancer-Plugin-Database
DPAEPU_BUILD_DEPENDS= p5-Authen-Simple-PAM>=0:${PORTSDIR}/security/p5-Authen-Simple-PAM \
p5-Unix-Passwd-File>=0:${PORTSDIR}/security/p5-Unix-Passwd-File
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (Dancer-Plugin-Auth-Extensible-0.30.tar.gz) = a809396d30c2a54a5415acecdacdea2301a326853ed442f018bdeeaea41e17d1
SIZE (Dancer-Plugin-Auth-Extensible-0.30.tar.gz) = 20277

View File

@ -0,0 +1,14 @@
A user authentication and authorisation framework plugin for Dancer apps.
Makes it easy to require a user to be logged in to access certain
routes, provides role-based access control, and supports various
authentication methods/sources (config file, database, Unix system
users, etc).
Designed to support multiple authentication realms and to be as
extensible as possible, and to make secure password handling easy (the
base class for auth providers makes handling `RFC2307'-style hashed
passwords really simple, so you have no excuse for storing plain-text
passwords).
WWW: http://search.cpan.org/dist/Dancer-Plugin-Auth-Extensible/

View File

@ -0,0 +1,22 @@
%%PERL5_MAN3%%/Dancer::Plugin::Auth::Extensible.3.gz
%%PERL5_MAN3%%/Dancer::Plugin::Auth::Extensible::Provider::Base.3.gz
%%PERL5_MAN3%%/Dancer::Plugin::Auth::Extensible::Provider::Config.3.gz
%%PERL5_MAN3%%/Dancer::Plugin::Auth::Extensible::Provider::Database.3.gz
%%PERL5_MAN3%%/Dancer::Plugin::Auth::Extensible::Provider::Example.3.gz
%%PERL5_MAN3%%/Dancer::Plugin::Auth::Extensible::Provider::Unix.3.gz
%%SITE_PERL%%/Dancer/Plugin/Auth/Extensible.pm
%%SITE_PERL%%/Dancer/Plugin/Auth/Extensible/Provider/Base.pm
%%SITE_PERL%%/Dancer/Plugin/Auth/Extensible/Provider/Config.pm
%%SITE_PERL%%/Dancer/Plugin/Auth/Extensible/Provider/Database.pm
%%SITE_PERL%%/Dancer/Plugin/Auth/Extensible/Provider/Example.pm
%%SITE_PERL%%/Dancer/Plugin/Auth/Extensible/Provider/Unix.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Dancer/Plugin/Auth/Extensible/.packlist
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Dancer/Plugin/Auth/Extensible
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Dancer/Plugin/Auth
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Dancer/Plugin
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Dancer
@dirrmtry %%SITE_PERL%%/Dancer/Plugin/Auth/Extensible/Provider
@dirrmtry %%SITE_PERL%%/Dancer/Plugin/Auth/Extensible
@dirrmtry %%SITE_PERL%%/Dancer/Plugin/Auth
@dirrmtry %%SITE_PERL%%/Dancer/Plugin
@dirrmtry %%SITE_PERL%%/Dancer