mirror of
https://github.com/openresty/openresty
synced 2024-11-09 18:35:51 +01:00
now we also bundle the standard lua 5.1 with the official hotfix patch.
This commit is contained in:
parent
2cca7c7843
commit
0c1f102dff
1
.gitignore
vendored
1
.gitignore
vendored
@ -65,3 +65,4 @@ util/blog-rows.sql
|
||||
util/comments.sql
|
||||
util/posts.sql
|
||||
ngx_openresty-*
|
||||
work/
|
||||
|
@ -145,12 +145,26 @@ mv ngx_http_auth_request_module-* auth-request-nginx-module-$ver || exit 1
|
||||
#################################
|
||||
|
||||
ver=0.8
|
||||
$root/util/get-tarball "https://github.com/FRiCKLE/ngx_postgres/tarball/0.8" -O ngx_postgres-$ver.tar.gz || exit 1
|
||||
$root/util/get-tarball "https://github.com/FRiCKLE/ngx_postgres/tarball/$ver" -O ngx_postgres-$ver.tar.gz || exit 1
|
||||
tar -xzf ngx_postgres-$ver.tar.gz || exit 1
|
||||
mv FRiCKLE-ngx_postgres-* ngx_postgres-$ver || exit 1
|
||||
|
||||
#################################
|
||||
|
||||
ver=5.1.4
|
||||
$root/util/get-tarball "http://www.lua.org/ftp/lua-$ver.tar.gz" -O "lua-$ver.tar.gz" || exit 1
|
||||
tar -xzf lua-$ver.tar.gz || exit 1
|
||||
|
||||
$root/util/get-tarball "http://www.lua.org/ftp/patch-lua-$ver-2" -O "patch-lua-$ver-2" || exit 1
|
||||
|
||||
cd lua-$ver/src || exit 1
|
||||
patch -p0 < ../../patch-lua-$ver-2 || exit 1
|
||||
cd ../.. || exit 1
|
||||
|
||||
rm "patch-lua-$ver-2" || exit 1
|
||||
|
||||
#################################
|
||||
|
||||
rm *.tar.gz
|
||||
|
||||
cd ..
|
||||
|
Loading…
Reference in New Issue
Block a user