@@ -21,15 +21,15 @@ set -o pipefail
21
21
22
22
export DEBIAN_FRONTEND=noninteractive
23
23
24
- export OPENRESTY_VERSION=1.15.8.2
24
+ export OPENRESTY_VERSION=7508c1852265bd04fdb2dfd64989d4c490440f1a
25
25
export NGINX_DIGEST_AUTH=cd8641886c873cf543255aeda20d23e4cd603d05
26
26
export NGINX_SUBSTITUTIONS=bc58cb11844bc42735bbaef7085ea86ace46d05b
27
27
export NGINX_OPENTRACING_VERSION=0.9.0
28
28
export OPENTRACING_CPP_VERSION=1.5.1
29
29
export ZIPKIN_CPP_VERSION=0.5.2
30
- export JAEGER_VERSION=cdfaf5bb25ff5f8ec179fd548e6c7c2ade9a6a09
31
- export MSGPACK_VERSION=3.1.1
32
- export DATADOG_CPP_VERSION=1.0 .1
30
+ export JAEGER_VERSION=0.5.0
31
+ export MSGPACK_VERSION=3.2.0
32
+ export DATADOG_CPP_VERSION=1.1 .1
33
33
export MODSECURITY_VERSION=d7101e13685efd7e7c9f808871b202656a969f4b
34
34
export MODSECURITY_LIB_VERSION=3.0.3
35
35
export OWASP_MODSECURITY_CRS_VERSION=3.1.0
@@ -93,6 +93,7 @@ clean-install \
93
93
unzip \
94
94
nano \
95
95
ssdeep \
96
+ dos2unix mercurial \
96
97
|| exit 1
97
98
98
99
# https://www.mail-archive.com/[email protected] /msg1667178.html
@@ -124,8 +125,8 @@ mkdir --verbose -p "$BUILD_PATH"
124
125
cd " $BUILD_PATH "
125
126
126
127
# download, verify and extract the source files
127
- get_src bf92af41d3ad22880047a8b283fc213d59c7c1b83f8dae82e50d14b64d73ac38 \
128
- " https://github.com/openresty/openresty/releases/download/v ${OPENRESTY_VERSION} /openresty- ${OPENRESTY_VERSION} .tar.gz"
128
+ get_src 221cfecadd0ed2902738757e7d8fb0bc41882840f07ea87112740b44f173722f \
129
+ " https://github.com/openresty/openresty/archive/ ${OPENRESTY_VERSION} .tar.gz"
129
130
130
131
get_src fe683831f832aae4737de1e1026a4454017c2d5f98cb88b08c5411dc380062f8 \
131
132
" https://github.com/atomx/nginx-http-auth-digest/archive/$NGINX_DIGEST_AUTH .tar.gz"
@@ -145,13 +146,13 @@ get_src 30affaf0f3a84193f7127cc0135da91773ce45d902414082273dae78914f73df \
145
146
get_src 5c8d25e68fb852f61489b669aebb7bd8ca8c88ebb5e5f969212fcceff3ee2d0b \
146
147
" https://github.com/SpiderLabs/ModSecurity-nginx/archive/$MODSECURITY_VERSION .tar.gz"
147
148
148
- get_src 3183450d897baa9309347c8617edc0c97c5b29ffc32bd2d12f498edf2dcbeffa \
149
- " https://github.com/jaegertracing/jaeger-client-cpp/archive/$JAEGER_VERSION .tar.gz"
149
+ get_src c72609a1df7e61771ab9fac4b6d31a187d023cfe765ed488adec714c3cee7cde \
150
+ " https://github.com/jaegertracing/jaeger-client-cpp/archive/v $JAEGER_VERSION .tar.gz"
150
151
151
- get_src bda49f996a73d2c6080ff0523e7b535917cd28c8a79c3a5da54fc29332d61d1e \
152
+ get_src ff865a36bad5c72b8e7ebc4b7cf5f27a820fce4faff9c571c1791e3728355a39 \
152
153
" https://github.com/msgpack/msgpack-c/archive/cpp-$MSGPACK_VERSION .tar.gz"
153
154
154
- get_src f7fb2ad541f812c36fd78f9a38e4582d87dadb563ab80bee3f7c3a2132a425c5 \
155
+ get_src 052fd37cd698e24ab73ee18fc3fa55acd1d43153c12a0e65b0fba0447de1117e \
155
156
" https://github.com/DataDog/dd-opentracing-cpp/archive/v$DATADOG_CPP_VERSION .tar.gz"
156
157
157
158
get_src 6faab57557bd9cc9fc38208f6bc304c1c13cf048640779f98812cf1f9567e202 \
@@ -441,6 +442,10 @@ WITH_MODULES="--add-module=$BUILD_PATH/nginx-http-auth-digest-$NGINX_DIGEST_AUTH
441
442
--add-module=$BUILD_PATH /nginx_ajp_module-${NGINX_AJP_VERSION} \
442
443
--add-module=$BUILD_PATH /ngx_brotli"
443
444
445
+ make
446
+
447
+ cd openresty-1.17.4.1rc0
448
+
444
449
./configure \
445
450
${WITH_FLAGS} \
446
451
--without-mail_pop3_module \
@@ -473,7 +478,7 @@ cd /usr/local/openresty
473
478
474
479
# build and install lua-resty-waf with dependencies
475
480
export LUA_LIB_DIR=/usr/local/openresty/lualib
476
- export LUA_INCLUDE_DIR=/tmp/build/openresty-$OPENRESTY_VERSION /build/luajit-root/usr/local/openresty/luajit/include/luajit-2.1
481
+ export LUA_INCLUDE_DIR=/tmp/build/openresty-$OPENRESTY_VERSION /openresty-1.17.4.1rc0/ build/luajit-root/usr/local/openresty/luajit/include/luajit-2.1
477
482
478
483
ln -s $LUA_INCLUDE_DIR /usr/include/lua5.1
479
484
@@ -489,10 +494,6 @@ cd "$BUILD_PATH/lua-resty-balancer-$LUA_RESTY_BALANCER_VERSION"
489
494
make
490
495
make install
491
496
492
- if [[ ${ARCH} != " armv7l" ]]; then
493
- /install_lua_resty_waf.sh
494
- fi
495
-
496
497
# build Lua bridge tracer
497
498
cd " $BUILD_PATH /lua-bridge-tracer-$LUA_BRIDGE_TRACER_VERSION "
498
499
mkdir .build
0 commit comments