devel/p5-XS-Object-Magic 0.05 FreeBSD
Opaque, extensible XS pointer backed objects using sv_magic
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 15.7 KiB, 31.7 KiB installed
Description
This way of associating structs with Perl space objects is designed to supercede Perl's builtin T_PTROBJ with something that is designed to be:
Extensible
- The association of the pointer using sv_magicext can be done on any data type, so you can associate C structs with any representation type.
- This means that you can add pointers to any object (hand coded, Moose or otherwise), while still having instance data in regular hashes.
Opaque
- The C pointer is neither visible nor modifiable from Perl space.
- This prevents accidental corruption which could lead to segfaults using T_PTROBJ (e.g. $$ptr_obj = 0).
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-XS-Object-Magic | 0.05 |
| DragonFly | devel/p5-XS-Object-Magic | 0.05 |
| HardenedBSD | devel/p5-XS-Object-Magic | 0.05 |
| GhostBSD | devel/p5-XS-Object-Magic | 0.05 |
Install
Binary package:
pkg install p5-XS-Object-Magic
From the ports tree:
cd /usr/ports/devel/p5-XS-Object-Magic/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-XS-Object-Magic>0:devel/p5-XS-Object-Magic
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.05 | 0.05 | 0.05 | 0.05 | 0.05 |
| FreeBSD:14:quarterly | 0.05 | 0.05 | n/a | 0.05 | 0.05 |
| FreeBSD:15:latest | 0.05 | 0.05 | n/a | 0.05 | 0.05 |
| FreeBSD:15:quarterly | 0.05 | 0.05 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.05 | 0.05 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
p5-ExtUtils-Depends>=0.302: devel/p5-ExtUtils-Depends
Test 1
p5-Test-Fatal>=0: devel/p5-Test-Fatal
The full lists below include those, and their dependencies in turn.
Build dependencies 2
Run dependencies 1
Required by 2
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 6
- %%SITE_ARCH%%/XS/Object/Magic.pm
- %%SITE_ARCH%%/XS/Object/Magic/Install/Files.pm
- %%SITE_ARCH%%/XS/Object/Magic/Install/typemap
- %%SITE_ARCH%%/XS/Object/Magic/Install/xs_object_magic.h
- %%SITE_ARCH%%/auto/XS/Object/Magic/Magic.so
- %%PERL5_MAN3%%/XS::Object::Magic.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| XS-Object-Magic-0.05.tar.gz | 106950 | 3dc9e460cee92e11744062754643a33778ca52a54d205fcaffa4ab0f3cf15e5a |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.