1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/security/p5-Crypt-Password-Util/Makefile
Sunpoet Po-Chuan Hsieh 368dee217a - Add p5-Crypt-Password-Util 0.09
Crypt::Password::Util is a crypt password utilities.

Its crypt($str) works like Perl's crypt(), but automatically choose the
appropriate crypt type and random salt. Will first choose SSHA512 with 64-bit
random salt. If not supported by system, fall back to MD5-CRYPT with 32-bit
random salt. If that is not supported, fall back to CRYPT.

Its crypt_type($str) returns crypt type, or undef if $str does not look like a
crypted password. Currently known types: CRYPT (traditional DES crypt),
MD5-CRYPT (including Apache variant), SSHA256 (salted SHA256), SSHA512 (salted
SHA512), and PLAIN-MD5.

See also Authen::Passphrase which recognizes more encodings (but currently not
SSHA256 and SSHA512).

WWW: http://search.cpan.org/dist/Crypt-Password-Util/

PR:		ports/182326
Submitted by:	Henk van Oers <hvo.pm@xs4all.nl>
2013-11-11 14:08:22 +00:00

24 lines
529 B
Makefile

# Created by: Henk van Oers <hvo.pm@xs4all.nl>
# $FreeBSD$
PORTNAME= Crypt-Password-Util
PORTVERSION= 0.09
CATEGORIES= security perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Crypt password utilities
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-UUID-Random-Patch-UseMRS>=0:${PORTSDIR}/devel/p5-UUID-Random-Patch-UseMRS
RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-Sort-Versions>=0:${PORTSDIR}/devel/p5-Sort-Versions
USE_PERL5= modbuild
USES= perl5
.include <bsd.port.mk>