forked from pool/apache2-mod_security2
Accepting request 505247 from home:dimstar:Factory
Fix build in TW OBS-URL: https://build.opensuse.org/request/show/505247 OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=73
This commit is contained in:
parent
70673e6619
commit
57568dbaa7
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 21 10:16:28 UTC 2017 - dimstar@opensuse.org
|
||||
|
||||
- Update modsecurity-fixes.patch: additionally include netdb.h in
|
||||
order to have gethostbyname defined.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 23 15:14:11 UTC 2017 - kstreitova@suse.com
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
Index: modsecurity-2.9.0/apache2/mod_security2.c
|
||||
===================================================================
|
||||
--- modsecurity-2.9.0.orig/apache2/mod_security2.c
|
||||
+++ modsecurity-2.9.0/apache2/mod_security2.c
|
||||
@@ -457,17 +457,13 @@ static void store_tx_context(modsec_rec
|
||||
@ -19,6 +21,8 @@
|
||||
|
||||
msr->modsecurity = modsecurity;
|
||||
msr->r = r;
|
||||
Index: modsecurity-2.9.0/apache2/msc_reqbody.c
|
||||
===================================================================
|
||||
--- modsecurity-2.9.0.orig/apache2/msc_reqbody.c
|
||||
+++ modsecurity-2.9.0/apache2/msc_reqbody.c
|
||||
@@ -88,7 +88,7 @@ apr_status_t modsecurity_request_body_st
|
||||
@ -30,16 +34,21 @@
|
||||
|
||||
/* Initialise request body processors, if any. */
|
||||
|
||||
Index: modsecurity-2.9.0/apache2/msc_status_engine.c
|
||||
===================================================================
|
||||
--- modsecurity-2.9.0.orig/apache2/msc_status_engine.c
|
||||
+++ modsecurity-2.9.0/apache2/msc_status_engine.c
|
||||
@@ -37,6 +37,7 @@
|
||||
@@ -37,6 +37,8 @@
|
||||
#if (defined(__linux__) || defined(__gnu_linux__))
|
||||
#include <linux/if.h>
|
||||
#include <linux/sockios.h>
|
||||
+#include <sys/ioctl.h>
|
||||
+#include <netdb.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_UTSNAME_H
|
||||
#include <sys/utsname.h>
|
||||
Index: modsecurity-2.9.0/apache2/msc_remote_rules.c
|
||||
===================================================================
|
||||
--- modsecurity-2.9.0.orig/apache2/msc_remote_rules.c
|
||||
+++ modsecurity-2.9.0/apache2/msc_remote_rules.c
|
||||
@@ -792,6 +792,7 @@ next:
|
||||
@ -50,6 +59,8 @@
|
||||
}
|
||||
|
||||
|
||||
Index: modsecurity-2.9.0/apache2/msc_util.c
|
||||
===================================================================
|
||||
--- modsecurity-2.9.0.orig/apache2/msc_util.c
|
||||
+++ modsecurity-2.9.0/apache2/msc_util.c
|
||||
@@ -18,6 +18,7 @@
|
||||
|
Loading…
Reference in New Issue
Block a user