pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/p5-Math-Random-ISAAC Adding package for CPAN dist...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d05d97c2b29a
branches: trunk
changeset: 620960:d05d97c2b29a
user: sno <sno%pkgsrc.org@localhost>
date: Wed Jul 03 14:33:32 2013 +0000
description:
Adding package for CPAN distribution Math-Random-ISAAC version 1.004 into
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.
diffstat:
math/p5-Math-Random-ISAAC/DESCR | 15 +++++++++++++++
math/p5-Math-Random-ISAAC/Makefile | 22 ++++++++++++++++++++++
math/p5-Math-Random-ISAAC/distinfo | 5 +++++
3 files changed, 42 insertions(+), 0 deletions(-)
diffs (54 lines):
diff -r d73d1bf47492 -r d05d97c2b29a math/p5-Math-Random-ISAAC/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/p5-Math-Random-ISAAC/DESCR Wed Jul 03 14:33:32 2013 +0000
@@ -0,0 +1,15 @@
+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.
diff -r d73d1bf47492 -r d05d97c2b29a math/p5-Math-Random-ISAAC/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/p5-Math-Random-ISAAC/Makefile Wed Jul 03 14:33:32 2013 +0000
@@ -0,0 +1,22 @@
+# $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@localhost
+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"
diff -r d73d1bf47492 -r d05d97c2b29a math/p5-Math-Random-ISAAC/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/p5-Math-Random-ISAAC/distinfo Wed Jul 03 14:33:32 2013 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/07/03 14:33:32 sno Exp $
+
+SHA1 (Math-Random-ISAAC-1.004.tar.gz) = 0d2e423559ed28d842e6907e3944d6c5b6f2705f
+RMD160 (Math-Random-ISAAC-1.004.tar.gz) = 6a77fc0f57b92e9331c233a0f59d77acae7d8fe0
+Size (Math-Random-ISAAC-1.004.tar.gz) = 34445 bytes
Home |
Main Index |
Thread Index |
Old Index