main/snort: upgrade to 3.3.5.0

This commit is contained in:
steve 2024-09-10 23:14:08 +00:00 committed by Natanael Copa
parent d6929400f5
commit fefcb46a9c
3 changed files with 6 additions and 19 deletions

View file

@ -5,7 +5,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=snort
# pair with snort-extra
pkgver=3.1.82.0
pkgver=3.3.5.0
pkgrel=0
pkgdesc="Open source network intrusion prevention and detection system"
url="https://www.snort.org/"
@ -38,8 +38,7 @@ install="$pkgname.pre-install"
pkgusers="snort"
pkggroups="snort"
subpackages="$pkgname-doc $pkgname-dev $pkgname-openrc"
source="https://www.snort.org/downloads/snortplus/snort3-$pkgver.tar.gz
gcc13.patch
source="snort3-$pkgver.tar.gz::https://github.com/snort3/snort3/archive/refs/tags/$pkgver.tar.gz
no-libunwind.patch
logrotate
snort.initd
@ -77,9 +76,8 @@ package() {
}
sha512sums="
b7ed9e67946d857a9545e3a4616de11668d4f9f64d1d3b58d9c7218b105f8b7d6b2ce195239a1506d5a86fe80faa097860e35216d686bd3e5e495dd659d0324e snort3-3.1.82.0.tar.gz
741c1d30a19f18ec33c9f10a696e510d5edc35969e12121920c2a05e6de18d3d74bda42ef7e9d01f60124c08b1e8f3f47e06b6baaa52f4fb7f6834a0d1ad77e6 gcc13.patch
9fdf8bdf17fa84326fc1f04ee3bf0d14ce4df60c62f7ed3e6303644ae674316f6d6e4c5318791a01921a9bb64dd0de2304688eb98243e0f313ed3f2d93e1d33e no-libunwind.patch
44d358f1f03a9495445af1379de8782d592c96e2c95c2488bcec3fb6d8a42a6d3c816b688db03e7528a37c10282c2a67b6e411641cf697ed7f30c0acbf56958e snort3-3.3.5.0.tar.gz
5cfe27042549e1794b0709836423ab95810ec3060e9286650e9588dfc1224f12c110160dd0043595e756e22ead62c70ce40e0fc623c14c823b6c8b784df3207d no-libunwind.patch
2d845baa9cd02237a6e60dc280ede896bf1facf7906d7d08e8dfa99d596a9fbe3de4227e6bedbd95375598b6940b9d874ccdd12d3f2c1ede282bac3a8e26b47e logrotate
769840c6e8a7e353a2b2866b7b161195ce780fb3d5dda747325a95fcaf964c9aad29c5aba8c8ea48aa26ef810d81e82c1321104dd3e7374319e8176635e9b7d8 snort.initd
8a1139cdd07a03a96c7f5f75164bf95cae4dbc24f637d8b4008b0cf41e4a7f97148621fe4a1c867e956e16dbe226eaf2284a50b73547d1afaacbd32ca9befae5 snort.confd

View file

@ -1,12 +0,0 @@
diff --git a/src/network_inspectors/packet_capture/packet_capture.h b/src/network_inspectors/packet_capture/packet_capture.h
index 3417f91..78aab9c 100644
--- a/src/network_inspectors/packet_capture/packet_capture.h
+++ b/src/network_inspectors/packet_capture/packet_capture.h
@@ -20,6 +20,7 @@
#ifndef PACKET_CAPTURE_H
#define PACKET_CAPTURE_H
+#include <cstdint>
#include <string>
void packet_capture_enable(const std::string&, const int16_t g = -1);

View file

@ -4,12 +4,13 @@ diff --git a/cmake/include_libraries.cmake b/cmake/include_libraries.cmake
index 1a0b197..090af47 100644
--- a/cmake/include_libraries.cmake
+++ b/cmake/include_libraries.cmake
@@ -26,5 +26,4 @@ if (ENABLE_SAFEC)
@@ -26,6 +26,5 @@ if (ENABLE_SAFEC)
endif (ENABLE_SAFEC)
find_package(ICONV QUIET)
find_package(UUID QUIET)
-find_package(Libunwind)
find_package(NUMA QUIET)
find_package(ML QUIET)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 4cf2456..5153f35 100644
--- a/src/CMakeLists.txt