BSD Ports

devel/p5-Sys-Mmap 0.21 FreeBSD

Map in a file as a Perl variable using mmap(2)

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
2e90fb16a4
License
ART10, GPLv1+
Categories
devel, perl5
Package size
21.8 KiB, 47.2 KiB installed

Description

The Mmap module lets you use mmap to map in a file as a Perl variable rather than reading the file into dynamically allocated memory.

The advantage of this is that several processes may share one copy of the file or string, saving memory, and concurrently making changes to portions of the file or string. When not used with a file, it is an alternative to SysV shared memory that places no arbitrary size limits on the shared memory area, and efficiently handles sparse memory usage.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Sys-Mmap0.21
OpenBSDdevel/p5-Sys-Mmap0.21
NetBSDdevel/p5-Sys-Mmap0.20nb5
DragonFlydevel/p5-Sys-Mmap0.20
MidnightBSDdevel/p5-Sys-Mmap0.20

Install

Binary package:

pkg install p5-Sys-Mmap

From the ports tree:

cd /usr/ports/devel/p5-Sys-Mmap/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Sys-Mmap>0:devel/p5-Sys-Mmap

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.210.210.200.200.21
FreeBSD:14:quarterly0.210.21n/a0.200.21
FreeBSD:15:latest0.210.21n/a0.200.20
FreeBSD:15:quarterly0.210.21n/an/an/a
FreeBSD:16:latest0.210.21n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 1
Run dependencies 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 3
  • %%SITE_ARCH%%/Sys/Mmap.pm
  • %%SITE_ARCH%%/auto/Sys/Mmap/Mmap.so
  • %%PERL5_MAN3%%/Sys::Mmap.3.gz
distinfo 1
FileSizeSHA256
Sys-Mmap-0.21.tar.gz21900fdec18081928b0b3ff688ec8b5d2d9bd1ffc81c2c3eb1fb3c1c56aac48a96f4c
Master sites 1
  • CPAN

Commit history 1

DateCommitCreditsLog message
2e90fb16a4 Muhammad Moinur Rahman devel/p5-Sys-Mmap: Update version 0.20=>0.21
Changelog: https://metacpan.org/dist/Sys-Mmap/changes