BSD Ports

devel/hyperscan 5.4.0_2 MidnightBSD

High-performance multiple regex matching library

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
22173208f1
License
bsd3
Categories
devel, textproc

Description

Hyperscan is a high-performance multiple regex matching library. It follows the regular expression syntax of the commonly-used libpcre library, yet functions as a standalone library with its own API written in C.

Hyperscan uses hybrid automata techniques to allow simultaneous matching of large numbers (up to tens of thousands) of regular expressions, as well as matching of regular expressions across streams of data.

In the other systems

The newest version among them is 5.4.2p0-ssse3, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/hyperscan5.4.0_2no data-[email protected]2026-08-07
FreeBSDdevel/hyperscan5.4.2none known-[email protected]2026-09-07
OpenBSDtextproc/hyperscan by name5.4.2p0-ssse3 newestno data-Stuart Henderson <[email protected]>-
NetBSDdevel/hyperscan5.4.2nb3none known-[email protected]-
DragonFlydevel/hyperscan5.4.2none known-[email protected]-
HardenedBSDdevel/hyperscan5.4.2no data-[email protected]-
GhostBSDdevel/hyperscan5.4.2no data-[email protected]-
OPNsensedevel/hyperscan5.4.2no data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install hyperscan

From mports:

cd /usr/mports/devel/hyperscan && make install clean

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

RUN_DEPENDS=	hyperscan>0:devel/hyperscan
LIB_DEPENDS=	libhs.so:devel/hyperscan

Dependencies

As this port's Makefile names them.

Build 1

Build dependencies 1

No port depends on this one.

Configuration

Options name: devel_hyperscan

OptionDefaultDescription
NATIVEoffBuild with native CPU tunes
SHAREDonBuild shared library
USES
compiler:c++11-lib cmake pathfix python:build cpe
Service scripts
none

Files

pkg-plist 13
  • include/hs/hs.h
  • include/hs/hs_common.h
  • include/hs/hs_compile.h
  • include/hs/hs_runtime.h
  • lib/libhs.a
  • lib/libhs_runtime.a
  • libdata/pkgconfig/libhs.pc
  • lib/libhs.so.
  • lib/libhs.so.
  • lib/libhs.so
  • lib/libhs_runtime.so.
  • lib/libhs_runtime.so.
  • lib/libhs_runtime.so
distinfo 2
FileSizeSHA256
boost_1_75_0.tar.gz1.43817536e+08aeb26f80e80945e82ee93e5939baebdca47b9dee80a07d3144be1e1a6a66dd6a
intel-hyperscan-v5.4.0_GH0.tar.gz1.844963e+06e51aba39af47e3901062852e5004d127fa7763b5dbbc16bcca4265243ffa106f
Master sites 1
  • SF/boost/boost/1.75.0:boost

Commit history 1

DateCommitCreditsLog message
22173208f1 Lucas Holt */*: add CPE identifiers from the matching FreeBSD ports
mport audit matches installed packages against sec.midnightbsd.org by CPE, so a port without one is invisible to it regardless of how vulnerable it is. These 126 ports had no CPE while the corresponding FreeBSD port did, so the vendor and product were copied from there rather than guessed. Sampled against the audit API to confirm the identifiers resolve, e.g. cad/gtkwave tonybybell:gtkwave 82 CVEs archivers/libunrar rarlab:unrar 12 audio/espeak-ng espeak-ng:espeak-ng 5 archivers/minizip-ng zlib-ng:minizip-ng 3 audio/faust grame:faust 3 cad/admesh admesh_project:admesh 3 Three ports were deliberately skipped: archivers/p5-Archive-Tar, …