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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Sys-Mmap | 0.21 |
| OpenBSD | devel/p5-Sys-Mmap | 0.21 |
| NetBSD | devel/p5-Sys-Mmap | 0.20nb5 |
| DragonFly | devel/p5-Sys-Mmap | 0.20 |
| MidnightBSD | devel/p5-Sys-Mmap | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.21 | 0.21 | 0.20 | 0.20 | 0.21 |
| FreeBSD:14:quarterly | 0.21 | 0.21 | n/a | 0.20 | 0.21 |
| FreeBSD:15:latest | 0.21 | 0.21 | n/a | 0.20 | 0.20 |
| FreeBSD:15:quarterly | 0.21 | 0.21 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.21 | 0.21 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
Required by 2
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
| File | Size | SHA256 |
|---|---|---|
| Sys-Mmap-0.21.tar.gz | 21900 | fdec18081928b0b3ff688ec8b5d2d9bd1ffc81c2c3eb1fb3c1c56aac48a96f4c |
Master sites 1
- CPAN