summaryrefslogtreecommitdiffstats
path: root/recipes-ids/suricata/files
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2019-09-04 23:03:55 +0000
committerArmin Kuster <akuster808@gmail.com>2019-09-07 08:34:22 -0700
commitd75dc96fa3ddc1fb7f72a97e220813e592d8f5ad (patch)
tree96dc214ba1dc27be896ec318c7d37d6990ebb0e5 /recipes-ids/suricata/files
parente8e3044fcebc044b35792f48127c4977c1423e5b (diff)
downloadmeta-security-d75dc96fa3ddc1fb7f72a97e220813e592d8f5ad.tar.gz
suricata: update to 4.1.4
Backport patch to fix build against newer kernels. Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'recipes-ids/suricata/files')
-rw-r--r--recipes-ids/suricata/files/0001-af-packet-fix-build-on-recent-Linux-kernels.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-ids/suricata/files/0001-af-packet-fix-build-on-recent-Linux-kernels.patch b/recipes-ids/suricata/files/0001-af-packet-fix-build-on-recent-Linux-kernels.patch
new file mode 100644
index 0000000..74e9a56
--- /dev/null
+++ b/recipes-ids/suricata/files/0001-af-packet-fix-build-on-recent-Linux-kernels.patch
@@ -0,0 +1,26 @@
1From b37554e0bc3cf383e6547c5c6a69c6f6849c09e3 Mon Sep 17 00:00:00 2001
2From: Eric Leblond <eric@regit.org>
3Date: Wed, 17 Jul 2019 12:35:12 +0200
4Subject: [PATCH] af-packet: fix build on recent Linux kernels
5
6Upstream-Status: Backport
7Signed-off-by: Armin kuster <akuster808@gmail.com>
8---
9 src/source-af-packet.c | 4 ++++
10 1 file changed, 4 insertions(+)
11
12Index: suricata-4.1.4/src/source-af-packet.c
13===================================================================
14--- suricata-4.1.4.orig/src/source-af-packet.c
15+++ suricata-4.1.4/src/source-af-packet.c
16@@ -64,6 +64,10 @@
17 #include <sys/ioctl.h>
18 #endif
19
20+#if HAVE_LINUX_SOCKIOS_H
21+#include <linux/sockios.h>
22+#endif
23+
24 #ifdef HAVE_PACKET_EBPF
25 #include "util-ebpf.h"
26 #include <bpf/libbpf.h>