The vectorscan-headers package installed headers to the target device,
but headers are only needed during the build process (via Build/InstallDev).
- Rename vectorscan-runtime to vectorscan to simplify things
- Add ABI_VERSION:=5 to track library soname versioning
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
The gperftools-headers package installed headers to the target device,
but headers are only needed during the build process (via Build/InstallDev).
- Remove gperftools-headers package
- Rename gperftools-runtime to gperftools
- Add ABI_VERSION for tracking ABI changes
While looking for e.g. on repology, there is only gperftools package [1]
and not gperftools-runtime and gperftools-headers.
[1] https://repology.org/project/gperftools/versions
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
This fixes version detection issues when other packages (like snort3)
try to find the tcmalloc library using CMake's find_package(). Without
the headers in the staging directory, CMake cannot read the version
information from tcmalloc.h, resulting in empty version strings.
Fixes:
Found TCMalloc: /builder/staging_dir/target-x86_64_musl/usr/lib/libtcmalloc.so (found version "")
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Patch CMakeLists.txt to fulfill cmake 4.0 requirements
of cmake_minimum_required being at least 3.5 and in future 3.10.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
- fix building sqlite3-cli with readline and libedit
- add linenoise line editing option. This adds 12k to the size of the
bare sqlite3-cli, but doesn't add any extra dependencies
- make linenoise the default choice as the most space conserving but
still convenient variant
- bump PKG_RELEASE
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
Add the linenoise line editing package.
It's a compact embedded replacement for readline and libedit.
It will be used in sqlite3-cli initially, but other packages
that support it, may follow.
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
Update to version 0.13.0 that provides compatibility with cmake 4.0.
(new cmake version require at least cmake 3.5 requirement declared
in CMakeLists.txt)
* remove the temporary patch for CMakeLists.txt
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
boostorg.jfrog.io is no longer available for download, so remove it.
use archives.boost.io (fastly cdn) to download first.
Signed-off-by: Andy Chiang <AndyChiang_git@outlook.com>
Make libunwind support optional depending on package availability.
Previously, gperftools unconditionally enabled libunwind as
mandatory dependency, which led to build failures on architectures where
libunwind is not provided.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
It should be working for mips*,
so enable it and let's see. :-)
In the past, there were some issues related to mips,
when the package was added, but these days, it appears
that these issues are gone. More details
about those issues could be found in the GitHub pull request
when gperftools was added. Reference is in the Fixes tag.
Fixes: c1b4e80825 ("gperftools: add new package")
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
There is no reason to have custom specific DEPENDS_COMMON,
I dropped it and added it to DEPENDS. Simplified, easier to read
and understand.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Vectorscan is fork of Hyperscan, a high-performance multiple regex
matching library. It follows the regular expression syntax of the
commonly-used libpcre library, but is a standalone library with
its own C API.
Currently ARM NEON/ASIMD and Power VSX are 100% functional. ARM
SVE2 support is in ongoing with access to hardware now. More
platforms will follow in the future.
The performance difference of snort3 compiled against this is
sizable for aarch64 confirmed on two different SoCs:
Test SoC #1 flogic/glinet_gl-mt6000
IDS mode:
Download speed wo/ vectorscan: 91.2 ±0.21 Mbit/s (n=3)
Download speed using vectorscan: 331.0 ±27.34 Mbit/s (n=3)
Gain of 3.6x
IPS mode:
Download speed wo/ vectorscan: 30.0 ±0.06 Mbit/s (n=3)
Download speed using vectorscan: 52.9 ±0.78 Mbit/s (n=3)
Gain of 1.8x
Notes:
* Data generated on snapshot build on 12-Apr-2024 using kernel
6.6.26, snort 3.1.84.0, vectorscan 5.4.11.
* Speedtest script hitting the same server.
* Snort rules file of was 37,917 lines/22 MB.
* In all cases, single core CPU saturation occurred which
speaks to the efficiency gains supplied by vectorscan.
Test Soc #2 bcm2712/RPi5B
IPS mode:
Download speed wo/ vectorscan: 164.3 ±0.64 Mbit/s (n=3)
Download speed using vectorscan: 232.8 ±0.26 Mbit/s (n=3)
Gain of 1.4x
Notes:
* Data generated on snapshot build on 13-Apr-2024 using kernel
6.1.86, snort 3.1.84.0, vectorscan 5.4.11.
* Google fiber speedtest (https://fiber.google.com/speedtest/)
hitting the same server.
* Snort rules contained 39,801 rules/22 MB.
* In all cases, single core CPU saturation occurred which
speaks to the efficiency gains supplied by vectorscan.
Build system: x86/64
Build-tested: flogic/glinet_gl-mt6000, bcm2712/RPi5B, x86/64-glibc
Run-tested: flogic/glinet_gl-mt6000, bcm2712/RPi5B, x86/64-glibc (Intel N150 based box)
Co-authored-by: Tianling Shen <cnsztl@gmail.com>
Co-authored-by: Jeffery To <jeffery.to@gmail.com>
Signed-off-by: John Audia <therealgraysky@proton.me>
Bump to latest release and removed upstreamed patch.
Resulting libs give a fully functional snort3 which was built against
this new version.
Build system: x86/64
Build-tested: x86/64-glibc
Run-tested: x86/64-glibc (Intel N150 based box)
Signed-off-by: John Audia <therealgraysky@proton.me>
libtorrent only links to boost headers since boost 1.69.
Remove boost-system from the dependencies and add boost as build
dependency.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Version 1.3.7 introduced a feature which moved symbols into an optional
database section[1]. Add corresponding configure args to fix the build
with our packages. This commit adds the new option to ensure client
packages (snort, rpcbind, lsof, etc.) build without error.
Build system: x86/64 (using external toolchain from snapshot)
Build-tested: x86/64
Co-authored-by: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: John Audia <therealgraysky@proton.me>
Cmake 4.x requires 'cmake_minimum_required' to be at least 3.5.
Use 3.30 as the value (current cmake in OpenWrt 24.10).
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This library is tightly coupled with liborcania and libyder, they must be updated together.
* Update libulfius to v2.7.15
* Patch libulfius to fix FTBFS on 32-bit architectures with 64-bit time_t
- Backported from upstream commit: 9457809a5321ca4a87f19fdc3f7f4af68e72afa8
* Remove obsolete CMAKE options for libulfius
Signed-off-by: Austin Lane <vidplace7@gmail.com>
This library is tightly coupled with liborcania and libulfius, they must be updated together.
* Update libyder to v1.4.20
Signed-off-by: Austin Lane <vidplace7@gmail.com>