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
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.
New feature planned: get notified when the package is available. Now is the time to contribute ideas/suggestions.
Port details
p5-Readonly-XS Companion module for Readonly.pm, to speed up read-only scalar variables
1.05_2 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 View this port on Repology. pkg-fallout 1.05_2Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2006-08-02 10:20:57
Last Update: 2022-09-07 21:58:51
Commit Hash: fb16dfe
Also Listed In: perl5
License: ART10 GPLv1+
WWW:
https://metacpan.org/release/Readonly-XS
Description:
This module corrects the speed problem, at least with respect to scalar variables. When Readonly::XS is installed, Readonly uses it to access the internals of scalar variables. Instead of creating a scalar variable object and tying it, Readonly simply flips the SvREADONLY bit in the scalar's FLAGS structure. Readonly arrays and hashes are not sped up by this, since the SvREADONLY flag only works for scalars. Arrays and hashes always use the tie interface. Programs that you write do not need to know whether Readonly::XS is installed or not. They should just "use Readonly" and let Readonly worry about whether or not it can use XS. If the Readonly::XS is present, Readonly will be faster. If not, it won't. Either way, it will still work, and your code will not have to change. Your program can check whether Readonly.pm is using XS or not by examining the $Readonly::XSokay variable. It will be true if the XS module was found and is being used. Please do not change this variable.
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 (10 items)
Collapse this list.
  1. /usr/local/share/licenses/p5-Readonly-XS-1.05_2/catalog.mk
  2. /usr/local/share/licenses/p5-Readonly-XS-1.05_2/LICENSE
  3. /usr/local/share/licenses/p5-Readonly-XS-1.05_2/ART10
  4. /usr/local/share/licenses/p5-Readonly-XS-1.05_2/GPLv1+
  5. lib/perl5/site_perl/mach/5.32/Readonly/XS.pm
  6. lib/perl5/site_perl/mach/5.32/auto/Readonly/XS/XS.so
  7. lib/perl5/site_perl/man/man3/Readonly::XS.3.gz
  8. @owner
  9. @group
  10. @mode
Collapse this list.
Dependency lines:
  • p5-Readonly-XS>0:devel/p5-Readonly-XS
To install the port:
cd /usr/ports/devel/p5-Readonly-XS/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/p5-Readonly-XS
  • pkg install p5-Readonly-XS
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: p5-Readonly-XS
Flavors: there is no flavor information for this port.
distinfo:
SHA256 (Readonly-XS-1.05.tar.gz) = 8ae5c4e85299e5c8bddd1b196f2eea38f00709e0dc0cb60454dc9114ae3fff0d SIZE (Readonly-XS-1.05.tar.gz) = 8849

Packages (timestamps in pop-ups are UTC):
p5-Readonly-XS
ABIlatestquarterly
FreeBSD:13:aarch641.05_21.05_2
FreeBSD:13:amd641.05_21.05_2
FreeBSD:13:armv61.05_21.05_2
FreeBSD:13:armv71.05_21.05_2
FreeBSD:13:i3861.05_21.05_2
FreeBSD:13:powerpc-1.05_2
FreeBSD:13:powerpc641.05_21.05_2
FreeBSD:13:powerpc64le-1.05_2
FreeBSD:14:aarch641.05_21.05_2
FreeBSD:14:amd641.05_21.05_2
FreeBSD:14:armv61.05_2-
FreeBSD:14:armv71.05_21.05_2
FreeBSD:14:i3861.05_21.05_2
FreeBSD:14:powerpc1.05_21.05_2
FreeBSD:14:powerpc64-1.05_2
FreeBSD:14:powerpc64le1.05_21.05_2
FreeBSD:15:aarch641.05_2-
FreeBSD:15:amd641.05_2-
FreeBSD:15:armv71.05_2-
FreeBSD:15:powerpc1.05_2-
FreeBSD:15:powerpc641.05_2-
FreeBSD:15:powerpc64le1.05_2-
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. p5-Readonly>=1.02 : devel/p5-Readonly
  2. perl5>=5.32.r0<5.33 : lang/perl5.32
  3. perl5>=5.32.r0<5.33 : lang/perl5.32
Runtime dependencies:
  1. p5-Readonly>=1.02 : devel/p5-Readonly
  2. 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-Readonly-XS
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/Readonly/
  2. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Readonly/
  4. ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Readonly/
  5. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/Readonly/
  6. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/modules/by-module/Readonly/
  7. http://backpan.perl.org/modules/by-module/Readonly/
  8. http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/Readonly/
  9. http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/Readonly/
  10. https://cpan.metacpan.org/modules/by-module/
  11. https://cpan.metacpan.org/modules/by-module/Readonly/
  12. https://www.cpan.org/modules/by-module/Readonly/
Collapse this list.

Number of commits found: 16

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.05_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)
1.05_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)
1.05_2
25 Jun 2021 13:35:12
commit hash: 2abeda1388e95b47e1a29e1a226f760198dc3b23commit hash: 2abeda1388e95b47e1a29e1a226f760198dc3b23commit hash: 2abeda1388e95b47e1a29e1a226f760198dc3b23commit hash: 2abeda1388e95b47e1a29e1a226f760198dc3b23 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/p5-Readonly-XS: Cosmetic change
1.05_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.
1.05_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)
1.05_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
1.05_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
1.05_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
1.05_2
17 Aug 2015 13:04:56
Revision:394478Original commit files touched by this commit
sunpoet search for other commits by this committer
- Strip shared library
- Bump PORTREVISION for package change
1.05_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.05
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.05
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
1.05
27 Nov 2013 20:45:07
Revision:335059Original commit files touched by this commit
sunpoet search for other commits by this committer
- Add p5-Readonly-XS 1.05

This module corrects the speed problem, at least with respect to scalar
variables. When Readonly::XS is installed, Readonly uses it to access the
internals of scalar variables. Instead of creating a scalar variable object and
tying it, Readonly simply flips the SvREADONLY bit in the scalar's FLAGS
structure.

Readonly arrays and hashes are not sped up by this, since the SvREADONLY flag
only works for scalars. Arrays and hashes always use the tie interface.

Programs that you write do not need to know whether Readonly::XS is installed or
not. They should just "use Readonly" and let Readonly worry about whether or not
it can use XS. If the Readonly::XS is present, Readonly will be faster. If not,
it won't. Either way, it will still work, and your code will not have to change.

Your program can check whether Readonly.pm is using XS or not by examining the
$Readonly::XSokay variable. It will be true if the XS module was found and is
being used. Please do not change this variable.

WWW: http://search.cpan.org/dist/Readonly-XS/
1.04
02 Aug 2006 11:13:50
Original commit files touched by this commit
sat search for other commits by this committer
devel/p5-Readonly-XS is included in devel/p5-Readonly

Reported by:    skv
Pointy hat to:  sat
1.04
02 Aug 2006 10:19:55
Original commit files touched by this commit
sat search for other commits by this committer
Add port devel/p5-Readonly-XS:

The Readonly module (q.v.) is an effective way to create non-modifiable
variables. However, it's relatively slow.

The reason it's slow is that is implements the read-only-ness of variables
via tied objects. This mechanism is inherently slow. Perl simply has to do
a lot of work under the hood to make tied variables work.

This module corrects the speed problem, at least with respect to scalar
variables. When Readonly::XS is installed, Readonly uses it to access the
internals of scalar variables. Instead of creating a scalar variable object
and tying it, Readonly simply flips the SvREADONLY bit in the scalar's
FLAGS structure.
(Only the first 15 lines of the commit message are shown above View all of this commit message)

Number of commits found: 16