aboutsummaryrefslogtreecommitdiff
path: root/www/p5-HTTP-Server-Simple-Authen
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-09-13 08:51:19 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-09-13 08:51:19 +0000
commita62ac331c11f2b3d925fe688653df6b9c1b1bfab (patch)
treed8b123571257ec1dd512731ed493333ece47cb20 /www/p5-HTTP-Server-Simple-Authen
parent1ed28cd1fa274ed3c20525e61f1fd5043dcb579f (diff)
Notes
Diffstat (limited to 'www/p5-HTTP-Server-Simple-Authen')
-rw-r--r--www/p5-HTTP-Server-Simple-Authen/Makefile26
-rw-r--r--www/p5-HTTP-Server-Simple-Authen/distinfo2
-rw-r--r--www/p5-HTTP-Server-Simple-Authen/pkg-descr10
-rw-r--r--www/p5-HTTP-Server-Simple-Authen/pkg-plist10
4 files changed, 48 insertions, 0 deletions
diff --git a/www/p5-HTTP-Server-Simple-Authen/Makefile b/www/p5-HTTP-Server-Simple-Authen/Makefile
new file mode 100644
index 000000000000..9ec3135fc339
--- /dev/null
+++ b/www/p5-HTTP-Server-Simple-Authen/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: p5-HTTP-Server-Simple-Authen
+# Date created: 2011-09-13
+# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= HTTP-Server-Simple-Authen
+PORTVERSION= 0.04
+CATEGORIES= www security perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Authentication plugin for HTTP::Server::Simple
+
+BUILD_DEPENDS= p5-Authen-Simple>=0.4:${PORTSDIR}/security/p5-Authen-Simple \
+ p5-HTTP-Server-Simple>=0.16:${PORTSDIR}/www/p5-HTTP-Server-Simple
+RUN_DEPENDS= p5-Authen-Simple>=0.4:${PORTSDIR}/security/p5-Authen-Simple \
+ p5-HTTP-Server-Simple>=0.16:${PORTSDIR}/www/p5-HTTP-Server-Simple
+
+PERL_CONFIGURE= yes
+
+MAN3= HTTP::Server::Simple::Authen.3
+
+.include <bsd.port.mk>
diff --git a/www/p5-HTTP-Server-Simple-Authen/distinfo b/www/p5-HTTP-Server-Simple-Authen/distinfo
new file mode 100644
index 000000000000..f8ddfa534d06
--- /dev/null
+++ b/www/p5-HTTP-Server-Simple-Authen/distinfo
@@ -0,0 +1,2 @@
+SHA256 (HTTP-Server-Simple-Authen-0.04.tar.gz) = 2dddc8ab9dc8986980151e4ba836a6bbf091f45cf195be1768ebdb4a993ed59b
+SIZE (HTTP-Server-Simple-Authen-0.04.tar.gz) = 2562
diff --git a/www/p5-HTTP-Server-Simple-Authen/pkg-descr b/www/p5-HTTP-Server-Simple-Authen/pkg-descr
new file mode 100644
index 000000000000..b4ce50a633fd
--- /dev/null
+++ b/www/p5-HTTP-Server-Simple-Authen/pkg-descr
@@ -0,0 +1,10 @@
+HTTP::Server::Simple::Authen is an HTTP::Server::Simple plugin to allow HTTP
+authentication. Authentication scheme is pluggable and you can use whatever
+Authentication protocol that Authen::Simple supports.
+
+You can use authenticate method whatever you want to authenticate the request.
+The method returns $username taken from the request if the authentication is
+successful, and undef otherwise. The code in "SYNOPSIS" requires authentication
+for all the requests and behaves just the same as Apache's Require valid-user.
+
+WWW: http://search.cpan.org/dist/HTTP-Server-Simple-Authen/
diff --git a/www/p5-HTTP-Server-Simple-Authen/pkg-plist b/www/p5-HTTP-Server-Simple-Authen/pkg-plist
new file mode 100644
index 000000000000..855a885f9e3c
--- /dev/null
+++ b/www/p5-HTTP-Server-Simple-Authen/pkg-plist
@@ -0,0 +1,10 @@
+%%SITE_PERL%%/HTTP/Server/Simple/Authen.pm
+%%SITE_PERL%%/HTTP/Server/Simple/server.pl
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTTP/Server/Simple/Authen/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTTP/Server/Simple/Authen
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTTP/Server/Simple
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTTP/Server
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTTP
+@dirrmtry %%SITE_PERL%%/HTTP/Server/Simple
+@dirrmtry %%SITE_PERL%%/HTTP/Server
+@dirrmtry %%SITE_PERL%%/HTTP