BSD Ports

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

SystemPortVersion
FreeBSDdevel/p5-XS-Object-Magic0.05
DragonFlydevel/p5-XS-Object-Magic0.05
HardenedBSDdevel/p5-XS-Object-Magic0.05
GhostBSDdevel/p5-XS-Object-Magic0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.050.050.050.050.05
FreeBSD:14:quarterly0.050.05n/a0.050.05
FreeBSD:15:latest0.050.05n/a0.050.05
FreeBSD:15:quarterly0.050.05n/an/an/a
FreeBSD:16:latest0.050.05n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Test 1

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

Build dependencies 2
Run dependencies 1

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
FileSizeSHA256
XS-Object-Magic-0.05.tar.gz1069503dc9e460cee92e11744062754643a33778ca52a54d205fcaffa4ab0f3cf15e5a
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.