Merge tag 'refs/tags/v2.7.7'

This commit is contained in:
Felipe Zimmerle 2013-12-18 14:56:22 -08:00
commit 2f5af6af73
4 changed files with 57 additions and 3 deletions

View File

@ -1,3 +1,11 @@
17 Dec 2013 - 2.7.7
-------------------
Fixes:
- Changed release version to 2.7.7
- Got the configure scripts inside the release tarball
16 Dec 2013 - 2.7.6
-------------------
Improvements:

View File

@ -38,7 +38,7 @@
#define MODSEC_VERSION_MAJOR "2"
#define MODSEC_VERSION_MINOR "7"
#define MODSEC_VERSION_MAINT "5"
#define MODSEC_VERSION_MAINT "7"
#define MODSEC_VERSION_TYPE ""
#define MODSEC_VERSION_RELEASE ""

View File

@ -209,5 +209,5 @@ SecCookieFormat 0
# to properly map encoded data to your language. Properly setting
# these directives helps to reduce false positives and negatives.
#
#SecUnicodeCodePage 20127
#SecUnicodeMapFile unicode.mapping
SecUnicodeMapFile unicode.mapping 20127

46
nginx/modsecurity/config Normal file
View File

@ -0,0 +1,46 @@
#!/bin/sh
# This file should be auto-generated whenever modsecurity is configured as standalone.
CFLAGS="$CFLAGS \
-I/usr/include/apr-1.0 \
-I/usr/include/apr-1.0 -I/usr/include \
-I/usr/include/apache2 \
-I/usr/include/libxml2 \
-DWITH_LUA -I/usr/include/lua5.1 \
-DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1500 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1500 -DREQUEST_EARLY \
"
CORE_LIBS="$CORE_LIBS \
-L/usr/lib -lapr-1 \
-L/usr/lib -laprutil-1 \
-I/usr/include/apache2 \
-L/usr/lib/x86_64-linux-gnu -lcurl \
-lxml2 \
-llua5.1 \
-lpcre \
-L/usr/lib -lcap"
ngx_addon_name=ngx_http_modsecurity
CORE_MODULES="$CORE_MODULES ngx_pool_context_module"
HTTP_AUX_FILTER_MODULES="ngx_http_modsecurity $HTTP_AUX_FILTER_MODULES"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS \
$ngx_addon_dir/ngx_http_modsecurity.c \
$ngx_addon_dir/apr_bucket_nginx.c \
$ngx_addon_dir/ngx_pool_context.c"
NGX_ADDON_DEPS="$NGX_ADDON_DEPS \
$ngx_addon_dir/apr_bucket_nginx.h \
$ngx_addon_dir/ngx_pool_context.h"
CORE_LIBS="$ngx_addon_dir/../../standalone/.libs/standalone.a $CORE_LIBS"
CORE_INCS="$CORE_INCS \
$ngx_addon_dir \
$ngx_addon_dir/../../standalone \
$ngx_addon_dir/../../apache2"