perl support for apache htpasswd format.

This commit is contained in:
espie 2006-11-04 18:24:37 +00:00
parent 3f92618277
commit 9a4d834c9f
4 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,33 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/11/04 18:24:37 espie Exp $
COMMENT= "read and modify Apache .htpasswd files"
DISTNAME= Authen-Htpasswd-0.14
PKGNAME= p5-${DISTNAME}
CATEGORIES= security perl5
MAINTAINER= Simon Dassow <janus@errornet.de>
# Artistic + GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Authen/}
RUN_DEPENDS= ::devel/p5-Class-Accessor \
::devel/p5-IO-LockedFile
REGRESS_DEPENDS=${RUN_DEPENDS} \
::devel/p5-Test-Pod \
::devel/p5-Test-Pod-Coverage \
::security/p5-Crypt-PasswdMD5
MAKE_ENV= TEST_POD=Yes
CONFIGURE_STYLE=perl build
PKG_ARCH= *
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
MD5 (Authen-Htpasswd-0.14.tar.gz) = c8589be73dcf53b5e08b12d4bfc22da2
RMD160 (Authen-Htpasswd-0.14.tar.gz) = 42316e130501a32bb178b37c739dc23b5c7989cc
SHA1 (Authen-Htpasswd-0.14.tar.gz) = 40cd22eb51c218e9c836ed87f75b606f081dbb1f
SIZE (Authen-Htpasswd-0.14.tar.gz) = 8037

View File

@ -0,0 +1,6 @@
This module provides a convenient, object-oriented interface to
Apache-style .htpasswd files. It supports passwords encrypted via MD5,
SHA1, and crypt, as well as plain (cleartext) passwords. It requires
Crypt::PasswdMD5 for MD5 and Digest::SHA1 for SHA1. Additional fields
after username and password, if present, are accessible via the
extra_info array.

View File

@ -0,0 +1,9 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/11/04 18:24:37 espie Exp $
${P5SITE}/Authen/
${P5SITE}/Authen/Htpasswd/
${P5SITE}/Authen/Htpasswd.pm
${P5SITE}/Authen/Htpasswd/User.pm
${P5SITE}/Authen/Htpasswd/Util.pm
@man man/man3p/Authen::Htpasswd.3p
@man man/man3p/Authen::Htpasswd::User.3p
@man man/man3p/Authen::Htpasswd::Util.3p