mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-11 19:55:52 +02:00
suricata: Update to version 7.0.2
- Update from version 6.0.15 to 7.0.2 - Update of rootfile - suricata 7.0.2 requires libhtp >= 0.5.45 it also requires libelf.so.1 for execution. Previous suricata versions only required libelf for building. libelf or elfutils are not mentioned anywhere in the changelog - Without elfutils available during starting then suricata fails to start due to libelf.so.1 not being available. - Tested out suricata7 with elfutils on my vm testbed and it successfully started. - The suricata-5.0.8 patch has been removed as it got applied to configure.ac but this is not available in suricata-7.0.2. It looks like that patch was never actually used in suricata as all the builds I checked used the configure file from the source tarball and the configure was never created by running autoconf on the configure.ac - Changelog is too large to include here. Details can be found in the ChangeLog file in the source tarball Fixes: Bug#13516 Tested-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
bb25f15cf9
commit
e8972095c6
@@ -1,7 +1,6 @@
|
||||
etc/suricata
|
||||
etc/suricata/suricata.yaml
|
||||
usr/bin/suricata
|
||||
#usr/include/suricata-plugin.h
|
||||
usr/sbin/convert-ids-backend-files
|
||||
#usr/share/doc/suricata
|
||||
#usr/share/doc/suricata/AUTHORS
|
||||
@@ -27,6 +26,7 @@ usr/share/suricata
|
||||
#usr/share/suricata/rules/dnp3-events.rules
|
||||
#usr/share/suricata/rules/dns-events.rules
|
||||
#usr/share/suricata/rules/files.rules
|
||||
#usr/share/suricata/rules/ftp-events.rules
|
||||
#usr/share/suricata/rules/http-events.rules
|
||||
#usr/share/suricata/rules/http2-events.rules
|
||||
#usr/share/suricata/rules/ipsec-events.rules
|
||||
@@ -35,6 +35,7 @@ usr/share/suricata
|
||||
#usr/share/suricata/rules/mqtt-events.rules
|
||||
#usr/share/suricata/rules/nfs-events.rules
|
||||
#usr/share/suricata/rules/ntp-events.rules
|
||||
#usr/share/suricata/rules/quic-events.rules
|
||||
#usr/share/suricata/rules/rfb-events.rules
|
||||
#usr/share/suricata/rules/smb-events.rules
|
||||
#usr/share/suricata/rules/smtp-events.rules
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2007-2023 IPFire Team <info@ipfire.org> #
|
||||
# Copyright (C) 2007-2024 IPFire Team <info@ipfire.org> #
|
||||
# #
|
||||
# This program is free software: you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 6.0.16
|
||||
VER = 7.0.2
|
||||
|
||||
THISAPP = suricata-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_BLAKE2 = 831d18072b52bfdd8379ac43a99b1660e575b04a805034371c1341f7fb4875f1b110d2f35bbf7eb7834f2b6b44cafdb939b32dbc50b43c4657277fa24c4dd3f4
|
||||
$(DL_FILE)_BLAKE2 = 5af50f6f0d91ba233b1cc373c073e72824f10d6df20c27041d5fd11d25c7be6b1941beccf0fb18612d6277eaa7bb1d47d8fedbd34f580ba87d352c45d4d51725
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -71,7 +71,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/suricata/suricata-disable-sid-2210059.patch
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/suricata/suricata-5.0.8-fix-level1-cache-line-size-detection.patch
|
||||
cd $(DIR_APP) && LDFLAGS="$(LDFLAGS)" ./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index d56d3a550..81abf8f00 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -2424,7 +2424,7 @@ fi
|
||||
AC_PATH_PROG(HAVE_GETCONF_CMD, getconf, "no")
|
||||
if test "$HAVE_GETCONF_CMD" != "no"; then
|
||||
CLS=$(getconf LEVEL1_DCACHE_LINESIZE)
|
||||
- if [test "$CLS" != "" && test "$CLS" != "0"]; then
|
||||
+ if [test "$CLS" != "" && test "$CLS" != "0" && test "$CLS" != "undefined"]; then
|
||||
AC_DEFINE_UNQUOTED([CLS],[${CLS}],[L1 cache line size])
|
||||
else
|
||||
AC_DEFINE([CLS],[64],[L1 cache line size])
|
||||
Reference in New Issue
Block a user