FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Please give me your LTO-4 or better tape library and I'll put it to good use.
Port details
p5-Test-MockRandom Replaces random number generation with non-random number generation
1.01_1 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: perl@FreeBSD.org search for ports maintained by this maintainer
Port Added: 25 Jul 2006 20:59:01
Also Listed In: perl5
License: APACHE20
This perhaps ridiculous-seeming module was created to test routines that
manipulate random numbers by providing a known output from rand. Given a list of
seeds with srand, it will return each in turn. After seeded random numbers are
exhausted, it will always return 0. Seed numbers must be of a form that meets
the expected output from rand as called with no arguments -- i.e. they must be
between 0 (inclusive) and 1 (exclusive). In order to facilitate generating and
testing a nearly-one number, this module exports the function oneish, which
returns a number just fractionally less than one.

Depending on how this module is called with use, it will export rand to a
specified package (e.g. a class being tested) effectively overriding and
intercepting calls in that package to the built-in rand. It can also override
rand in the current package or even globally. In all of these cases, it also
exports srand and oneish to the current package in order to control the output
of rand.

Alternatively, this module can be used to generate objects, with each object
maintaining its own distinct seed array.

WWW: http://search.cpan.org/dist/Test-MockRandom/
SVNWeb : Homepage : Distfiles Availability : PortsMon

NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. perl5.18.4 : lang/perl5.18
Runtime dependencies:
  1. perl5.18.4 : lang/perl5.18
There are no ports dependent upon this port

To install the port: cd /usr/ports/devel/p5-Test-MockRandom/ && make install clean
To add the package: pkg install devel/p5-Test-MockRandom


Configuration Options
     No options to configure

USES:
perl5

Master Sites:
  1. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/Test/
  2. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Test/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Test/
  4. ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Test/
  5. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/Test/
  6. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/modules/by-module/Test/
  7. ftp://ftp.sunet.se/pub/lang/perl/CPAN/modules/by-module/Test/
  8. http://backpan.perl.org/modules/by-module/Test/
  9. http://cpan.metacpan.org/modules/by-module/Test/
  10. http://distcache.FreeBSD.org/ports-distfiles/
  11. http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/Test/
  12. http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/Test/
  13. http://www.cpan.dk/modules/by-module/Test/
  14. http://www.cpan.dk/modules/by-module/Test/
  15. http://www.cpan.org/modules/by-module/Test/

Number of commits found: 12

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
26 Nov 2014 13:08:38
Original commit files touched by this commit  1.01_1
Revision:373448
mat search for other commits by this committer
Change the way Perl modules are installed, update the default Perl to 5.18.

Before, we had:

  site_perl :           lib/perl5/site_perl/5.18
  site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
  perl_man3 :           lib/perl5/5.18/man/man3

Now we have:

  site_perl : lib/perl5/site_perl
  site_arch : lib/perl5/site_perl/mach/5.18
  perl_man3 : lib/perl5/site_perl/man/man3

Modules without any .so will be installed at the same place regardless of the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
27 Oct 2014 10:55:59
Original commit files touched by this commit  1.01
Revision:371547
bapt search for other commits by this committer
Cleanup plist
10 Feb 2014 08:03:59
Original commit files touched by this commit  1.01
Revision:343601
culot search for other commits by this committer
- Update to 1.01
- Add LICENSE (Apache 2)

Changes:	http://search.cpan.org/dist/Test-MockRandom/Changes
31 Oct 2013 14:31:31
Original commit files touched by this commit  1.00
Revision:332245
vanilla search for other commits by this committer
Support STAGEDIR.
20 Sep 2013 17:13:47
Original commit files touched by this commit  1.00
Revision:327724
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3)
02 Aug 2013 18:52:11
Original commit files touched by this commit  1.00
Revision:324174
mat search for other commits by this committer
- Convert to new perl framework
- Trim Makefile header
- Remove MAKE_JOBS_SAFE=yes, it's the default.
06 Jun 2013 13:28:19
Original commit files touched by this commit  1.00
Revision:320095
mat search for other commits by this committer
PERL_MODBUILD implies PERL_CONFIGURE and PERL_CONFIGURE implies USE_PERL5.

Reported by: http://az.semmy.ru/perl_sdad.txt
27 May 2013 11:50:38
Original commit files touched by this commit  1.00
Revision:319213
bapt search for other commits by this committer
Do not try to remove directories not created by the port

Reported by:	pkg (DEVELOPER_MODE)
01 May 2012 01:47:10
Original commit files touched by this commit  1.00
swills search for other commits by this committer
- Assign clsung's p5- ports to perl@

Approved by:    clsung via IRC
03 Jul 2011 14:59:23
Original commit files touched by this commit  1.00
ohauer search for other commits by this committer
-remove MD5
07 Jan 2008 07:48:21
Original commit files touched by this commit  1.00
clsung search for other commits by this committer
- Update to 1.00
- Reset maintainership

Changes:        http://search.cpan.org/dist/Test-MockRandom/Changes
PR:             ports/119402
Submitted by:   Jin-Shan Tseng <tjs_AT_cdpa dot nsysu dot edu dot tw>
25 Jul 2006 20:58:24
Original commit files touched by this commit  0.99
ehaupt search for other commits by this committer
Add p5-Test-MockRandom 0.99, replaces random number generation with
non-random number generation.

PR:             100749
Submitted by:   Jin-Shan Tseng <tjs at cdpa.nsysu.edu.tw>

Number of commits found: 12

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
cross-binutilsMar 24
jenkinsMar 24
jenkins-ltsMar 24
libressl*Mar 24
linux-c6-openssl*Mar 24
mingw32-openssl*Mar 24
mingw64-binutilsMar 24
openssl*Mar 24
firefoxMar 22
firefox-esrMar 22
libxulMar 22
linux-firefoxMar 22
linux-seamonkeyMar 22
seamonkeyMar 22
sympaMar 13

5 vulnerabilities affecting 24 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 24726
Broken 132
Deprecated 142
Ignore 418
Forbidden 3
Restricted 203
No CDROM 95
Vulnerable 20
Expired 5
Set to expire 134
Interactive 0
new 24 hours 7
new 48 hours8
new 7 days33
new fortnight44
new month132

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.