From: John Audia Date: Thu, 4 Sep 2025 20:38:22 +0000 (-0400) Subject: snort3: add patch to unambiguously show vectorscan X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=304a18d4b5523913884465e4902bdea47fe9d74e;p=feed%2Fpackages.git snort3: add patch to unambiguously show vectorscan When snort is run with the --version option, it advertises components' versions in the output. Add a patch to modify the output to clearly show vectorscan is in use. Signed-off-by: John Audia --- diff --git a/net/snort3/Makefile b/net/snort3/Makefile index 292b79de8c..e145c2264c 100644 --- a/net/snort3/Makefile +++ b/net/snort3/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=snort3 PKG_VERSION:=3.9.5.0 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/snort3/snort3/tar.gz/$(PKG_VERSION)? diff --git a/net/snort3/patches/200-cosmetic-advertise-vectorscan-not-hyperscan.patch b/net/snort3/patches/200-cosmetic-advertise-vectorscan-not-hyperscan.patch new file mode 100644 index 0000000000..11803a4b53 --- /dev/null +++ b/net/snort3/patches/200-cosmetic-advertise-vectorscan-not-hyperscan.patch @@ -0,0 +1,11 @@ +--- a/src/main/process.cc ++++ b/src/main/process.cc +@@ -704,7 +704,7 @@ int DisplayBanner() + LogMessage(" Copyright (C) 1998-2013 Sourcefire, Inc., et al.\n"); + LogMessage(" Using DAQ version %s\n", daq_version_string()); + #ifdef HAVE_HYPERSCAN +- LogMessage(" Using Hyperscan version %s\n", hs_version()); ++ LogMessage(" Using Vectorscan version %s\n", hs_version()); + #endif + #ifdef HAVE_JEMALLOC + const char* jv;