Skip to content

Commit e6902f0

Browse files
committed
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 <[email protected]>
1 parent 22d418a commit e6902f0

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

net/snort3/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
include $(TOPDIR)/rules.mk
77

88
PKG_NAME:=snort3
9-
PKG_VERSION:=3.9.6.0
10-
PKG_RELEASE:=2
9+
PKG_VERSION:=3.9.5.0
10+
PKG_RELEASE:=3
1111

1212
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
1313
PKG_SOURCE_URL:=https://codeload.github.com/snort3/snort3/tar.gz/$(PKG_VERSION)?
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- a/src/main/process.cc
2+
+++ b/src/main/process.cc
3+
@@ -704,7 +704,7 @@ int DisplayBanner()
4+
LogMessage(" Copyright (C) 1998-2013 Sourcefire, Inc., et al.\n");
5+
LogMessage(" Using DAQ version %s\n", daq_version_string());
6+
#ifdef HAVE_HYPERSCAN
7+
- LogMessage(" Using Hyperscan version %s\n", hs_version());
8+
+ LogMessage(" Using Vectorscan version %s\n", hs_version());
9+
#endif
10+
#ifdef HAVE_JEMALLOC
11+
const char* jv;

0 commit comments

Comments
 (0)