summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlawomir Lis <slis@gentoo.org>2015-11-30 07:13:41 +0100
committerSlawomir Lis <slis@gentoo.org>2015-11-30 07:13:41 +0100
commit1cccc7fc24794b31f27225822e9017bdf39187e5 (patch)
tree4a2923d5d9cf076e0b038abff55e74640d86b663 /net-analyzer/suricata/files
parentdev-libs/libpcre: Stable for HPPA (bug #553300). (diff)
downloadgentoo-1cccc7fc24794b31f27225822e9017bdf39187e5.tar.gz
gentoo-1cccc7fc24794b31f27225822e9017bdf39187e5.tar.bz2
gentoo-1cccc7fc24794b31f27225822e9017bdf39187e5.zip
Added suricata ebuild (#437564)
Package-Manager: portage-2.2.26
Diffstat (limited to 'net-analyzer/suricata/files')
-rw-r--r--net-analyzer/suricata/files/fortify_source-numeric.patch11
-rw-r--r--net-analyzer/suricata/files/json.patch10
-rw-r--r--net-analyzer/suricata/files/magic-location.patch13
3 files changed, 34 insertions, 0 deletions
diff --git a/net-analyzer/suricata/files/fortify_source-numeric.patch b/net-analyzer/suricata/files/fortify_source-numeric.patch
new file mode 100644
index 000000000000..0a7f4827ea05
--- /dev/null
+++ b/net-analyzer/suricata/files/fortify_source-numeric.patch
@@ -0,0 +1,11 @@
+--- a/src/suricata.c 2015-10-02 00:21:55.634213646 +0200
++++ b/src/suricata.c 2015-10-02 00:22:39.143940007 +0200
+@@ -774,7 +774,7 @@
+ printf("compiled with -fstack-protector-all\n");
+ #endif
+ #ifdef _FORTIFY_SOURCE
+- printf("compiled with _FORTIFY_SOURCE=%d\n", _FORTIFY_SOURCE);
++ printf("compiled with _FORTIFY_SOURCE\n");
+ #endif
+ #ifdef CLS
+ printf("L1 cache line size (CLS)=%d\n", CLS);
diff --git a/net-analyzer/suricata/files/json.patch b/net-analyzer/suricata/files/json.patch
new file mode 100644
index 000000000000..a542f351640d
--- /dev/null
+++ b/net-analyzer/suricata/files/json.patch
@@ -0,0 +1,10 @@
+--- src/output-json.h.orig 2015-11-21 21:56:24.996289587 +0100
++++ src/output-json.h 2015-11-21 21:57:11.419622642 +0100
+@@ -28,6 +28,7 @@
+
+ #ifdef HAVE_LIBJANSSON
+
++#include <jansson.h>
+ #include "suricata-common.h"
+ #include "util-buffer.h"
+ #include "util-logopenfile.h"
diff --git a/net-analyzer/suricata/files/magic-location.patch b/net-analyzer/suricata/files/magic-location.patch
new file mode 100644
index 000000000000..02681f934b06
--- /dev/null
+++ b/net-analyzer/suricata/files/magic-location.patch
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index 8b41eb0..3cdf0e7 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -182,7 +182,7 @@
+ fi
+ echo -n "installation for $host OS... "
+
+- e_magic_file="/usr/share/file/magic"
++ e_magic_file="/usr/share/misc/magic.mgc"
+ case "$host" in
+ *-*-*freebsd*)
+ LUA_PC_NAME="lua-5.1"