BSD Ports

devel/p5-Perl-Unsafe-Signals 0.03 FreeBSD

Allow unsafe handling of signals in selected blocks

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Categories
devel, perl5
Package size
6.4 KiB, 10.6 KiB installed

Description

In Perl 5.8.0 the so-called "safe signals" were introduced. This means that Perl no longer handles signals immediately but instead "between opcodes", when it is safe to do so. The earlier immediate handling easily could corrupt the internal state of Perl, resulting in mysterious crashes.

It's possible since perl 5.8.1 to globally disable this feature by using the PERL_SIGNALS environment variables (as specified in "PERL_SIGNALS" in perlrun); but there's no way to disable it locally, for a short period of time. That's however something you might want to do, if, for example, your Perl program calls a C routine that will potentially run for a long time and for which you want to set a timeout.

This module therefore allows you to define UNSAFE_SIGNALS blocks in which signals will be handled "unsafely".

In the other systems

The newest version among them is 0.03, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
FreeBSDdevel/p5-Perl-Unsafe-Signals0.03 newestnone known-[email protected]-
NetBSDwip/p5-Perl-Unsafe-Signals by name0.03 newestnone known-[email protected]-
DragonFlydevel/p5-Perl-Unsafe-Signals0.03 newestnone known-[email protected]-
HardenedBSDdevel/p5-Perl-Unsafe-Signals0.03 newestno data-[email protected]-
GhostBSDdevel/p5-Perl-Unsafe-Signals0.03 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install p5-Perl-Unsafe-Signals

From the ports tree:

cd /usr/ports/devel/p5-Perl-Unsafe-Signals/ && make install clean

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

RUN_DEPENDS=	p5-Perl-Unsafe-Signals>0:devel/p5-Perl-Unsafe-Signals

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.030.030.030.030.03
FreeBSD:14:quarterly0.030.03n/a0.030.03
FreeBSD:15:latest0.030.03n/a0.030.03
FreeBSD:15:quarterly0.030.03n/an/an/a
FreeBSD:16:latest0.030.03n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

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

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 3
  • %%SITE_ARCH%%/auto/Perl/Unsafe/Signals/Signals.so
  • %%SITE_ARCH%%/Perl/Unsafe/Signals.pm
  • %%PERL5_MAN3%%/Perl::Unsafe::Signals.3.gz
distinfo 1
FileSizeSHA256
Perl-Unsafe-Signals-0.03.tar.gz3157d311ae7d73e8d0c2346dfacb82aa952322e70cd928b09d502d739e60e35f829d
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.