notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
p5-Test-MockRandom Replaces random number generation with non-random number generation
1.01_1 devel on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.01_1Version of this port present on the latest quarterly branch.
Maintainer: perl@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2006-07-25 20:59:01
Last Update: 2022-09-07 21:58:51
Commit Hash: fb16dfe
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
Also Listed In: perl5
License: APACHE20
WWW:
https://metacpan.org/release/Test-MockRandom
Description:
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (8 items)
Collapse this list.
  1. /usr/local/share/licenses/p5-Test-MockRandom-1.01_1/catalog.mk
  2. /usr/local/share/licenses/p5-Test-MockRandom-1.01_1/LICENSE
  3. /usr/local/share/licenses/p5-Test-MockRandom-1.01_1/APACHE20
  4. lib/perl5/site_perl/Test/MockRandom.pm
  5. lib/perl5/site_perl/man/man3/Test::MockRandom.3.gz
  6. @owner
  7. @group
  8. @mode
Collapse this list.
Dependency lines:
  • p5-Test-MockRandom>0:devel/p5-Test-MockRandom
To install the port:
cd /usr/ports/devel/p5-Test-MockRandom/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/p5-Test-MockRandom
  • pkg install p5-Test-MockRandom
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: p5-Test-MockRandom
Flavors: there is no flavor information for this port.
distinfo:
SHA256 (Test-MockRandom-1.01.tar.gz) = 2614930d84fc5deac39afbc1ee86ccd39b221507f27d4ee493ca26e5c921cce0 SIZE (Test-MockRandom-1.01.tar.gz) = 24449

Packages (timestamps in pop-ups are UTC):
p5-Test-MockRandom
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.01_11.01_11.01_11.01_11.01_1-1.01_1-
FreeBSD:13:quarterly1.01_11.01_11.01_11.01_11.01_11.01_11.01_11.01_1
FreeBSD:14:latest1.01_11.01_11.01_11.01_11.01_11.01_1-1.01_1
FreeBSD:14:quarterly1.01_11.01_1-1.01_11.01_11.01_11.01_11.01_1
FreeBSD:15:latest1.01_11.01_1n/a1.01_1n/a1.01_11.01_11.01_1
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. perl5>=5.32.r0<5.33 : lang/perl5.32
Runtime dependencies:
  1. perl5>=5.32.r0<5.33 : lang/perl5.32
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_p5-Test-MockRandom
USES:
perl5
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (12 items)
Collapse this list.
  1. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/Test/
  2. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/
  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. http://backpan.perl.org/modules/by-module/Test/
  8. http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/Test/
  9. http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/Test/
  10. https://cpan.metacpan.org/modules/by-module/
  11. https://cpan.metacpan.org/modules/by-module/Test/
  12. https://www.cpan.org/modules/by-module/Test/
Collapse this list.

Number of commits found: 17

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
1.01_1
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.01_1
20 Jul 2022 14:21:35
commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
devel: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Waitman Gobble" <uzimac@da3m0n8t3r.com>
  *  <jkoshy@FreeBSD.org>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron H. K. Diep <ahkdiep@gmail.com>
  *  Aaron Hurt <ahurt@anbcs.com>
  *  Abel Chow <abel_chow@yahoo.com>
  *  Adam McLaurin
  *  Adam Saponara <as@php.net>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.01_1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.01_1
27 May 2018 20:15:20
Revision:470993Original commit files touched by this commit
sunpoet search for other commits by this committer
Update WWW

search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.

With hat:	perl
1.01_1
26 Nov 2014 13:08:38
Revision:373448Original commit files touched by this commit
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)
1.01
27 Oct 2014 10:55:59
Revision:371547Original commit files touched by this commit
bapt search for other commits by this committer
Cleanup plist
1.01
10 Feb 2014 08:03:59
Revision:343601Original commit files touched by this commit
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
1.00
31 Oct 2013 14:31:31
Revision:332245Original commit files touched by this commit
vanilla search for other commits by this committer
Support STAGEDIR.
1.00
20 Sep 2013 17:13:47
Revision:327724Original commit files touched by this commit
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)
1.00
02 Aug 2013 18:52:11
Revision:324174Original commit files touched by this commit
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.
1.00
06 Jun 2013 13:28:19
Revision:320095Original commit files touched by this commit
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
1.00
27 May 2013 11:50:38
Revision:319213Original commit files touched by this commit
bapt search for other commits by this committer
Do not try to remove directories not created by the port

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

Approved by:    clsung via IRC
1.00
03 Jul 2011 14:59:23
Original commit files touched by this commit
ohauer search for other commits by this committer
-remove MD5
1.00
07 Jan 2008 07:48:21
Original commit files touched by this commit
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>
0.99
25 Jul 2006 20:58:24
Original commit files touched by this commit
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: 17