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
| System | Port | Version |
|---|---|---|
| FreeBSD | net/p5-Net-Random | 2.32 |
| DragonFly | net/p5-Net-Random | 2.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.32 | 2.32 | 2.32 | 2.32 | 2.32 |
| FreeBSD:14:quarterly | 2.32 | 2.32 | n/a | 2.32 | 2.32 |
| FreeBSD:15:latest | 2.32 | 2.32 | n/a | 2.32 | 2.32 |
| FreeBSD:15:quarterly | 2.32 | 2.32 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.32 | 2.32 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
p5-JSON>=0: converters/p5-JSONp5-LWP-Protocol-https>=0: www/p5-LWP-Protocol-httpsp5-libwww>=0: www/p5-libwww
Runtime 3
p5-JSON>=0: converters/p5-JSONp5-LWP-Protocol-https>=0: www/p5-LWP-Protocol-httpsp5-libwww>=0: www/p5-libwww
Test 1
p5-Test-MockObject>=0: devel/p5-Test-MockObject
The full lists below include those, and their dependencies in turn.
Build dependencies 27
- converters/p5-Encode-Locale
- converters/p5-JSON
- converters/p5-MIME-Base32
- converters/p5-MIME-Base64
- devel/p5-Clone
- devel/p5-IO-HTML
- devel/p5-TimeDate
- lang/p5-Try-Tiny
- lang/perl5.42
- net/p5-Net-HTTP
- net/p5-URI
- security/p5-Authen-NTLM
- security/p5-Digest-HMAC
- security/p5-IO-Socket-SSL
- security/p5-Net-SSLeay
- sysutils/p5-File-Listing
- www/p5-HTML-Parser
- www/p5-HTML-Tagset
- www/p5-HTTP-Cookies
- www/p5-HTTP-Date
- www/p5-HTTP-Message
- www/p5-HTTP-Negotiate
- www/p5-LWP-MediaTypes
- www/p5-LWP-Protocol-https
- www/p5-Mozilla-CA
- www/p5-WWW-RobotRules
- www/p5-libwww
Run dependencies 27
- converters/p5-Encode-Locale
- converters/p5-JSON
- converters/p5-MIME-Base32
- converters/p5-MIME-Base64
- devel/p5-Clone
- devel/p5-IO-HTML
- devel/p5-TimeDate
- lang/p5-Try-Tiny
- lang/perl5.42
- net/p5-Net-HTTP
- net/p5-URI
- security/p5-Authen-NTLM
- security/p5-Digest-HMAC
- security/p5-IO-Socket-SSL
- security/p5-Net-SSLeay
- sysutils/p5-File-Listing
- www/p5-HTML-Parser
- www/p5-HTML-Tagset
- www/p5-HTTP-Cookies
- www/p5-HTTP-Date
- www/p5-HTTP-Message
- www/p5-HTTP-Negotiate
- www/p5-LWP-MediaTypes
- www/p5-LWP-Protocol-https
- www/p5-Mozilla-CA
- www/p5-WWW-RobotRules
- www/p5-libwww
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
| File | Size | SHA256 |
|---|---|---|
| Net-Random-2.32.tar.gz | 24364 | 7f1cebf919a6e9fc407cee48c57b3eec5f9eadb358093ce5bb3418fd81ee4b6f |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.