Port details
p5-Test-MockModule Override subroutines in a module for unit testing
0.180.0 devel Σ=1 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 0.180.0Version of this port present on the latest quarterly branch.
Maintainer: perl@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2004-12-27 14:56:44
Last Update: 2025-07-05 08:53:37
Commit Hash: 0712116
People watching this port, also watch: p5-SQL-Statement, p5-File-CounterFile, p5-AppConfig, p5-Proc-Daemon, p5-CGI-SpeedyCGI
Also Listed In: perl5
License: ART10 GPLv1+
WWW:
https://metacpan.org/release/Test-MockModule
Description: #
Test::MockModule lets you temporarily redefine subroutines in other packages for the purposes of unit testing.
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 (9 items)
Collapse this list.
  1. /usr/local/share/licenses/p5-Test-MockModule-0.180.0/catalog.mk
  2. /usr/local/share/licenses/p5-Test-MockModule-0.180.0/LICENSE
  3. /usr/local/share/licenses/p5-Test-MockModule-0.180.0/ART10
  4. /usr/local/share/licenses/p5-Test-MockModule-0.180.0/GPLv1+
  5. lib/perl5/site_perl/Test/MockModule.pm
  6. lib/perl5/site_perl/man/man3/Test::MockModule.3.gz
  7. @owner
  8. @group
  9. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • p5-Test-MockModule>0:devel/p5-Test-MockModule
To install the port: #
cd /usr/ports/devel/p5-Test-MockModule/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/p5-Test-MockModule
  • pkg install p5-Test-MockModule
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: p5-Test-MockModule
Flavors: #
there is no flavor information for this port.
distinfo: #
TIMESTAMP = 1751702845 SHA256 (Test-MockModule-v0.180.0.tar.gz) = 390e60361d2c1c404463a46d496681b05458d50d811ee99282992b9b61ed6cf6 SIZE (Test-MockModule-v0.180.0.tar.gz) = 24736

Packages (timestamps in pop-ups are UTC): #
p5-Test-MockModule
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest0.180.00.180.00.177.00.180.00.180.0
FreeBSD:14:quarterly0.180.00.180.0-0.179.00.180.0
FreeBSD:15:latest0.180.00.180.0n/a0.180.0n/a
FreeBSD:15:quarterly0.180.00.180.0n/a-n/a
FreeBSD:16:latest CURRENT0.180.00.180.0n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. p5-SUPER>=1.20 : devel/p5-SUPER
  2. perl5>=5.40.r<5.41 : lang/perl5.40
  3. p5-Module-Build>=0.4234 : devel/p5-Module-Build
  4. perl5>=5.40.r<5.41 : lang/perl5.40
Test dependencies: #
  1. p5-Test-Pod-Coverage>=0 : devel/p5-Test-Pod-Coverage
  2. p5-Test-Pod>=0 : devel/p5-Test-Pod
  3. p5-Test-Warnings>=0 : devel/p5-Test-Warnings
Runtime dependencies: #
  1. p5-SUPER>=1.20 : devel/p5-SUPER
  2. perl5>=5.40.r<5.41 : lang/perl5.40
This port is required by: #
for Build #
  1. net/p5-Net-Google-Code
for Run #
  1. net/p5-Net-Google-Code
for Test #
  1. devel/p5-Test-Pod-Links
  2. net-mgmt/p5-FusionInventory-Agent
  3. www/p5-Maypole
  4. www/p5-Reddit-Client

Configuration Options: #
No options to configure
Options name: #
devel_p5-Test-MockModule
USES: #
perl5
pkg-message: #
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: 32 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.180.0
05 Jul 2025 08:53:37
commit hash: 0712116bc1d7a3e6bbb9f044d892c13a52bcd973commit hash: 0712116bc1d7a3e6bbb9f044d892c13a52bcd973commit hash: 0712116bc1d7a3e6bbb9f044d892c13a52bcd973commit hash: 0712116bc1d7a3e6bbb9f044d892c13a52bcd973 files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
devel/p5-Test-MockModule: update to 0.180.0
0.179.0
03 Sep 2024 15:57:28
commit hash: e90eeea30cd931dcf6cf03646e21a4e7708ffd3dcommit hash: e90eeea30cd931dcf6cf03646e21a4e7708ffd3dcommit hash: e90eeea30cd931dcf6cf03646e21a4e7708ffd3dcommit hash: e90eeea30cd931dcf6cf03646e21a4e7708ffd3d files touched by this commit
Rodrigo Osorio (rodrigo) search for other commits by this committer
devel/p5-Test-MockModule: update to 0.179.0

Changelog: https://metacpan.org/dist/Test-MockModule/changes
0.178.0
27 Apr 2024 20:35:21
commit hash: a121d9330a2a1be0accaeb92d0d59cbf5c8aafd0commit hash: a121d9330a2a1be0accaeb92d0d59cbf5c8aafd0commit hash: a121d9330a2a1be0accaeb92d0d59cbf5c8aafd0commit hash: a121d9330a2a1be0accaeb92d0d59cbf5c8aafd0 files touched by this commit
Rodrigo Osorio (rodrigo) search for other commits by this committer
devel/p5-Test-MockModule: update to 0.178.0

Changelog: https://metacpan.org/dist/Test-MockModule/changes

Major changes:
    * Simplify CI workflow
    * Multiple improvements
    * Add protection to _replace_sub
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)
0.177.0
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)
0.177.0
04 Aug 2022 09:02:07
commit hash: 54392a47a0339cb782f3ad250537e8b0c3aaf4e0commit hash: 54392a47a0339cb782f3ad250537e8b0c3aaf4e0commit hash: 54392a47a0339cb782f3ad250537e8b0c3aaf4e0commit hash: 54392a47a0339cb782f3ad250537e8b0c3aaf4e0 files touched by this commit
Wen Heping (wen) search for other commits by this committer
devel/p5-Test-MockModule: Update to 0.177.0

PR:		265618
Reported by:	bokutin@bokut.in
0.16
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)
0.16
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.
0.16
03 Sep 2018 19:04:44
Revision:478908commit hash: 8f48cf06b7ef3cb44ceeee6780201cd8ec4a13e5commit hash: 8f48cf06b7ef3cb44ceeee6780201cd8ec4a13e5commit hash: 8f48cf06b7ef3cb44ceeee6780201cd8ec4a13e5commit hash: 8f48cf06b7ef3cb44ceeee6780201cd8ec4a13e5Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 0.16

Changes:	https://metacpan.org/changes/distribution/Test-MockModule
0.15
27 May 2018 20:15:20
Revision:470993commit hash: ad4f267b7a2606a97d9e9b015928a8ece70689d4commit hash: ad4f267b7a2606a97d9e9b015928a8ece70689d4commit hash: ad4f267b7a2606a97d9e9b015928a8ece70689d4commit hash: ad4f267b7a2606a97d9e9b015928a8ece70689d4Original 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
0.15
09 May 2018 21:39:51
Revision:469486commit hash: 3d17ed3fa6aea2d2ec0c331e79508e4a5630b581commit hash: 3d17ed3fa6aea2d2ec0c331e79508e4a5630b581commit hash: 3d17ed3fa6aea2d2ec0c331e79508e4a5630b581commit hash: 3d17ed3fa6aea2d2ec0c331e79508e4a5630b581Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 0.15

- Update LICENSE

Changes:	http://search.cpan.org/dist/Test-MockModule/Changes
0.14
06 May 2018 12:49:59
Revision:469206commit hash: 67aa2b64e92003edbbed8219e7301eb665e0b3abcommit hash: 67aa2b64e92003edbbed8219e7301eb665e0b3abcommit hash: 67aa2b64e92003edbbed8219e7301eb665e0b3abcommit hash: 67aa2b64e92003edbbed8219e7301eb665e0b3abOriginal commit files touched by this commit
sunpoet search for other commits by this committer
Update to 0.14

- Add TEST_DEPENDS

Changes:	http://search.cpan.org/dist/Test-MockModule/Changes
0.13
06 Oct 2017 10:44:23
Revision:451364commit hash: fe27713b448c0d68210b750cf57f26cb5b45b85ecommit hash: fe27713b448c0d68210b750cf57f26cb5b45b85ecommit hash: fe27713b448c0d68210b750cf57f26cb5b45b85ecommit hash: fe27713b448c0d68210b750cf57f26cb5b45b85eOriginal commit files touched by this commit
sunpoet search for other commits by this committer
Update to 0.13

Changes:	http://search.cpan.org/dist/Test-MockModule/Changes
0.12
13 Jul 2017 18:11:22
Revision:445684commit hash: 94d5b156deb99dfef65fef4907abd4b1b29c03f2commit hash: 94d5b156deb99dfef65fef4907abd4b1b29c03f2commit hash: 94d5b156deb99dfef65fef4907abd4b1b29c03f2commit hash: 94d5b156deb99dfef65fef4907abd4b1b29c03f2Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 0.12

- Add LICENSE_FILE
- Add NO_ARCH

Changes:	http://search.cpan.org/dist/Test-MockModule/Changes
0.11
07 Apr 2017 18:50:22
Revision:437950commit hash: 3bb42bcfe7298431fd3745b8e284ca36f14ee7a8commit hash: 3bb42bcfe7298431fd3745b8e284ca36f14ee7a8commit hash: 3bb42bcfe7298431fd3745b8e284ca36f14ee7a8commit hash: 3bb42bcfe7298431fd3745b8e284ca36f14ee7a8Original commit files touched by this commit
lth search for other commits by this committer
Moving maintainership burden onto broader shoulders
0.11
01 Apr 2016 14:00:57
Revision:412346commit hash: 4e1b79a0a61f4973df8b4b0864d22086c769e219commit hash: 4e1b79a0a61f4973df8b4b0864d22086c769e219commit hash: 4e1b79a0a61f4973df8b4b0864d22086c769e219commit hash: 4e1b79a0a61f4973df8b4b0864d22086c769e219Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
0.11
03 Nov 2015 18:54:34
Revision:400709commit hash: 8680b4519fcc0824bdfab4f4b204fd32689eacb8commit hash: 8680b4519fcc0824bdfab4f4b204fd32689eacb8commit hash: 8680b4519fcc0824bdfab4f4b204fd32689eacb8commit hash: 8680b4519fcc0824bdfab4f4b204fd32689eacb8Original commit files touched by this commit
lth search for other commits by this committer
- Update to 1.11

Changes:	https://metacpan.org/changes/distribution/Test-MockModule
0.10
11 Sep 2015 14:04:52
Revision:396666commit hash: ded3f6a222d88d49dbe061dc52b1b3d3d7114bf1commit hash: ded3f6a222d88d49dbe061dc52b1b3d3d7114bf1commit hash: ded3f6a222d88d49dbe061dc52b1b3d3d7114bf1commit hash: ded3f6a222d88d49dbe061dc52b1b3d3d7114bf1Original commit files touched by this commit
lth search for other commits by this committer
- update to 0.10
- add LICENSE

Changes:	https://metacpan.org/changes/distribution/Test-MockModule
0.05_2
26 Nov 2014 13:08:38
Revision:373448commit hash: eee58d187e2c55fca6f53b9e482d33cf5346fe81commit hash: eee58d187e2c55fca6f53b9e482d33cf5346fe81commit hash: eee58d187e2c55fca6f53b9e482d33cf5346fe81commit hash: eee58d187e2c55fca6f53b9e482d33cf5346fe81Original 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)
0.05_1
27 Oct 2014 10:55:59
Revision:371547commit hash: 3ee7d3dd60dabfc08a195b76ac4ac2a2abaab3c4commit hash: 3ee7d3dd60dabfc08a195b76ac4ac2a2abaab3c4commit hash: 3ee7d3dd60dabfc08a195b76ac4ac2a2abaab3c4commit hash: 3ee7d3dd60dabfc08a195b76ac4ac2a2abaab3c4Original commit files touched by this commit
bapt search for other commits by this committer
Cleanup plist
0.05_1
06 Jan 2014 13:53:22
Revision:338880commit hash: b7ce5f4444df466527af42dbdbd03a89cb47bb36commit hash: b7ce5f4444df466527af42dbdbd03a89cb47bb36commit hash: b7ce5f4444df466527af42dbdbd03a89cb47bb36commit hash: b7ce5f4444df466527af42dbdbd03a89cb47bb36Original commit files touched by this commit
az search for other commits by this committer
- add stage support

Approved by:	portmgr (blanket infrastructure)
0.05_1
20 Sep 2013 17:13:47
Revision:327724commit hash: 580a778a16c548027cb6b56ad3357f1dec74e859commit hash: 580a778a16c548027cb6b56ad3357f1dec74e859commit hash: 580a778a16c548027cb6b56ad3357f1dec74e859commit hash: 580a778a16c548027cb6b56ad3357f1dec74e859Original 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)
0.05_1
07 Aug 2013 13:20:32
Revision:324352commit hash: ca70e439c2cab3afa6b1f158853e01058c1fac47commit hash: ca70e439c2cab3afa6b1f158853e01058c1fac47commit hash: ca70e439c2cab3afa6b1f158853e01058c1fac47commit hash: ca70e439c2cab3afa6b1f158853e01058c1fac47Original commit files touched by this commit Sanity Test Failure
az search for other commits by this committer
- Convert to new perl framework

per port extra changes:
devel/p5-Perl-Version remove outage PERL_LEVEL check
devel/p5-Devel-LeakTrace-Fast remove perl version requiment 5.12.0- (no need in
current version)

Approved by:	lth@ (maintainer)
0.05_1
03 Jul 2011 14:59:23
Original commit files touched by this commit
ohauer search for other commits by this committer
-remove MD5
0.05_1
28 Jan 2010 04:53:50
Original commit files touched by this commit
kuriyama search for other commits by this committer
- Remove unneeded dependencies which is in perl-5.8.9 dist
  (part 13).

Approved by:    portmgr (itetcu)
0.05
17 Apr 2008 14:30:31
Original commit files touched by this commit
araujo search for other commits by this committer
- Take advantage of CPAN macro from bsd.sites.mk, change
${MASTER_SITE_PERL_CPAN} to CPAN.

PR:             ports/122674
Submitted by:   Philip M. Gollucci <pgollucci@p6m7g8.com>
Reworked by:    araujo (myself)
Approved by:    portmgr (pav)
0.05
08 Sep 2007 00:59:21
Original commit files touched by this commit
linimon search for other commits by this committer
Welcome bsd.perl.mk.  Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl.

Work done by:   gabor
Sponsored by:   Google Summer of Code 2007
Hat:            portmgr
0.05
22 Jan 2006 08:30:12
Original commit files touched by this commit
edwin search for other commits by this committer
SHA256ify

Approved by:    krion@
0.05
22 Jan 2006 01:48:34
Original commit files touched by this commit
edwin search for other commits by this committer
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry

Approved by:    krion@
PR:             ports/88711 (related)
0.05
21 Sep 2005 19:31:43
Original commit files touched by this commit
fenner search for other commits by this committer
search.cpan.org redirect reduction canonicalization project, pass 1:
URLs automatically rewritten from /search?dist=Foo or /dist/Foo
to /dist/Foo/ (note trailing slash).  After a 2002(!) reorganization,
this is the preferred way to refer to modules on search.cpan.org.

This pass brought to you by http://people.freebsd.org/~fenner/fix-search
0.05
02 Apr 2005 15:53:21
Original commit files touched by this commit
lth search for other commits by this committer
Update to 0.05
0.04
27 Dec 2004 14:50:44
Original commit files touched by this commit
lth search for other commits by this committer
Add p5-Test-MockModule 0.04, override subroutines in a module for unit
testing.

Number of commits found: 32