Bug 183865 - New port: security/p5-Dancer-Plugin-Auth-Extensible Auth framework
Summary: New port: security/p5-Dancer-Plugin-Auth-Extensible Auth framework
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-11 16:10 UTC by Henk van Oers
Modified: 2013-11-11 20:40 UTC (History)
0 users

See Also:


Attachments
file.shar (4.84 KB, text/plain)
2013-11-11 16:10 UTC, Henk van Oers
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Henk van Oers 2013-11-11 16:10:03 UTC
Extensible authentication framework for Dancer apps

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-11-11 16:10:23 UTC
Responsible Changed
From-To: freebsd-ports-bugs->perl

perl@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-11-11 17:57:24 UTC
Responsible Changed
From-To: perl->sunpoet

I'll take it.
Comment 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-11-11 20:38:26 UTC
State Changed
From-To: open->closed

New port added. Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-11-11 20:38:29 UTC
Author: sunpoet
Date: Mon Nov 11 20:38:14 2013
New Revision: 333537
URL: http://svnweb.freebsd.org/changeset/ports/333537

Log:
  - 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>

Added:
  head/security/p5-Dancer-Plugin-Auth-Extensible/
  head/security/p5-Dancer-Plugin-Auth-Extensible/Makefile   (contents, props changed)
  head/security/p5-Dancer-Plugin-Auth-Extensible/distinfo   (contents, props changed)
  head/security/p5-Dancer-Plugin-Auth-Extensible/pkg-descr   (contents, props changed)
  head/security/p5-Dancer-Plugin-Auth-Extensible/pkg-plist   (contents, props changed)
Modified:
  head/security/Makefile

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Mon Nov 11 20:34:45 2013	(r333536)
+++ head/security/Makefile	Mon Nov 11 20:38:14 2013	(r333537)
@@ -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

Added: head/security/p5-Dancer-Plugin-Auth-Extensible/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/p5-Dancer-Plugin-Auth-Extensible/Makefile	Mon Nov 11 20:38:14 2013	(r333537)
@@ -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>

Added: head/security/p5-Dancer-Plugin-Auth-Extensible/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/p5-Dancer-Plugin-Auth-Extensible/distinfo	Mon Nov 11 20:38:14 2013	(r333537)
@@ -0,0 +1,2 @@
+SHA256 (Dancer-Plugin-Auth-Extensible-0.30.tar.gz) = a809396d30c2a54a5415acecdacdea2301a326853ed442f018bdeeaea41e17d1
+SIZE (Dancer-Plugin-Auth-Extensible-0.30.tar.gz) = 20277

Added: head/security/p5-Dancer-Plugin-Auth-Extensible/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/p5-Dancer-Plugin-Auth-Extensible/pkg-descr	Mon Nov 11 20:38:14 2013	(r333537)
@@ -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/

Added: head/security/p5-Dancer-Plugin-Auth-Extensible/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/p5-Dancer-Plugin-Auth-Extensible/pkg-plist	Mon Nov 11 20:38:14 2013	(r333537)
@@ -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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"