summaryrefslogtreecommitdiff
path: root/dev-libs/vectorscan
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 11:50:53 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 11:50:53 -0500
commit290aebdea65a02557706eaeda477fef0437b6a48 (patch)
treef87a939169a508a2e943570501b64cc16b411cda /dev-libs/vectorscan
parent6783ddcd4b73d9ce586a71770caed352bec93b16 (diff)
downloadbaldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.gz
baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.xz
baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.zip
Adding metadata
Diffstat (limited to 'dev-libs/vectorscan')
-rw-r--r--dev-libs/vectorscan/Manifest2
-rw-r--r--dev-libs/vectorscan/files/vectorscan-5.4.12-build.patch27
-rw-r--r--dev-libs/vectorscan/metadata.xml22
-rw-r--r--dev-libs/vectorscan/vectorscan-5.4.11.ebuild74
-rw-r--r--dev-libs/vectorscan/vectorscan-5.4.12.ebuild80
5 files changed, 0 insertions, 205 deletions
diff --git a/dev-libs/vectorscan/Manifest b/dev-libs/vectorscan/Manifest
deleted file mode 100644
index aabe6ad116ef..000000000000
--- a/dev-libs/vectorscan/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST vectorscan-5.4.11.tar.gz 1895332 BLAKE2B a8f5a1230af0ddf7d9fb9299769ec1736d37ac3284f6a98b1e650af461206cf459eac35d13a47beb6683786c6529539b2d082edf426e7d4890ed11804c76268b SHA512 ed74e441c1106a90b344898320d20b74726db86af338dee8c908db941a88e73355ca87c6d64e212eb860bf76a96121021ebaabd48ce359b47634caaee9df3e5e
-DIST vectorscan-5.4.12.tar.gz 20849791 BLAKE2B 7d2a5934423ea5ef7153ab04544e9819d3c95644352780f6614ec2e896cbde4d92cffe6433eab86a55be26c2dd968d4d0ea7867d7c1251d4631af9da33d39f31 SHA512 b9e750cb53a109ebed6e472cccbd280434c4a8e6a9217acfd30c10cc88381712de2444d31794a1f0bebc0b5ca0def21c031234bc1706f4029d51d2830f0cb5ac
diff --git a/dev-libs/vectorscan/files/vectorscan-5.4.12-build.patch b/dev-libs/vectorscan/files/vectorscan-5.4.12-build.patch
deleted file mode 100644
index b552390a73c0..000000000000
--- a/dev-libs/vectorscan/files/vectorscan-5.4.12-build.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-https://github.com/VectorCamp/vectorscan/commit/f472bfee05c88e3e46c149df1028557f47388b0e
-
-From f472bfee05c88e3e46c149df1028557f47388b0e Mon Sep 17 00:00:00 2001
-From: wnwu <madtrapper@users.noreply.github.com>
-Date: Fri, 10 Oct 2025 14:49:45 -0700
-Subject: [PATCH] fix mingw compile error by resolving std::min type mismatch
- (#346)
-
-Co-authored-by: Weining Wu <wnwu@fortinet.com>
----
- src/fdr/fdr_engine_description.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/fdr/fdr_engine_description.cpp b/src/fdr/fdr_engine_description.cpp
-index 6de09f92b..7efe5ceff 100644
---- a/src/fdr/fdr_engine_description.cpp
-+++ b/src/fdr/fdr_engine_description.cpp
-@@ -71,7 +71,7 @@ u32 findDesiredStride(size_t num_lits, size_t min_len, size_t min_len_count) {
- } else if (num_lits < 5000) {
- // for larger but not huge sizes, go to stride 2 only if we have at
- // least minlen 3
-- desiredStride = std::min(min_len - 1, 2UL);
-+ desiredStride = std::min(min_len - 1, static_cast<std::size_t>(2UL));
- }
- }
-
-
diff --git a/dev-libs/vectorscan/metadata.xml b/dev-libs/vectorscan/metadata.xml
deleted file mode 100644
index 762fd5e29256..000000000000
--- a/dev-libs/vectorscan/metadata.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>arkamar@gentoo.org</email>
- <name>Petr Vaněk</name>
- </maintainer>
- <longdescription>
- A fork of Intel's Hyperscan, modified to run on more platforms.
- Currently ARM NEON/ASIMD is 100% functional, and Power VSX are in
- development. ARM SVE2 support is in ongoing with access to hardware now.
- More platforms will follow in the future.
-
- Vectorscan follows Intel's API and internal algorithms where
- possible, but will not hesitate to make code changes where it is thought
- of giving better performance or better portability.
- </longdescription>
- <slots>
- <subslots>libhs soname version</subslots>
- </slots>
- <origin>baldeagleos-repo</origin>
-</pkgmetadata>
diff --git a/dev-libs/vectorscan/vectorscan-5.4.11.ebuild b/dev-libs/vectorscan/vectorscan-5.4.11.ebuild
deleted file mode 100644
index 20ca649f2cfe..000000000000
--- a/dev-libs/vectorscan/vectorscan-5.4.11.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake edo flag-o-matic
-
-DESCRIPTION="A portable fork of the high-performance regular expression matching library"
-HOMEPAGE="
- https://www.vectorcamp.gr/vectorscan/
- https://github.com/VectorCamp/vectorscan
-"
-SRC_URI="
- https://github.com/VectorCamp/vectorscan/archive/refs/tags/${PN}/${PV}.tar.gz
- -> ${P}.tar.gz
-"
-
-S="${WORKDIR}/${PN}-${P}"
-
-LICENSE="BSD"
-SLOT="0/5"
-KEYWORDS="amd64 x86"
-IUSE="cpu_flags_x86_avx2 cpu_flags_x86_sse4_2"
-
-DEPEND="
- dev-libs/boost:=
-"
-RDEPEND="
- ${DEPEND}
- !dev-libs/hyperscan
-"
-BDEPEND="
- dev-util/ragel
- virtual/pkgconfig
-"
-
-REQUIRED_USE="
- x86? ( cpu_flags_x86_sse4_2 )
- amd64? ( cpu_flags_x86_sse4_2 )
-"
-
-src_prepare() {
- local sedargs=(
- # Respect user -m flags (march/mtune)
- -e '/set(ARCH_CX*_FLAG/d'
- # Respect user -O flags
- -e '/set(OPT_CX*_FLAG/d'
- )
- sed -i "${sedargs[@]}" CMakeLists.txt cmake/cflags-x86.cmake || die
- cmake_src_prepare
-}
-
-src_configure() {
- use cpu_flags_x86_avx2 && append-flags -mavx2
- use cpu_flags_x86_sse4_2 && append-flags -msse4.2
-
- local mycmakeargs=(
- -DBUILD_BENCHMARKS=OFF
- -DBUILD_EXAMPLES=OFF
- -DBUILD_SHARED_LIBS=ON
-
- -DBUILD_AVX2=$(usex cpu_flags_x86_avx2)
-
- -DUSE_CPU_NATIVE=OFF
- )
- cmake_src_configure
-}
-
-src_test() {
- # The unit target cannot be used currently due to a bug in it,
- # see https://github.com/VectorCamp/vectorscan/issues/202
- #cmake_build unit
- edo "${BUILD_DIR}/bin/unit-hyperscan"
-}
diff --git a/dev-libs/vectorscan/vectorscan-5.4.12.ebuild b/dev-libs/vectorscan/vectorscan-5.4.12.ebuild
deleted file mode 100644
index 3c9a931aec73..000000000000
--- a/dev-libs/vectorscan/vectorscan-5.4.12.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 2023-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake edo flag-o-matic
-
-DESCRIPTION="A portable fork of the high-performance regular expression matching library"
-HOMEPAGE="
- https://vectorcamp.gr/vectorscan/
- https://github.com/VectorCamp/vectorscan
-"
-SRC_URI="
- https://github.com/VectorCamp/vectorscan/archive/refs/tags/${PN}/${PV}.tar.gz
- -> ${P}.tar.gz
-"
-
-S="${WORKDIR}/${PN}-${P}"
-
-LICENSE="BSD"
-SLOT="0/5"
-KEYWORDS="amd64 x86"
-IUSE="cpu_flags_x86_avx2 cpu_flags_x86_sse4_2"
-
-DEPEND="
- dev-libs/boost:=
-"
-RDEPEND="
- ${DEPEND}
- !dev-libs/hyperscan
-"
-BDEPEND="
- dev-util/ragel
- virtual/pkgconfig
-"
-
-REQUIRED_USE="
- x86? ( cpu_flags_x86_sse4_2 )
- amd64? ( cpu_flags_x86_sse4_2 )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-5.4.12-build.patch
-)
-
-src_prepare() {
- local sedargs=(
- # Respect user -m flags (march/mtune)
- -e '/set(ARCH_CX*_FLAG/d'
- # Respect user -O flags
- -e '/set(OPT_CX*_FLAG/d'
- )
- sed -i "${sedargs[@]}" CMakeLists.txt cmake/cflags-x86.cmake || die
- sed -i '/-Werror/d' cmake/cflags-generic.cmake || die
- cmake_src_prepare
-}
-
-src_configure() {
- use cpu_flags_x86_avx2 && append-flags -mavx2
- use cpu_flags_x86_sse4_2 && append-flags -msse4.2
-
- local mycmakeargs=(
- -DBUILD_BENCHMARKS=OFF
- -DBUILD_EXAMPLES=OFF
- -DBUILD_SHARED_LIBS=ON
-
- -DBUILD_AVX2=$(usex cpu_flags_x86_avx2)
-
- -DFAT_RUNTIME=OFF
- -DUSE_CPU_NATIVE=OFF
- )
- cmake_src_configure
-}
-
-src_test() {
- # The unit target cannot be used currently due to a bug in it,
- # see https://github.com/VectorCamp/vectorscan/issues/202
- #cmake_build unit
- edo "${BUILD_DIR}/bin/unit-hyperscan"
-}