BSD Ports

devel/vectorscan 5.4.13 FreeBSD

Portable fork of high-performance multiple regex matching library

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
96e1f7daf5
License
BSD3CLAUSE
Categories
devel, textproc
Package size
32093.8 KiB, 307689.7 KiB installed

Description

Vectorscan is a portable fork of Intel's Hyperscan, 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.

Vectorscan 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.

This portable fork extends support beyond x86 to additional architectures including ARM NEON/ASIMD and Power VSX, making it suitable for a wider range of platforms while maintaining API compatibility with Hyperscan 5.4.

In the other systems

SystemPortVersion
FreeBSDdevel/vectorscan5.4.13
HardenedBSDdevel/vectorscan5.4.13
GhostBSDdevel/vectorscan5.4.13

Install

Binary package:

pkg install vectorscan

From the ports tree:

cd /usr/ports/devel/vectorscan/ && make install clean

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

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

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:latest5.4.135.4.13---
FreeBSD:14:quarterly5.4.135.4.13n/a--
FreeBSD:15:latest5.4.135.4.13n/a--
FreeBSD:15:quarterly5.4.135.4.13n/an/an/a
FreeBSD:16:latest5.4.135.4.13n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

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

Build dependencies 21

No port depends on this one.

Configuration

Options name: devel_vectorscan

OptionDefaultDescription
FAT_RUNTIMEoffBuild for multiple microarchitectures with runtime ISA dispatch
NATIVEoffBuild with native CPU tunes
OPTIMIZED_CFLAGSonUse extra compiler optimizations
SHAREDonBuild shared library
USES
cmake compiler:c++17-lang localbase pathfix python:build
Service scripts
none

Files

pkg-plist 14
  • include/hs/hs.h
  • include/hs/hs_common.h
  • include/hs/hs_compile.h
  • include/hs/hs_runtime.h
  • include/hs/hs_version.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 1
FileSizeSHA256
VectorCamp-vectorscan-vectorscan-5.4.13_GH0.tar.gz2.0870326e+0711bfcd2dde32d8a08d1a2eebb09294b12a3fa2be140078f8091b751fa1fabd89

Commit history 1

DateCommitCreditsLog message
96e1f7daf5 Xin LI devel/vectorscan: update to 5.4.13
- Update 5.4.12 to 5.4.13 (bug fixes, security fixes, clang 21 compat) - Unbundle Boost: use system devel/boost-libs instead of 190 MB tarball - Unbundle SIMDe: use system devel/simde instead of git submodule - Enable FAT_RUNTIME on FreeBSD 14 [1] by aliasing nm to llvm-nm (the build_wrapper.sh uses -f posix which elftoolchain nm doesn't support) - Add USES=localbase for system Boost and SIMDe headers - Sort option descriptions and helpers alphabetically per portclippy PR: ports/295654 [1]