BSD Ports

devel/libac g20240916 FreeBSD

C++ implementation of the Aho-Corasick (AC) string matching algorithm

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
5a07af5a2a
License
BSD3CLAUSE
Categories
devel
Package size
19.8 KiB, 73.6 KiB installed

Description

This port is the C++ implementation of the Aho-Corasick (AC) string matching algorithm.

The upstream began with pure Lua implementation and realize the performance is not satisfactory. So they switch to C/C++ implementation.

There are two shared objects provided by this package: libac.so and ahocorasick.so The former is a regular shared object which can be directly used by C/C++ application, or by Lua via FFI; and the later is a Lua module.

In the other systems

SystemPortVersion
FreeBSDdevel/libacg20240916
DragonFlydevel/libacg20190308_1

Install

Binary package:

pkg install libac

From the ports tree:

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

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

RUN_DEPENDS=	libac>0:devel/libac

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:latestg20240916g20240916g20190308_1g20190308_1g20240916
FreeBSD:14:quarterlyg20240916g20240916n/ag20190308_1g20240916
FreeBSD:15:latestg20240916g20240916n/ag20190308_1g20190308_1
FreeBSD:15:quarterlyg20240916g20240916n/an/an/a
FreeBSD:16:latestg20240916g20240916n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

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 3

Configuration

No options to configure.

USES
gmake
Service scripts
none

Files

distinfo 1
FileSizeSHA256
cloudflare-lua-aho-corasick-g20240916-6e12872_GH0.tar.gz2657225cd9ada6048769eba2cd5ed21855874ab6ae3aeffda877af80ceefa4382cc8f

Commit history 1

DateCommitCreditsLog message
5a07af5a2a Po-Chuan Hsieh devel/libac: Update to g20240916
Changes: https://github.com/cloudflare/lua-aho-corasick/commits/master