Skip to content

Commit

Permalink
virtual/hyperscan: new package, add 5.4.2, 5.4.11
Browse files Browse the repository at this point in the history
dev-libs/hyperscan has recently changed the license to Intel Proprietary
License (IPL) beginning from version 5.5, see section 2.2 in [1]. It is
currently unclear if upstream will maintain the public version [2].

However, there is dev-libs/vectorscan fork already present in the tree.
It is actively maintained drop-in replacement of hyperscan, but it has
some ABI incompatibilities.

This package should be used instead of dev-libs/hyperscan, it will
naturally solve a transitions between hyperscan and vectorscan. Users
can still select the preferred version by appending it to the world list
or by masking the other one.

[1] https://networkbuilders.intel.com/docs/networkbuilders/accelerate-snort-performance-with-hyperscan-and-intel-xeon-processors-on-public-clouds-1680176363.pdf
[2] intel/hyperscan#421

Signed-off-by: Petr Vaněk <[email protected]>
  • Loading branch information
arkamar committed Nov 25, 2023
1 parent 8f7b356 commit 16557c5
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-libs/hyperscan/hyperscan-5.4.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ HOMEPAGE="
"

LICENSE="BSD"
# slot change needs to be reflected in virtual/hyperscan
SLOT="0"
KEYWORDS="-* amd64 x86"
IUSE="cpu_flags_x86_avx2 cpu_flags_x86_ssse3"
Expand Down
1 change: 1 addition & 0 deletions dev-libs/vectorscan/vectorscan-5.4.11.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ SRC_URI="
S="${WORKDIR}/${PN}-${P}"

LICENSE="BSD"
# slot change needs to be reflected in virtual/hyperscan
SLOT="0/5"
KEYWORDS="~amd64"
IUSE="cpu_flags_x86_avx2 cpu_flags_x86_sse4_2"
Expand Down
14 changes: 14 additions & 0 deletions virtual/hyperscan/hyperscan-5.4.11.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Vritual for hyperscan"

# subslot prefixes:
# h - for hyperscan
# v - for vectorscan
SLOT="0/v5"
KEYWORDS="~amd64"

RDEPEND="dev-libs/vectorscan:0/5"
14 changes: 14 additions & 0 deletions virtual/hyperscan/hyperscan-5.4.2.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Vritual for hyperscan"

# subslot prefixes:
# h - for hyperscan
# v - for vectorscan
SLOT="0/h0"
KEYWORDS="amd64 x86"

RDEPEND="dev-libs/hyperscan:0"
13 changes: 13 additions & 0 deletions virtual/hyperscan/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>[email protected]</email>
<name>Petr Vaněk</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>[email protected]</email>
<name>Proxy Maintainers</name>
</maintainer>
<stabilize-allarches/>
</pkgmetadata>

0 comments on commit 16557c5

Please sign in to comment.