mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 17:04:32 +04:00
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 <therealgraysky@proton.me>
This commit is contained in:
@@ -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)?
|
||||
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user