File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
1
ngx_addon_name=ngx_http_modsecurity
2
2
CORE_MODULES="$CORE_MODULES ngx_pool_context_module"
3
- HTTP_AUX_FILTER_MODULES ="ngx_http_modsecurity $HTTP_AUX_FILTER_MODULES "
3
+ HTTP_AUX_FILTER_MODULE ="ngx_http_modsecurity $HTTP_AUX_FILTER_MODULE "
4
4
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"
5
5
NGX_ADDON_DEPS="$NGX_ADDON_DEPS $ngx_addon_dir/apr_bucket_nginx.h $ngx_addon_dir/ngx_pool_context.h"
6
- CORE_LIBS="$CORE_LIBS $ngx_addon_dir/../../standalone/.libs/standalone.a -lapr-1 -laprutil-1 -lxml2 -lm"
7
- CORE_INCS="$CORE_INCS /usr/include/apache2 /usr/include/apr-1.0 /usr/include/httpd /usr/include/apr-1 $ngx_addon_dir $ngx_addon_dir/../../standalone $ngx_addon_dir/../../apache2 /usr/include/libxml2"
8
-
6
+ CORE_LIBS="$CORE_LIBS $ngx_addon_dir/../../standalone/.libs/standalone.a -lapr-1 -laprutil-1 -lxml2 -lm "
7
+ CORE_INCS="$CORE_INCS /usr/include/apache2 /usr/include/apr-1.0 /usr/include/httpd /usr/include/apr-1 $ngx_addon_dir $ngx_addon_dir/../../standalone $ngx_addon_dir/../../apache2 /usr/include/libxml2 "
8
+ #have=REQUEST_EARLY . auto/have
Original file line number Diff line number Diff line change @@ -76,13 +76,13 @@ install-exec-hook: $(pkglib_LTLIBRARIES)
76
76
@echo " Creating Nginx config file..." ; \
77
77
rm -f ../nginx/modsecurity/config; \
78
78
echo " ngx_addon_name=ngx_http_modsecurity" >> ../nginx/modsecurity/config; \
79
- echo " # HTTP_MODULES =\"\$ $HTTP_MODULES ngx_http_modsecurity \" " >> ../nginx/modsecurity/config; \
80
- echo " HTTP_HEADERS_FILTER_MODULE =\" ngx_http_modsecurity \$ $HTTP_HEADERS_FILTER_MODULE \" " >> ../nginx/modsecurity/config; \
81
- echo " NGX_ADDON_SRCS=\"\$ $NGX_ADDON_SRCS \$ $ngx_addon_dir /ngx_http_modsecurity.c \$ $ngx_addon_dir /apr_bucket_nginx.c\" " >> ../nginx/modsecurity/config; \
82
- echo " NGX_ADDON_DEPS=\"\$ $NGX_ADDON_DEPS \" " >> ../nginx/modsecurity/config; \
79
+ echo " CORE_MODULES =\"\$ $CORE_MODULES ngx_pool_context_module \" " >> ../nginx/modsecurity/config; \
80
+ echo " HTTP_AUX_FILTER_MODULE =\" ngx_http_modsecurity \$ $HTTP_AUX_FILTER_MODULE \" " >> ../nginx/modsecurity/config; \
81
+ echo " 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 \" " >> ../nginx/modsecurity/config; \
82
+ echo " NGX_ADDON_DEPS=\"\$ $NGX_ADDON_DEPS \$ $ngx_addon_dir /apr_bucket_nginx.h \$ $ngx_addon_dir /ngx_pool_context.h \" " >> ../nginx/modsecurity/config; \
83
83
echo " CORE_LIBS=\"\$ $CORE_LIBS \$ $ngx_addon_dir /../../standalone/.libs/standalone.a -lapr-1 -laprutil-1 -lxml2 -lm @LUA_LDADD@\" " >> ../nginx/modsecurity/config; \
84
84
echo " CORE_INCS=\"\$ $CORE_INCS /usr/include/apache2 /usr/include/apr-1.0 /usr/include/httpd /usr/include/apr-1 \$ $ngx_addon_dir \$ $ngx_addon_dir /../../standalone \$ $ngx_addon_dir /../../apache2 /usr/include/libxml2 ` echo @LUA_CFLAGS@ | cut -d " I" -f3` \" " >> ../nginx/modsecurity/config; \
85
- echo " have=REQUEST_EARLY . auto/have" >> ../nginx/modsecurity/config; \
85
+ echo " # have=REQUEST_EARLY . auto/have" >> ../nginx/modsecurity/config; \
86
86
echo " Removing unused static libraries..." ; \
87
87
for m in $( pkglib_LTLIBRARIES) ; do \
88
88
base=` echo $$ m | sed ' s/\..*//' ` ; \
You can’t perform that action at this time.
0 commit comments