9ebd34a15c
math/p5-Math-Random-ISAAC. As with other Pseudo-Random Number Generator (PRNG) algorithms like the Mersenne Twister (see Math::Random::MT), this algorithm is designed to take some seed information and produce seemingly random results as output. However, ISAAC (Indirection, Shift, Accumulate, Add, and Count) has different goals than these commonly used algorithms. In particular, it's really fast - on average, it requires only 18.75 machine cycles to generate a 32-bit value. This makes it suitable for applications where a significant amount of random data needs to be produced quickly, such solving using the Monte Carlo method or for games. The results are uniformly distributed, unbiased, and unpredictable unless you know the seed. The algorithm was published by Bob Jenkins in the late 90s and despite the best efforts of many security researchers, no feasible attacks have been found to date.
22 lines
656 B
Makefile
22 lines
656 B
Makefile
# $NetBSD: Makefile,v 1.1 2013/07/03 14:33:32 sno Exp $
|
|
#
|
|
|
|
DISTNAME= Math-Random-ISAAC-1.004
|
|
PKGNAME= p5-${DISTNAME}
|
|
CATEGORIES= math perl5 security
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Math/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://search.cpan.org/dist/Math-Random-ISAAC/
|
|
COMMENT= Perl interface to the ISAAC PRNG algorithm
|
|
LICENSE= cc0-1.0-universal
|
|
|
|
DEPENDS+= p5-Math-Random-ISAAC-XS-[0-9]*:../../math/p5-Math-Random-ISAAC-XS
|
|
|
|
BUILD_DEPENDS+= p5-Test-NoWarnings>=0.084:../../devel/p5-Test-NoWarnings
|
|
|
|
USE_LANGUAGES= c
|
|
PERL5_PACKLIST= auto/Math/Random/ISAAC/.packlist
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|