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
2024-11-06 Today brought in a new category: filesystems. Sadly, the website did not process it well. I am working on that. It may take a few days.
2024-11-07 Commit processing is halted. I have a fix for the new category. It is making its way through the system.
UPDATE: the backend is processing the original filesystems commit now. It should take about an hour.
UPDATE: as of 20:30 UTC, the filesystems commit has been processed. Commit processing is now up to date.
Port details
p5-forks Drop-in replacement for Perl threads using fork()
0.36_2 devel on this many watch lists=3 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.36_2Version of this port present on the latest quarterly branch.
Maintainer: perl@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2006-11-07 03:02:54
Last Update: 2022-09-07 21:58:51
Commit Hash: fb16dfe
People watching this port, also watch:: p5-ExtUtils-CBuilder, p5-Convert-UUlib, p5-MIME-Tools, autoconf, p5-Package-DeprecationManager
Also Listed In: perl5
License: ART10 GPLv1+
WWW:
https://metacpan.org/release/forks
Description:
The "forks" pragma allows a developer to use threads without having to have a threaded perl, or to even run 5.8.0 or higher. There were a number of goals that I am trying to reach with this implementation. The standard Perl 5.8.0 threads implementation is very memory consuming, which makes it basically impossible to use in a production environment, particularly with mod_perl and Apache. Because of the use of the standard Unix fork() capabilities, most operating systems will be able to use the Copy-On-Write (COW) memory sharing capabilities (whereas with the standard Perl 5.8.0 threads implementation, this is thwarted by the Perl interpreter cloning process that is used to create threads). The memory savings have been confirmed. You should be able to run threaded applications unchanged by simply making sure that the "forks" and "forks::shared" modules are loaded, e.g. by specifying them on the command line.
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 (26 items)
Collapse this list.
  1. /usr/local/share/licenses/p5-forks-0.36_2/catalog.mk
  2. /usr/local/share/licenses/p5-forks-0.36_2/LICENSE
  3. /usr/local/share/licenses/p5-forks-0.36_2/ART10
  4. /usr/local/share/licenses/p5-forks-0.36_2/GPLv1+
  5. lib/perl5/site_perl/man/man3/forks.3.gz
  6. lib/perl5/site_perl/man/man3/forks::Devel::Symdump.3.gz
  7. lib/perl5/site_perl/man/man3/forks::shared.3.gz
  8. lib/perl5/site_perl/man/man3/forks::signals.3.gz
  9. lib/perl5/site_perl/man/man3/threads::shared::array.3.gz
  10. lib/perl5/site_perl/man/man3/threads::shared::handle.3.gz
  11. lib/perl5/site_perl/man/man3/threads::shared::hash.3.gz
  12. lib/perl5/site_perl/man/man3/threads::shared::scalar.3.gz
  13. lib/perl5/site_perl/mach/5.32/auto/forks/forks.so
  14. lib/perl5/site_perl/mach/5.32/forks.pm
  15. lib/perl5/site_perl/mach/5.32/forks/Devel/Symdump.pm
  16. lib/perl5/site_perl/mach/5.32/forks/shared.pm
  17. lib/perl5/site_perl/mach/5.32/forks/shared/attributes.pm
  18. lib/perl5/site_perl/mach/5.32/forks/shared/global_filter.pm
  19. lib/perl5/site_perl/mach/5.32/forks/signals.pm
  20. lib/perl5/site_perl/mach/5.32/threads/shared/array.pm
  21. lib/perl5/site_perl/mach/5.32/threads/shared/handle.pm
  22. lib/perl5/site_perl/mach/5.32/threads/shared/hash.pm
  23. lib/perl5/site_perl/mach/5.32/threads/shared/scalar.pm
  24. @owner
  25. @group
  26. @mode
Collapse this list.
Dependency lines:
  • p5-forks>0:devel/p5-forks
To install the port:
cd /usr/ports/devel/p5-forks/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/p5-forks
  • pkg install p5-forks
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: p5-forks
Flavors: there is no flavor information for this port.
distinfo:
SHA256 (forks-0.36.tar.gz) = 61be24e44f4c6fea230e8354678beb5b7adcfefd909a47db8f0a251b0ab65993 SIZE (forks-0.36.tar.gz) = 111143

Packages (timestamps in pop-ups are UTC):
p5-forks
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.36_20.36_20.36_20.36_20.36_2-0.36_2-
FreeBSD:13:quarterly0.36_20.36_20.36_20.36_20.36_20.36_20.36_20.36_2
FreeBSD:14:latest0.36_20.36_20.36_20.36_20.36_20.36_2-0.36_2
FreeBSD:14:quarterly0.36_20.36_2-0.36_20.36_20.36_20.36_20.36_2
FreeBSD:15:latest0.36_20.36_2n/a0.36_2n/a0.36_20.36_20.36_2
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. p5-Acme-Damn>=0 : devel/p5-Acme-Damn
  2. p5-Attribute-Handlers>=0 : devel/p5-Attribute-Handlers
  3. p5-Devel-Symdump>=0 : devel/p5-Devel-Symdump
  4. p5-List-MoreUtils>= : lang/p5-List-MoreUtils
  5. p5-Sys-SigAction>=0.11 : devel/p5-Sys-SigAction
  6. perl5>=5.32.r0<5.33 : lang/perl5.32
  7. perl5>=5.32.r0<5.33 : lang/perl5.32
Runtime dependencies:
  1. p5-Acme-Damn>=0 : devel/p5-Acme-Damn
  2. p5-Attribute-Handlers>=0 : devel/p5-Attribute-Handlers
  3. p5-Devel-Symdump>=0 : devel/p5-Devel-Symdump
  4. p5-List-MoreUtils>= : lang/p5-List-MoreUtils
  5. p5-Sys-SigAction>=0.11 : devel/p5-Sys-SigAction
  6. perl5>=5.32.r0<5.33 : lang/perl5.32
This port is required by:
for Run
  1. graphics/npretty
  2. security/maia

Configuration Options:
No options to configure
Options name:
devel_p5-forks
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/SOAP/RYBSKEJ/
  2. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/SOAP/RYBSKEJ/
  4. ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/SOAP/RYBSKEJ/
  5. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/SOAP/RYBSKEJ/
  6. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/modules/by-module/SOAP/RYBSKEJ/
  7. http://backpan.perl.org/modules/by-module/SOAP/RYBSKEJ/
  8. http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/SOAP/RYBSKEJ/
  9. http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/SOAP/RYBSKEJ/
  10. https://cpan.metacpan.org/modules/by-module/
  11. https://cpan.metacpan.org/modules/by-module/SOAP/RYBSKEJ/
  12. https://www.cpan.org/modules/by-module/SOAP/RYBSKEJ/
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
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.36_2
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.36_2
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.36_2
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.36_2
06 Oct 2018 13:06:45
Revision:481365Original commit files touched by this commit
des search for other commits by this committer
Fix every instance of RUN_DEPENDS:=${BUILD_DEPENDS} in p5 ports, except
for where it resulted in a change in output from build-depends-list or
run-depends-list.

Approved by:	portmgr (adamw)
0.36_2
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
0.36_2
15 Sep 2017 08:58:50
Revision:449893Original commit files touched by this commit
mat search for other commits by this committer
Fix license information for portgs that use "the same license as Perl".

Sponsored by:	Absolight
0.36_2
19 May 2016 10:21:25
Revision:415498Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Fix trailing whitespace in pkg-descrs, categories [a-f]*

Approved by:	portmgr blanket
0.36_2
01 Apr 2016 14:00:57
Revision:412346Original 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.36_2
17 Mar 2016 14:32:13
Revision:411284Original commit files touched by this commit
pi search for other commits by this committer
devel/p5-forks: remove version string warning

See
  https://rt.cpan.org/Ticket/Display.html?id=102730
  and
  https://bugs.debian.org/780351

PR:		208087
Submitted by:	Vick Khera <vivek@khera.org>
0.36_1
14 May 2015 10:15:09
Revision:386312Original commit files touched by this commit
mat search for other commits by this committer
MASTER_SITES cleanup.

- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
0.36_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)
0.36
27 Oct 2014 10:55:59
Revision:371547Original commit files touched by this commit
bapt search for other commits by this committer
Cleanup plist
0.36
30 Jun 2014 13:31:13
Revision:359843Original commit files touched by this commit
jadawin search for other commits by this committer
- Update to 0.36
- Add LICENSE
0.34
10 Jun 2014 12:14:14
Revision:357300Original commit files touched by this commit
mat search for other commits by this committer
Remove all the bootstrap files (.bs) from the plists.

Starting with perl 5.20, they're not installed any more if empty,
and on FreeBSD, they're (always ?) empty.

PR:		190681
Submitted by:	mat
Exp-Run by:	antoine
Sponsored by:	Absolight
0.34
01 Nov 2013 13:08:12
Revision:332365Original commit files touched by this commit
vanilla search for other commits by this committer
Support STAGEDIR.
0.34
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)
0.34
29 Aug 2013 04:08:54
Revision:325559Original commit files touched by this commit
sunpoet search for other commits by this committer
- Use single space after WWW:
0.34
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.
0.34
17 Nov 2011 19:41:28
Original commit files touched by this commit
swills search for other commits by this committer
- Add missing BUILD_DEPENDS to silence build warnings and allow testing

Feature safe:   yes
0.34
17 May 2011 11:05:02
Original commit files touched by this commit
jadawin search for other commits by this committer
- Cleaning MD5 in perl@'s ports.

Approved by:    erwin@ (portmgr)
0.34
07 Dec 2010 19:35:25
Original commit files touched by this commit
linimon search for other commits by this committer
With portmgr hat, reassign some ports from clsung to perl, since clsung
is apparently having some trouble with email.
0.34
31 Aug 2010 02:34:05
Original commit files touched by this commit
pgollucci search for other commits by this committer
- Update to 0.34

PR:             ports/149280
Submitted by:   Frederic Culot <frederic@culot.org>
Approved by:    maintainer timeout (clsung)
Changes:        http://search.cpan.org/dist/forks/Changes
0.33
22 Jul 2009 16:27:08
Original commit files touched by this commit
pgollucci search for other commits by this committer
- lang/perl5.6 is dead, remove PERL_LEVEL/PERL_VERSION < 500801 checks

PR:             ports/135398
Tested by:      2 -exp runs by pav
Approved by:    portmgr (pav)
0.33
03 Jun 2009 01:51:59
Original commit files touched by this commit
clsung search for other commits by this committer
- Update to 0.33

PR:             ports/134825
Submitted by:   pgollucci
0.27
30 Jan 2008 09:00:03
Original commit files touched by this commit
clsung search for other commits by this committer
- Update to 0.27

Changes:        http://search.cpan.org/dist/forks/CHANGELOG
0.26
05 Oct 2007 08:53:52
Original commit files touched by this commit
clsung search for other commits by this committer
- Update to 0.26
0.25
14 Aug 2007 02:54:50
Original commit files touched by this commit
clsung search for other commits by this committer
- Update to 0.25
0.24
11 Jul 2007 06:12:31
Original commit files touched by this commit
clsung search for other commits by this committer
- Update to 0.24
0.23
18 Apr 2007 07:57:03
Original commit files touched by this commit
clsung search for other commits by this committer
- Update to 0.23

PR:             ports/111603
Submitted by:   chinsan
0.22
25 Mar 2007 09:47:36
Original commit files touched by this commit
clsung search for other commits by this committer
- Update to 0.22
0.20
07 Nov 2006 03:01:32
Original commit files touched by this commit
clsung search for other commits by this committer
Add p5-forks 0.20, drop-in replacement for Perl threads using fork().

PR:             ports/104325
Submitted by:   Cheng-Lung Sung <clsung at FreeBSD.org>

Number of commits found: 32