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

I am looking for an LTO tape library. Do you have one to spare?
Port details
p5-Test-MockRandom 1.01 devel on this many watch lists=0 search for ports that depend on this port
Replaces random number generation with non-random number generation
Maintained by: 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 : Main Web Site : Distfiles Availability : PortsMon

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

Required To Build:
  1. lang/perl5.16
Required To Run:
  1. lang/perl5.16
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

Master Sites:
  1. ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/
  2. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/Test/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Test/
  4. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Test/
  5. ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Test/
  6. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/Test/
  7. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/modules/by-module/Test/
  8. ftp://ftp.sunet.se/pub/lang/perl/CPAN/modules/by-module/Test/
  9. http://backpan.perl.org/modules/by-module/Test/
  10. http://cpan.metacpan.org/modules/by-module/Test/
  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: 10

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
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: 10

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
nginxSep 16
nginx-develSep 16
phpmyadminSep 13
ossec-hids-clientSep 11
ossec-hids-localSep 11
ossec-hids-serverSep 11
chromiumSep 09
trafficserverSep 05
apache22*Sep 03
apache22-event-mpm*Sep 03
apache22-itk-mpm*Sep 03
apache22-peruser-mpm*Sep 03
apache22-worker-mpm*Sep 03
chromiumAug 26
fileAug 21

6 vulnerabilities affecting 14 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 24089
Broken 121
Deprecated 88
Ignore 385
Forbidden 17
Restricted 203
No CDROM 94
Vulnerable 22
Expired 1
Set to expire 83
Interactive 0
new 24 hours 2
new 48 hours5
new 7 days45
new fortnight136
new month246

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