diff options
Diffstat (limited to 'net-analyzer/suricata')
-rw-r--r-- | net-analyzer/suricata/Manifest | 7 | ||||
-rw-r--r-- | net-analyzer/suricata/files/suricata-5.0.7_configure-no-hyperscan-automagic.patch | 24 | ||||
-rw-r--r-- | net-analyzer/suricata/metadata.xml | 1 | ||||
-rw-r--r-- | net-analyzer/suricata/suricata-5.0.7-r1.ebuild (renamed from net-analyzer/suricata/suricata-5.0.7.ebuild) | 5 | ||||
-rw-r--r-- | net-analyzer/suricata/suricata-6.0.3-r1.ebuild (renamed from net-analyzer/suricata/suricata-6.0.3.ebuild) | 5 |
5 files changed, 37 insertions, 5 deletions
diff --git a/net-analyzer/suricata/Manifest b/net-analyzer/suricata/Manifest index c1d148d3f673..e32f4f63e14b 100644 --- a/net-analyzer/suricata/Manifest +++ b/net-analyzer/suricata/Manifest @@ -3,11 +3,12 @@ AUX suricata-5.0.1-init 5480 BLAKE2B 48c9484c824f7216d1c4d64394a60b5a5b2c1f5781e AUX suricata-5.0.1_configure-no-lz4-automagic.patch 601 BLAKE2B 01874b39d89a8872a35a102018e2e11208549f60790e88f988a689ba09c59fb915bbffccb6db454a8d8d4fee0ccf69b51cd5d2cde11cb6f2a1c401cb74c5c49d SHA512 d26fc7e0193ea3ddd5436964a26bbbfed847890d513c4e7181a0faceb0a688df8ca35ad68045ecd006a25da93d345a942c593f8711f81dff5f63d13e599f78b0 AUX suricata-5.0.1_default-config.patch 813 BLAKE2B 5758447f2dc6fa50bb6a388c2c83bd35927cf90b66a10e51e5058869e09c05810c037da025a9d26486e33077a06bfe8ba08698618e091bdc40a255d8322062c7 SHA512 0f6337d5bff60cd57f3a3a3edcb82abde9acc6848b158cac1b8f945fc7a228340c420d53a2c5f558d5b5e2b7645f6b104e8105b260245209ba782966d6f04a7c AUX suricata-5.0.6_configure-no-sphinx-pdflatex-automagic.patch 938 BLAKE2B 3f5434808567cd314cdc5287397c2f215eca44e775ead00db7095f88798fc86d595418bf4c340c3686f20a43f7a8705985d954ef4ec6c799d9c12036151387c6 SHA512 4b6ca7dbfa61f26f44f83cf1300d428c3322bdad00bed2e8d1820dd8f74c3bbf335a12df05243a0e2d1c35da2cf5b85155ef7b1609790bcfc74ec084daf5d631 +AUX suricata-5.0.7_configure-no-hyperscan-automagic.patch 739 BLAKE2B 38e73c88d8cee3476b96adee1304a9429d326591b2131fb2f4167e94d3b616a6390f783bfc88922322487548c54b8ddeff5bda5c5e510641965ad5e6615262bc SHA512 bff09105b0908b141857f4804a909cc2ea0d3a2def2215bc3c52e31aea35acd20738606bd6f1c6b6f12a78ac63d86bf8a20cd68aa53ce0692754608d4c38097b AUX suricata-6.0.0_default-config.patch 833 BLAKE2B a8a63f838452531feb9f1b69e9756c0385338f4a1b8f6c36b22052cc7f8a41cd07e31b882e2e89402c5eb43e599390cf6922f9dcfc869416d57aa3426516f8f9 SHA512 8edff1be84dbe29a140889040a7d9310ee8dc5ab82cf9ff64298ecfab07a75853caa7ac907cf191a62a1c2de9833311fd090eb2f82c9d3745b5f3fc01adf6efd AUX suricata.service 501 BLAKE2B 00631ada0d2993eae97a028ef950b031b91bb3af346ee3538bd7f0deb9d76bb8552761b4666a3ac80673fe31ffd95424f2ff71e35db0f5fe6667b32478fab4c4 SHA512 4e4e87735731fd0e18ab26e536e7904833a19ce8785ffdd15b22d494673c73044137908feee74800486960f9efd09d1ddc2c75a490a2e35ef06caf23c7439a0c AUX suricata.tmpfiles 24 BLAKE2B 150b74a6775137704915015871ab4455b8d0b9204a75c398ea746e9194b0c0a787904f9015b98f36a685fac0dbb0fcb43746096dd403bf882afa5dfef12af94d SHA512 1530aed4efb35f988e2f0134388ea11ffc3ba1f217845a2c5dd47f947983ed4d343126e49d66a86ca7894ff60b5134464ddbe07509dcc80c001131f09cb7e2dd DIST suricata-5.0.7.tar.gz 29211384 BLAKE2B 939e672d9df61863c7adcc4bf52f5620e3760f0d6178362828474b1a72c4e3a69bf1ab52a3220c0069ae5a545c56307553c2796166af488a72a25dddd68782a8 SHA512 dce3929c796e04778eb9437bd4c7203aa9dae56be0baa4b7d986d3eedff3bfc71aa2886ecdeed9d87ec3d88cd3060ff8ef01540d15eb857698a2c4696da5899c DIST suricata-6.0.3.tar.gz 32421197 BLAKE2B c1b339823f2caab73aeb82f96fb703834cd3ca9f0f60662cf340cbc36734aea47106d49869bd70cf3acb419e954ca37bcd22ad1b2d789597bf36f8fe7ceebe11 SHA512 186b871959988ca7cbd0d69e725aed18af915f93363c7ecc0ffa20d8ad8f50a326be08452d085772b1df84ef25258ef0dd6b35d41b0988cb1c653e60aeb103a2 -EBUILD suricata-5.0.7.ebuild 6328 BLAKE2B 663b792d20371e5333293365db2070a253285a19e72b1accb12b88cbbf68bb7a143a1cf201820c4d328688ea4781ba9ab9a5d61a83eb6d59139d6ff99421c7dc SHA512 5a45c6fb2528cb9d130b95d76795b2daa89876f71dc8016bfce6c95e7d1cbb02e3c301050726d4ff1cb2bba04b04fde97573b0460a63574069e3cb369187581b -EBUILD suricata-6.0.3.ebuild 6611 BLAKE2B 37a93bb8d749f0f22a0000424e4c34c6d2f8538bb809355b8d2b7cdeb35d43fe038a2ea0d9852d1db0f8bd165659b065973fab73bc353f8f8ab67d7844e588a5 SHA512 ac7856f2adfd43118d33849290677376c67878d35ead90ec10f8f83afa884b3cccf629dda32be81aacd0bf6f21f22d1d0cb051009d854f78902c6d1b340cae6a -MISC metadata.xml 958 BLAKE2B 944628811fffa8d4c801dfab169a83b31fbca9d5e6c52a7aaf7131b56118bd53e9360002fc5e335253f9bab7c434c2f4defe44f4f1bed00fabc9013454f24c14 SHA512 b077688adea6058d1249a025898c81289ce04f47f6fd2684d8a2aa8e4494f994d68d07393097b1181add90d8f87c62e07e6717e08e3d4a0ebf9c1109859ef551 +EBUILD suricata-5.0.7-r1.ebuild 6468 BLAKE2B 365367825f8dc37ed14b4f32fd18a597f70ecab1d416ca0f057ac64e4160fb79e671ec30e449c44f3e8d0049f453cabcf2cea28c0560576c3e200328f47b6190 SHA512 02b64dca591e53aa7d616fdd2693a2d981d85b08a4c7e0e61c06f450408df45ebc8e9f9b5d71dcd0fd04954e79bd85ad1c3497aa71f5fb5b0e4d28bc2d38ff96 +EBUILD suricata-6.0.3-r1.ebuild 6751 BLAKE2B 03efa3e98d85808eb5f02c3ae1298c2ac09ef4c2d00a612d6e44c881cc31e589d5845d00157abbf45e21ce6c932a8bb0ed8c6402f019fa91fd1cad6ea1e1e035 SHA512 f72c53d9ee8fe398e95ef84004ea6f881dfc15465cb1a81e6e7ae7655127a059729801782d0e4d8211aa6f847e28574c914c5d533be8c037afef1b673a6ac970 +MISC metadata.xml 1046 BLAKE2B e9776fbaff6738f1da370cfe7de7d0fd32346146e279cec7448a9f613520a2dcdb3ac658376cfc1af4299c84b9096225b2244d18738d6297da37802806c79876 SHA512 3e52f923727c262b3ba67f630dfa649e483d472b55d409b960f863da9c17490b0413ef87ea37b7f009671b4b30d1c012d98286abadb2259f84876c0e364de093 diff --git a/net-analyzer/suricata/files/suricata-5.0.7_configure-no-hyperscan-automagic.patch b/net-analyzer/suricata/files/suricata-5.0.7_configure-no-hyperscan-automagic.patch new file mode 100644 index 000000000000..69a857408eee --- /dev/null +++ b/net-analyzer/suricata/files/suricata-5.0.7_configure-no-hyperscan-automagic.patch @@ -0,0 +1,24 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -729,8 +729,11 @@ + fi + + # libhs +- enable_hyperscan="no" +- ++ AC_ARG_ENABLE(hyperscan, ++ AS_HELP_STRING([--enable-hyperscan], [Enable high-performance regex matching with hyperscan]), ++ [enable_hyperscan=$enableval], ++ [enable_hyperscan=no]) ++ if test "x$enable_hyperscan" != "xno"; then + # Try pkg-config first: + PKG_CHECK_MODULES([libhs], libhs,, [with_pkgconfig_libhs=no]) + if test "$with_pkgconfig_libhs" != "no"; then +@@ -765,6 +768,7 @@ + enable_hyperscan="no" + fi + fi ++ fi + AS_IF([test "x$enable_hyperscan" = "xyes"], [AC_DEFINE([BUILD_HYPERSCAN], [1], [Intel Hyperscan support enabled])]) + + # libyaml diff --git a/net-analyzer/suricata/metadata.xml b/net-analyzer/suricata/metadata.xml index 87689ee5189a..36501eaa4f50 100644 --- a/net-analyzer/suricata/metadata.xml +++ b/net-analyzer/suricata/metadata.xml @@ -12,6 +12,7 @@ <flag name="control-socket">Enable unix socket</flag> <flag name="cuda">Enable NVIDIA Cuda computations support</flag> <flag name="detection">Enable detection modules</flag> + <flag name="hyperscan">Enable high-performance regex matching with Hyperscan</flag> <flag name="lz4">Enable support for compressed pcap logging using the LZ4 algorithm</flag> <flag name="nflog">Enable libnetfilter_log support</flag> <flag name="nfqueue">Enable NFQUEUE support for inline IDP</flag> diff --git a/net-analyzer/suricata/suricata-5.0.7.ebuild b/net-analyzer/suricata/suricata-5.0.7-r1.ebuild index b2e2f7e436d8..58594b6169af 100644 --- a/net-analyzer/suricata/suricata-5.0.7.ebuild +++ b/net-analyzer/suricata/suricata-5.0.7-r1.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://www.openinfosecfoundation.org/download/${P}.tar.gz" LICENSE="GPL-2" SLOT="0/5" KEYWORDS="~amd64 ~x86" -IUSE="+af-packet bpf control-socket cuda debug +detection geoip hardened lua lz4 nflog +nfqueue redis systemd test" +IUSE="+af-packet bpf control-socket cuda debug +detection geoip hardened hyperscan lua lz4 nflog +nfqueue redis systemd test" RESTRICT="!test? ( test )" @@ -43,6 +43,7 @@ RDEPEND="${PYTHON_DEPS} bpf? ( >=dev-libs/libbpf-0.1.0 ) cuda? ( dev-util/nvidia-cuda-toolkit ) geoip? ( dev-libs/libmaxminddb ) + hyperscan? ( dev-libs/hyperscan ) lua? ( ${LUA_DEPS} ) lz4? ( app-arch/lz4 ) nflog? ( net-libs/libnetfilter_log ) @@ -56,6 +57,7 @@ PATCHES=( "${FILESDIR}/${PN}-5.0.1_configure-no-lz4-automagic.patch" "${FILESDIR}/${PN}-5.0.1_default-config.patch" "${FILESDIR}/${PN}-5.0.6_configure-no-sphinx-pdflatex-automagic.patch" + "${FILESDIR}/${PN}-5.0.7_configure-no-hyperscan-automagic.patch" ) pkg_pretend() { @@ -92,6 +94,7 @@ src_configure() { $(use_enable geoip) \ $(use_enable hardened gccprotect) \ $(use_enable hardened pie) \ + $(use_enable hyperscan) \ $(use_enable lz4) \ $(use_enable nflog) \ $(use_enable nfqueue) \ diff --git a/net-analyzer/suricata/suricata-6.0.3.ebuild b/net-analyzer/suricata/suricata-6.0.3-r1.ebuild index 7e48fc1c6d58..29b2cdff3c06 100644 --- a/net-analyzer/suricata/suricata-6.0.3.ebuild +++ b/net-analyzer/suricata/suricata-6.0.3-r1.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://www.openinfosecfoundation.org/download/${P}.tar.gz" LICENSE="GPL-2" SLOT="0/6" KEYWORDS="~amd64 ~riscv ~x86" -IUSE="+af-packet bpf control-socket cuda debug +detection geoip hardened lua lz4 nflog +nfqueue redis systemd test" +IUSE="+af-packet bpf control-socket cuda debug +detection geoip hardened hyperscan lua lz4 nflog +nfqueue redis systemd test" RESTRICT="!test? ( test )" @@ -43,6 +43,7 @@ RDEPEND="${PYTHON_DEPS} bpf? ( >=dev-libs/libbpf-0.1.0 ) cuda? ( dev-util/nvidia-cuda-toolkit ) geoip? ( dev-libs/libmaxminddb ) + hyperscan? ( dev-libs/hyperscan ) lua? ( ${LUA_DEPS} ) lz4? ( app-arch/lz4 ) nflog? ( net-libs/libnetfilter_log ) @@ -55,6 +56,7 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}/${PN}-5.0.1_configure-no-lz4-automagic.patch" "${FILESDIR}/${PN}-5.0.6_configure-no-sphinx-pdflatex-automagic.patch" + "${FILESDIR}/${PN}-5.0.7_configure-no-hyperscan-automagic.patch" "${FILESDIR}/${PN}-6.0.0_default-config.patch" ) @@ -92,6 +94,7 @@ src_configure() { $(use_enable geoip) \ $(use_enable hardened gccprotect) \ $(use_enable hardened pie) \ + $(use_enable hyperscan) \ $(use_enable lz4) \ $(use_enable nflog) \ $(use_enable nfqueue) \ |