freebsd-ports/www/p5-HTTP-Server-Simple-Authen/Makefile
Sunpoet Po-Chuan Hsieh a62ac331c1 - Add p5-HTTP-Server-Simple-Authen 0.04
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/
2011-09-13 08:51:19 +00:00

26 lines
751 B
Makefile

# 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>