aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-12-07 15:03:45 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-12-07 15:03:45 +0000
commitf7c8824a5ffe2ec18603f49e1b657e9efd9f93fe (patch)
treeafa2c93ae0744085d053f05f24e5b962544b831b
parent2619821f69d2031fcca5ec303d04f300bb077d78 (diff)
CGI::Application::Plugin::Authorization adds the ability to
authorize users for specific tasks. WWW: http://search.cpan.org/dist/CGI-Application-Plugin-Authorization PR: ports/129006 Submitted by: George Hartzell <hartzell at alerce.com>
Notes
Notes: svn path=/head/; revision=223945
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-CGI-Application-Plugin-Authorization/Makefile40
-rw-r--r--www/p5-CGI-Application-Plugin-Authorization/distinfo3
-rw-r--r--www/p5-CGI-Application-Plugin-Authorization/pkg-descr4
-rw-r--r--www/p5-CGI-Application-Plugin-Authorization/pkg-plist11
5 files changed, 59 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 79129ae5b379..1686d59cf19c 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -628,6 +628,7 @@
SUBDIR += p5-CGI-Application-Dispatch-Server
SUBDIR += p5-CGI-Application-Plugin-AnyTemplate
SUBDIR += p5-CGI-Application-Plugin-Authentication
+ SUBDIR += p5-CGI-Application-Plugin-Authorization
SUBDIR += p5-CGI-Application-Plugin-AutoRunmode
SUBDIR += p5-CGI-Application-Plugin-DBH
SUBDIR += p5-CGI-Application-Plugin-DebugScreen
diff --git a/www/p5-CGI-Application-Plugin-Authorization/Makefile b/www/p5-CGI-Application-Plugin-Authorization/Makefile
new file mode 100644
index 000000000000..d7e32fb683a2
--- /dev/null
+++ b/www/p5-CGI-Application-Plugin-Authorization/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: www/p5-CGI-Application-Plugin-Authorization
+# Date created: 01 September 2008
+# Whom: George Hartzell <hartzell@alerce.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= CGI-Application-Plugin-Authorization
+PORTVERSION= 0.07
+CATEGORIES= www perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= hartzell@alerce.com
+COMMENT= Support for authorization of requests in CGI::Application
+
+BUILD_DEPENDS= ${SITE_PERL}/CGI/Application.pm:${PORTSDIR}/www/p5-CGI-Application \
+ ${SITE_PERL}/Class/ISA.pm:${PORTSDIR}/devel/p5-Class-ISA \
+ ${SITE_PERL}/UNIVERSAL/require.pm:${PORTSDIR}/devel/p5-UNIVERSAL-require \
+ ${SITE_PERL}/CGI/Application/Plugin/Authentication.pm:${PORTSDIR}/www/p5-CGI-Application-Plugin-Authentication \
+ ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
+ ${SITE_PERL}/Test/Exception.pm:${PORTSDIR}/devel/p5-Test-Exception \
+ ${SITE_PERL}/Test/Warn.pm:${PORTSDIR}/devel/p5-Test-Warn
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_MODBUILD= yes
+
+MAN3= CGI::Application::Plugin::Authorization::Driver::Generic.3 \
+ CGI::Application::Plugin::Authorization::Driver.3 \
+ CGI::Application::Plugin::Authorization::Driver::DBI.3 \
+ CGI::Application::Plugin::Authorization::Driver::Dummy.3 \
+ CGI::Application::Plugin::Authorization::Driver::SimpleGroup.3 \
+ CGI::Application::Plugin::Authorization.3 \
+ CGI::Application::Plugin::Authorization::Driver::HTGroup.3
+
+.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} < 500800
+IGNORE= requires Perl 5.8 or newer. Install lang/perl5.8, and try again
+.endif
+.include <bsd.port.post.mk>
diff --git a/www/p5-CGI-Application-Plugin-Authorization/distinfo b/www/p5-CGI-Application-Plugin-Authorization/distinfo
new file mode 100644
index 000000000000..4a914995d062
--- /dev/null
+++ b/www/p5-CGI-Application-Plugin-Authorization/distinfo
@@ -0,0 +1,3 @@
+MD5 (CGI-Application-Plugin-Authorization-0.07.tar.gz) = bc4758e2c03ec7a22271ff84dbdbc570
+SHA256 (CGI-Application-Plugin-Authorization-0.07.tar.gz) = 607864011f2000c8db20789e720cb6b129fe26cabb4008e40dffac1977bf5a87
+SIZE (CGI-Application-Plugin-Authorization-0.07.tar.gz) = 20810
diff --git a/www/p5-CGI-Application-Plugin-Authorization/pkg-descr b/www/p5-CGI-Application-Plugin-Authorization/pkg-descr
new file mode 100644
index 000000000000..1dc7a83fa590
--- /dev/null
+++ b/www/p5-CGI-Application-Plugin-Authorization/pkg-descr
@@ -0,0 +1,4 @@
+CGI::Application::Plugin::Authorization adds the ability to
+authorize users for specific tasks.
+
+WWW: http://search.cpan.org/dist/CGI-Application-Plugin-Authorization
diff --git a/www/p5-CGI-Application-Plugin-Authorization/pkg-plist b/www/p5-CGI-Application-Plugin-Authorization/pkg-plist
new file mode 100644
index 000000000000..ec45a99d56f2
--- /dev/null
+++ b/www/p5-CGI-Application-Plugin-Authorization/pkg-plist
@@ -0,0 +1,11 @@
+%%SITE_PERL%%/CGI/Application/Plugin/Authorization.pm
+%%SITE_PERL%%/CGI/Application/Plugin/Authorization/Driver.pm
+%%SITE_PERL%%/CGI/Application/Plugin/Authorization/Driver/DBI.pm
+%%SITE_PERL%%/CGI/Application/Plugin/Authorization/Driver/Dummy.pm
+%%SITE_PERL%%/CGI/Application/Plugin/Authorization/Driver/Generic.pm
+%%SITE_PERL%%/CGI/Application/Plugin/Authorization/Driver/HTGroup.pm
+%%SITE_PERL%%/CGI/Application/Plugin/Authorization/Driver/SimpleGroup.pm
+@dirrmtry %%SITE_PERL%%/CGI/Application/Plugin/Authorization/Driver
+@dirrmtry %%SITE_PERL%%/CGI/Application/Plugin/Authorization
+@dirrmtry %%SITE_PERL%%/CGI/Application/Plugin
+@dirrmtry %%SITE_PERL%%/CGI/Application