head	1.8;
access;
symbols
	RELEASE_8_3_0:1.4
	RELEASE_9_0_0:1.2
	RELEASE_7_4_0:1.1
	RELEASE_8_2_0:1.1
	RELEASE_6_EOL:1.1
	RELEASE_8_1_0:1.1;
locks; strict;
comment	@# @;


1.8
date	2012.11.17.06.01.11;	author svnexp;	state Exp;
branches;
next	1.7;

1.7
date	2012.08.26.18.16.55;	author swills;	state Exp;
branches;
next	1.6;

1.6
date	2012.06.10.18.42.14;	author swills;	state Exp;
branches;
next	1.5;

1.5
date	2012.05.16.04.14.03;	author miwi;	state Exp;
branches;
next	1.4;

1.4
date	2012.03.13.16.15.19;	author pgollucci;	state Exp;
branches;
next	1.3;

1.3
date	2012.03.08.18.45.22;	author pgollucci;	state Exp;
branches;
next	1.2;

1.2
date	2011.09.08.08.36.39;	author az;	state Exp;
branches;
next	1.1;

1.1
date	2010.06.07.06.59.09;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.8
log
@Switch exporter over
@
text
@# New ports collection makefile for:	p5-Crypt-PBKDF2
# Date created:		2010-05-23
# Whom:			Victor Popov <v.a.popov@@gmail.com>
#
# $FreeBSD: head/security/p5-Crypt-PBKDF2/Makefile 303196 2012-08-26 18:16:55Z swills $
#

PORTNAME=	Crypt-PBKDF2
PORTVERSION=	0.121930
CATEGORIES=	security perl5
MASTER_SITES=	CPAN
MASTER_SITE_SUBDIR=	CPAN:ARODLAND
PKGNAMEPREFIX=	p5-

MAINTAINER=	v.a.popov@@gmail.com
COMMENT=	The PBKDF2 password hashing algorithm

RUN_DEPENDS=	p5-Digest-HMAC>=1.01:${PORTSDIR}/security/p5-Digest-HMAC \
		p5-Moose>=1:${PORTSDIR}/devel/p5-Moose \
		p5-Method-Signatures-Simple>=0:${PORTSDIR}/devel/p5-Method-Signatures-Simple \
		p5-Try-Tiny>=0.04:${PORTSDIR}/lang/p5-Try-Tiny \
		p5-namespace-autoclean>=0:${PORTSDIR}/devel/p5-namespace-autoclean
BUILD_DEPENDS:=	${RUN_DEPENDS}

PERL_CONFIGURE=	yes

MAN3=		Crypt::PBKDF2.3 \
		Crypt::PBKDF2::Hash.3 \
		Crypt::PBKDF2::Hash::DigestHMAC.3 \
		Crypt::PBKDF2::Hash::HMACSHA1.3 \
		Crypt::PBKDF2::Hash::HMACSHA2.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 501000
RUN_DEPENDS+=	p5-Digest-SHA>=0:${PORTSDIR}/security/p5-Digest-SHA
.endif

.if ${PERL_LEVEL} < 501001
RUN_DEPENDS+=	p5-Digest>=1.16:${PORTSDIR}/security/p5-Digest
.endif

.include <bsd.port.post.mk>
@


1.7
log
@SVN rev 303196 on 2012-08-26 18:16:55Z by swills

- Update to 0.121930

PR:		ports/171064
Approved by:	Victor Popov <v.a.popov@@gmail.com> (maintainer)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.6
log
@- Convert all remaining instances of BUILD_DEPENDS=${RUN_DEPENDS} or
  RUN_DEPENDS=${BUILD_DEPENDS} to use := which portlint has warned
  about for a while.

PR:		ports/168208
Approved by:	portmgr (miwi)
@
text
@d9 1
a9 1
PORTVERSION=	0.112020
@


1.5
log
@- Update to 0.112020

PR:		167504
Submitted by:	Muhammad Moinur Rahman <5u623l20@@gmail.com>
Approved by:	maintainer
@
text
@d23 1
a23 1
BUILD_DEPENDS=	${RUN_DEPENDS}
@


1.4
log
@- Revert ports/165605 as requested by portmgr@@

Note: devel/p5-B-Size and devel/p5-Devel-Arena
where intentionally not restored.

PR:             ports/165605
Approved by:    portmgr (bapt)
Feature safe:   yes (I sure hope so)
@
text
@d9 1
a9 1
PORTVERSION=	0.101170
d20 1
a20 1
		p5-MooseX-Method-Signatures>=0.30:${PORTSDIR}/devel/p5-MooseX-Method-Signatures \
@


1.3
log
@- Remove ports that only work with < perl 5.12 (devel/p5-B-Size, devel/p5-Devel-Arena)
- Remove conditionals for PERL_LEVEL < 501200
- Remove regression-test targets b/c this will be centralized in Mk/bsd.perl.mk
- Other minor cleanups
  RUN_DEPENDS = ${BUILD_DEPENDS} -> RUN_DEPENDS:= ${BUILD_DEPENDS}

PR:             ports/165605
Submitted by:   pgollucci (myself)
Approved by:    portmgr (linimon)
Exp Run by:     linimon
Tested by:      make index
@
text
@d33 11
a43 1
.include <bsd.port.mk>
@


1.2
log
@- Replace ../../authors in MASTER_SITE_SUBDIR with CPAN:CPANID macro.
  See http://wiki.freebsd.org/Perl for details.
- Change maintainership from ports@@ to perl@@ for ports in this changeset.

With perl@@ hat
@
text
@d33 1
a33 11
.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 501000
RUN_DEPENDS+=	p5-Digest-SHA>=0:${PORTSDIR}/security/p5-Digest-SHA
.endif

.if ${PERL_LEVEL} < 501001
RUN_DEPENDS+=	p5-Digest>=1.16:${PORTSDIR}/security/p5-Digest
.endif

.include <bsd.port.post.mk>
@


1.1
log
@PBKDF2 is a secure password hashing algorithm that uses the techniques of
"key strengthening" to make the complexity of a brute-force attack arbitrarily
high. PBKDF2 uses any other cryptographic hash or cipher (by convention,
usually HMAC-SHA1, but Crypt::PBKDF2 is fully pluggable), and allows for an
arbitrary number of iterations of the hashing function, and a nearly unlimited
output hash size (up to 2**32 - 1 times the size of the output of the backend
hash). The hash is salted, as any password hash should be, and the salt may
also be of arbitrary size.

See also: RFC2898, PKCS#5 version 2.0: http://tools.ietf.org/html/rfc2898

WWW:	http://search.cpan.org/dist/Crypt-PBKDF2/

PR:		ports/146847
Submitted by:	Victor Popov <v.a.popov at gmail.com>
@
text
@d12 1
a12 1
MASTER_SITE_SUBDIR=	../by-authors/id/A/AR/ARODLAND
@

