BSD Ports

devel/p5-Lexical-SealRequireHints 0.012nb3 NetBSD

Perl5 module to prevent leakage of lexical hints

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
618415630a
License
gnu-gpl-v2 OR artistic
Categories
devel, perl5
Package size
12.8 KiB, 35.3 KiB installed

Description

There is a bug in Perl's handling of the %^H (lexical hints) variable that causes lexical state in one file to leak into another that is required/used from it. This bug will probably be fixed in Perl 5.10.2, and is definitely fixed in Perl 5.11.0, but in any earlier version it is necessary to work around it. On versions of Perl that require a fix, this module globally changes the behaviour of require and use so that they no longer exhibit the bug. This is the most convenient kind of workaround, and is meant to be invoked by modules that make use of lexical state.

The workaround supplied by this module takes effect the first time its import method is called. Typically this will be done by means of a use statement. This should be done before putting anything into %^H that would have a problem with leakage; usually it suffices to do this when loading the module that supplies the mechanism to set up the vulnerable lexical state. Invoking this module multiple times, from multiple lexical-related modules, is not a problem: the workaround is only applied once, and applies to everything.

In the other systems

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
NetBSDdevel/p5-Lexical-SealRequireHints0.012nb3 newestnone known-[email protected]2026-07-16
FreeBSDdevel/p5-Lexical-SealRequireHints0.012 newestnone known-[email protected]-
DragonFlydevel/p5-Lexical-SealRequireHints0.012 newestnone known-[email protected]-
MidnightBSDdevel/p5-Lexical-SealRequireHints0.012 newestno data-[email protected]-
HardenedBSDdevel/p5-Lexical-SealRequireHints0.012 newestno data-[email protected]-
GhostBSDdevel/p5-Lexical-SealRequireHints0.012 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkgin install p5-Lexical-SealRequireHints

From pkgsrc:

cd /usr/pkgsrc/devel/p5-Lexical-SealRequireHints && make install clean

Packages

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

RepositoryVersion
NetBSD 10.1 x86_640.012nb3
NetBSD 10.1 aarch640.012nb3
SmartOS / illumos x86_640.012nb3
macOS 15 arm640.012nb3

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

Run dependencies 1

Commit history 1

DateCommitCreditsLog message
618415630a wiz *: recursive bump for perl5 5.44.0