BSD Ports

devel/pcre2 10.49 NetBSD

Perl Compatible Regular Expressions library (major version 2)

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
7b5a3977f9
License
modified-bsd
Categories
devel
Package size
856.5 KiB, 6197.4 KiB installed

Description

PCRE2 is a re-working of the original PCRE library to provide an entirely new API.

PCRE2 is written in C, and it has its own API. There are three sets of functions, one for the 8-bit library, which processes strings of bytes, one for the 16-bit library, which processes strings of 16-bit values, and one for the 32-bit library, which processes strings of 32-bit values. There are no C++ wrappers.

In the other systems

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
NetBSDdevel/pcre210.49 newestnone known-[email protected]2026-09-29
FreeBSDdevel/pcre210.49 newestnone known-[email protected]2026-09-29
OpenBSDdevel/pcre210.48 behind since 2026-09-29no data-Nam Nguyen <[email protected]>2026-09-11
DragonFlydevel/pcre210.45 behind since 2026-09-011 known-[email protected]-
MidnightBSDdevel/pcre210.48 behind since 2026-09-29no data-[email protected]2026-09-05
HardenedBSDdevel/pcre210.49 newestno data-[email protected]-
GhostBSDdevel/pcre210.48 behind since 2026-09-29no data-[email protected]-
OPNsensedevel/pcre210.47_1 behind since 2026-09-01no data-[email protected]-

Compare across BSDs

Version history 2

  1. 10.49 1f5ed746fc
  2. 10.48 afe7ceaf8c

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkgin install pcre2

From pkgsrc:

cd /usr/pkgsrc/devel/pcre2 && 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_6410.49
NetBSD 10.1 aarch6410.47
SmartOS / illumos x86_6410.49
macOS 15 arm6410.49

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

Required by 124

The first 100 are listed.

Commit history 6

DateCommitCreditsLog message
7b5a3977f9 wiz *: recursive bump for pcre2 10.49
1f5ed746fc wiz pcre2: update to 10.49.
Version 10.49 28-September-2026 ------------------------------- 1. (GHSA-r9hj-j2rw-4q3m) Security fix to prevent an out-of-bounds write with arbitrary data. Applications are only affected if using the pcre2_jit_stack_create() and pcre2_jit_stack_assign() APIs to provide a growable JIT stack, and then matching against a pattern with unusually high JIT stack usage, such as a large number of capturing groups. The implications of an out-of-bounds write could include arbitrary code execution. The issue is not a regression and affects releases 10.48 and earlier.
837e6208a7 tnn pcre2: fix broken symbol versioning test in configure
Recursive bump will likely be needed.
5e4aea17e2 wiz *: recursive bump for pcre2 10.48
93b8334d5c wiz pcre2: note why updates to this usually require a recursive bump

The latest 5 of 6 in the history this site was built from.