From 16557c5ca82e6c731e7a976431817495e4cb5362 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Van=C4=9Bk?= Date: Fri, 24 Nov 2023 21:12:27 +0100 Subject: [PATCH] virtual/hyperscan: new package, add 5.4.2, 5.4.11 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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] https://github.com/intel/hyperscan/issues/421 Signed-off-by: Petr Vaněk --- dev-libs/hyperscan/hyperscan-5.4.2.ebuild | 1 + dev-libs/vectorscan/vectorscan-5.4.11.ebuild | 1 + virtual/hyperscan/hyperscan-5.4.11.ebuild | 14 ++++++++++++++ virtual/hyperscan/hyperscan-5.4.2.ebuild | 14 ++++++++++++++ virtual/hyperscan/metadata.xml | 13 +++++++++++++ 5 files changed, 43 insertions(+) create mode 100644 virtual/hyperscan/hyperscan-5.4.11.ebuild create mode 100644 virtual/hyperscan/hyperscan-5.4.2.ebuild create mode 100644 virtual/hyperscan/metadata.xml diff --git a/dev-libs/hyperscan/hyperscan-5.4.2.ebuild b/dev-libs/hyperscan/hyperscan-5.4.2.ebuild index 7c6fac198c9475..7d1ef81aae9aaa 100644 --- a/dev-libs/hyperscan/hyperscan-5.4.2.ebuild +++ b/dev-libs/hyperscan/hyperscan-5.4.2.ebuild @@ -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" diff --git a/dev-libs/vectorscan/vectorscan-5.4.11.ebuild b/dev-libs/vectorscan/vectorscan-5.4.11.ebuild index 67a3a58ec5fcac..6c380b73eea50d 100644 --- a/dev-libs/vectorscan/vectorscan-5.4.11.ebuild +++ b/dev-libs/vectorscan/vectorscan-5.4.11.ebuild @@ -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" diff --git a/virtual/hyperscan/hyperscan-5.4.11.ebuild b/virtual/hyperscan/hyperscan-5.4.11.ebuild new file mode 100644 index 00000000000000..fe40b48c2e9432 --- /dev/null +++ b/virtual/hyperscan/hyperscan-5.4.11.ebuild @@ -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" diff --git a/virtual/hyperscan/hyperscan-5.4.2.ebuild b/virtual/hyperscan/hyperscan-5.4.2.ebuild new file mode 100644 index 00000000000000..1bb49da0640205 --- /dev/null +++ b/virtual/hyperscan/hyperscan-5.4.2.ebuild @@ -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" diff --git a/virtual/hyperscan/metadata.xml b/virtual/hyperscan/metadata.xml new file mode 100644 index 00000000000000..e8c39e4d9e0b9a --- /dev/null +++ b/virtual/hyperscan/metadata.xml @@ -0,0 +1,13 @@ + + + + + arkamar@atlas.cz + Petr Vaněk + + + proxy-maint@gentoo.org + Proxy Maintainers + + +