Cryptographically-secure, cross-platform replacement for rand()

WWW: http://search.cpan.org/dist/Math-Random-Secure

PR:		ports/155574
Submitted by:	Dereckson <dereckson at gmail.com>
This commit is contained in:
Martin Wilke 2011-03-17 16:05:22 +00:00
parent be7d6ee317
commit b251294128
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=271137
5 changed files with 44 additions and 0 deletions

View File

@ -372,6 +372,7 @@
SUBDIR += p5-Math-Random-MT
SUBDIR += p5-Math-Random-MT-Auto
SUBDIR += p5-Math-Random-OO
SUBDIR += p5-Math-Random-Secure
SUBDIR += p5-Math-RandomOrg
SUBDIR += p5-Math-Round
SUBDIR += p5-Math-Round-Var

View File

@ -0,0 +1,29 @@
# New ports collection makefile for: Math::Random::Secure
# Date created: 15 March 2011
# Whom: Dereckson <dereckson@gmail.com>
#
# $FreeBSD$
#
PORTNAME= Math-Random-Secure
PORTVERSION= 0.06
CATEGORIES= math perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= dereckson@gmail.com
COMMENT= Cryptographically-secure rand function
TEST_DEPENDS= p5-Test-Warn>0:${PORTSDIR}/devel/p5-Test-Warn
BUILD_DEPENDS= p5-List-MoreUtils>0:${PORTSDIR}/lang/p5-List-MoreUtils
RUN_DEPENDS= p5-Any-Moose>0:${PORTSDIR}/devel/p5-Any-Moose \
p5-Math-Random-ISAAC>=1.0.1:${PORTSDIR}/math/p5-Math-Random-ISAAC \
p5-Crypt-Random-Source>=0.07:${PORTSDIR}/security/p5-Crypt-Random-Source
PERL_CONFIGURE= yes
MAN3= Math::Random::Secure.3 Math::Random::Secure::RNG.3
LICENSE= ART20
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (Math-Random-Secure-0.06.tar.gz) = 2cb3736cbe34d674df598ffaf6efd9b8546dfecb833041935a13ea41d181220d
SIZE (Math-Random-Secure-0.06.tar.gz) = 13793

View File

@ -0,0 +1,3 @@
Cryptographically-secure, cross-platform replacement for rand()
WWW: http://search.cpan.org/dist/Math-Random-Secure

View File

@ -0,0 +1,9 @@
%%SITE_PERL%%/Math/Random/Secure.pm
%%SITE_PERL%%/Math/Random/Secure/RNG.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Random/Secure/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Random/Secure
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Random
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math
@dirrm %%SITE_PERL%%/Math/Random/Secure
@dirrmtry %%SITE_PERL%%/Math/Random
@dirrmtry %%SITE_PERL%%/Math