BSD Ports

net/p5-Net-Random 2.32 FreeBSD

Perl5 module to get random data from online sources

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
net, perl5
Package size
12.5 KiB, 27.8 KiB installed

Description

Net::Random - get random data from online sources

This module gets truly random data from online sources. Or at least, they claim to be truly random.

The two sources of randomness above correspond to http://www.fourmilab.ch/cgi-bin/uncgi/Hotbits?nbytes=1024&fmt=hex and http://random.org/cgi-bin/randbyte?nbytes=1024&format=hex. We always get chunks of 1024 bytes at a time, storing it in a pool which is used up as and when needed. The pool is shared between all objects using the same randomness source. When we run out of randomness we go back to the source for more juicy random goodness.

The maintainers of both randomness sources claim that their data is *truly* random. A some simple tests show that they are certainly more random than the rand() function on this 'ere machine.

In the other systems

SystemPortVersion
FreeBSDnet/p5-Net-Random2.32
DragonFlynet/p5-Net-Random2.32

Install

Binary package:

pkg install p5-Net-Random

From the ports tree:

cd /usr/ports/net/p5-Net-Random/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Net-Random>0:net/p5-Net-Random

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.322.322.322.322.32
FreeBSD:14:quarterly2.322.32n/a2.322.32
FreeBSD:15:latest2.322.32n/a2.322.32
FreeBSD:15:quarterly2.322.32n/an/an/a
FreeBSD:16:latest2.322.32n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Runtime 3

Test 1

The full lists below include those, and their dependencies in turn.

Build dependencies 27
Run dependencies 27

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Net/Random.pm
  • %%PERL5_MAN3%%/Net::Random.3.gz
distinfo 1
FileSizeSHA256
Net-Random-2.32.tar.gz243647f1cebf919a6e9fc407cee48c57b3eec5f9eadb358093ce5bb3418fd81ee4b6f
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.