mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
feature: bundled and enabled ngx_stream_lua_module by default. this module is still experimental.
This commit is contained in:
@ -485,6 +485,13 @@ mv openresty-lua-upstream-nginx-module-* ngx_lua_upstream-$ver || exit 1
|
||||
|
||||
#################################
|
||||
|
||||
ver=0.0.2
|
||||
$root/util/get-tarball "https://github.com/openresty/stream-lua-nginx-module/tarball/v$ver" -O stream-lua-nginx-module-$ver.tar.gz || exit 1
|
||||
tar -xzf stream-lua-nginx-module-$ver.tar.gz || exit 1
|
||||
mv openresty-stream-lua-nginx-module-* ngx_stream_lua-$ver || exit 1
|
||||
|
||||
#################################
|
||||
|
||||
ver=0.05
|
||||
$root/util/get-tarball "https://github.com/openresty/array-var-nginx-module/tarball/v$ver" -O array-var-nginx-module-$ver.tar.gz || exit 1
|
||||
tar -xzf array-var-nginx-module-$ver.tar.gz || exit 1
|
||||
@ -834,9 +841,11 @@ mkdir patches/ || exit 1
|
||||
cp $root/patches/openssl-1.0.2h-sess_set_get_cb_yield.patch patches/ || exit 1
|
||||
|
||||
restydoc_index=$bundle_dir/$resty_cli/bin/restydoc-index
|
||||
#restydoc_index=echo
|
||||
#restydoc_index=$HOME/git/resty-cli/bin/restydoc-index
|
||||
|
||||
nginx_xml2pod=$bundle_dir/$resty_cli/bin/nginx-xml2pod
|
||||
#nginx_xml2pod=echo
|
||||
#nginx_xml2pod=$HOME/git/resty-cli/bin/nginx-xml2pod
|
||||
|
||||
# generate restydoc index from nginx docs
|
||||
@ -852,6 +861,7 @@ else
|
||||
hg clone http://hg.nginx.org/nginx.org || exit 1
|
||||
fi
|
||||
cd nginx.org/ || exit 1
|
||||
hg purge --config extensions.purge= || exit 1
|
||||
find xml/en/docs -name 'ngx_http_api_module.xml' -delete
|
||||
$nginx_xml2pod xml/en/docs || exit 1
|
||||
cd $curdir || exit 1
|
||||
@ -868,6 +878,7 @@ $restydoc_index --outdir bundle $root/doc/LuaJIT-2.1 || exit 1
|
||||
# generate restydoc index from openresty docs
|
||||
|
||||
for indir in bundle/*/; do
|
||||
#echo "processing directory $indir ..."
|
||||
if [ "$indir" == "bundle/pod/" ]; then
|
||||
continue
|
||||
fi
|
||||
|
Reference in New Issue
Block a user