From 2e0fa777e6054eff2cfb9b41f54dc90ad332bf35 Mon Sep 17 00:00:00 2001 From: Erwin Lansing Date: Mon, 12 Dec 2005 15:02:41 +0000 Subject: [PATCH] This plugin uses "Authen::Htpasswd" to let your application use ".htpasswd" files for it's authentication storage. WWW: http://search.cpan.org/dist/Catalyst-Plugin-Authentication-Store-Htpasswd/ PR: ports/90274 Submitted by: Lars Balker Rasmussen --- www/Makefile | 1 + .../Makefile | 32 +++++++++++++++++++ .../distinfo | 3 ++ .../pkg-descr | 4 +++ .../pkg-plist | 8 +++++ 5 files changed, 48 insertions(+) create mode 100644 www/p5-Catalyst-Plugin-Authentication-Store-Htpasswd/Makefile create mode 100644 www/p5-Catalyst-Plugin-Authentication-Store-Htpasswd/distinfo create mode 100644 www/p5-Catalyst-Plugin-Authentication-Store-Htpasswd/pkg-descr create mode 100644 www/p5-Catalyst-Plugin-Authentication-Store-Htpasswd/pkg-plist diff --git a/www/Makefile b/www/Makefile index 0c83c6d75dc3..96dbabd9ee3e 100644 --- a/www/Makefile +++ b/www/Makefile @@ -497,6 +497,7 @@ SUBDIR += p5-Catalyst-Plugin-Authentication SUBDIR += p5-Catalyst-Plugin-Authentication-CDBI SUBDIR += p5-Catalyst-Plugin-Authentication-Store-DBIC + SUBDIR += p5-Catalyst-Plugin-Authentication-Store-Htpasswd SUBDIR += p5-Catalyst-Plugin-Authorization-Roles SUBDIR += p5-Catalyst-Plugin-DefaultEnd SUBDIR += p5-Catalyst-Plugin-FillInForm diff --git a/www/p5-Catalyst-Plugin-Authentication-Store-Htpasswd/Makefile b/www/p5-Catalyst-Plugin-Authentication-Store-Htpasswd/Makefile new file mode 100644 index 000000000000..2c7d8bc51bc7 --- /dev/null +++ b/www/p5-Catalyst-Plugin-Authentication-Store-Htpasswd/Makefile @@ -0,0 +1,32 @@ +# Ports collection makefile for: p5-Catalyst-Plugin-Authentication-Store-Htpasswd +# Date created: Dec 12, 2005 +# Whom: Lars Balker Rasmussen +# +# $FreeBSD$ +# + +PORTNAME= Catalyst-Plugin-Authentication-Store-Htpasswd +PORTVERSION= 0.011 +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Catalyst +PKGNAMEPREFIX= p5- + +MAINTAINER= lars@balker.dk +COMMENT= Use .htpasswd with Catalyst + +BUILD_DEPENDS= p5-Catalyst-Plugin-Authentication>=0.01:${PORTSDIR}/www/p5-Catalyst-Plugin-Authentication \ + p5-Authen-Htpasswd>=0.13:${PORTSDIR}/security/p5-Authen-Htpasswd +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_MODBUILD= yes + +MAN3= Catalyst::Plugin::Authentication::Store::Htpasswd::User.3 \ + Catalyst::Plugin::Authentication::Store::Htpasswd.3 \ + Catalyst::Plugin::Authentication::Store::Htpasswd::Backend.3 + +.include +.if ${PERL_LEVEL} < 500801 +IGNORE= requires at least Perl 5.8.1. Install lang/perl5.8, and try again +.endif +.include diff --git a/www/p5-Catalyst-Plugin-Authentication-Store-Htpasswd/distinfo b/www/p5-Catalyst-Plugin-Authentication-Store-Htpasswd/distinfo new file mode 100644 index 000000000000..90bb7aaf3c31 --- /dev/null +++ b/www/p5-Catalyst-Plugin-Authentication-Store-Htpasswd/distinfo @@ -0,0 +1,3 @@ +MD5 (Catalyst-Plugin-Authentication-Store-Htpasswd-0.011.tar.gz) = c715b8161a548119f993a6c3e9d2d0c8 +SHA256 (Catalyst-Plugin-Authentication-Store-Htpasswd-0.011.tar.gz) = a066196417a8cd878183b6f65364c703b504d8d80060fc2b881649c452a3696d +SIZE (Catalyst-Plugin-Authentication-Store-Htpasswd-0.011.tar.gz) = 4003 diff --git a/www/p5-Catalyst-Plugin-Authentication-Store-Htpasswd/pkg-descr b/www/p5-Catalyst-Plugin-Authentication-Store-Htpasswd/pkg-descr new file mode 100644 index 000000000000..95b13b11712f --- /dev/null +++ b/www/p5-Catalyst-Plugin-Authentication-Store-Htpasswd/pkg-descr @@ -0,0 +1,4 @@ +This plugin uses "Authen::Htpasswd" to let your application use +".htpasswd" files for it's authentication storage. + +WWW: http://search.cpan.org/dist/Catalyst-Plugin-Authentication-Store-Htpasswd/ diff --git a/www/p5-Catalyst-Plugin-Authentication-Store-Htpasswd/pkg-plist b/www/p5-Catalyst-Plugin-Authentication-Store-Htpasswd/pkg-plist new file mode 100644 index 000000000000..482f2725a6f5 --- /dev/null +++ b/www/p5-Catalyst-Plugin-Authentication-Store-Htpasswd/pkg-plist @@ -0,0 +1,8 @@ +%%SITE_PERL%%/Catalyst/Plugin/Authentication/Store/Htpasswd/User.pm +%%SITE_PERL%%/Catalyst/Plugin/Authentication/Store/Htpasswd/Backend.pm +%%SITE_PERL%%/Catalyst/Plugin/Authentication/Store/Htpasswd.pm +@unexec rmdir %D/%%SITE_PERL%%/Catalyst/Plugin/Authentication/Store/Htpasswd 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Catalyst/Plugin/Authentication/Store 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Catalyst/Plugin/Authentication 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Catalyst/Plugin 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Catalyst 2>/dev/null || true