diff --git a/apache2-mod_security2.changes b/apache2-mod_security2.changes index 3d73982..765b6d3 100644 --- a/apache2-mod_security2.changes +++ b/apache2-mod_security2.changes @@ -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 @@ -13,7 +19,7 @@ Wed Jul 29 06:42:19 UTC 2015 - pgajdos@suse.com Thu Jul 16 07:22:02 UTC 2015 - pgajdos@suse.com - Requries: %{apache_suse_maintenance_mmn} - This will pull this module to the update (in released distribution) + This will pull this module to the update (in released distribution) when apache maintainer thinks it is good (due api/abi changes). ------------------------------------------------------------------- diff --git a/modsecurity-fixes.patch b/modsecurity-fixes.patch index 80216d7..0251c27 100644 --- a/modsecurity-fixes.patch +++ b/modsecurity-fixes.patch @@ -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 #include +#include ++#include #endif #ifdef HAVE_SYS_UTSNAME_H #include +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 @@