change: we no longer bundle the standard Lua 5.1 interpreter.

This commit is contained in:
Yichun Zhang (agentzh)
2017-04-08 17:33:18 -07:00
parent da979a620a
commit 1fbcf153e3
3 changed files with 396 additions and 821 deletions

View File

@ -524,9 +524,9 @@ mv openresty-opm-* opm-$ver || exit 1
#################################
ver=5.1.5
$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
#ver=5.1.5
#$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://agentzh.org/misc/nginx/patch-lua-$ver-4" -O "patch-lua-$ver-4" || exit 1
@ -536,17 +536,17 @@ tar -xzf lua-$ver.tar.gz || exit 1
#rm "patch-lua-$ver-4" || exit 1
echo "$info_txt applying the makefile_install_fix patch for lua $ver"
patch -p0 < $root/patches/lua-$ver-makefile_install_fix.patch || exit 1
echo
#echo "$info_txt applying the makefile_install_fix patch for lua $ver"
#patch -p0 < $root/patches/lua-$ver-makefile_install_fix.patch || exit 1
#echo
echo "$info_txt applying the disable_lua50_compat patch for lua $ver"
patch -p0 < $root/patches/lua-$ver-disable_lua50_compat.patch || exit 1
echo
#echo "$info_txt applying the disable_lua50_compat patch for lua $ver"
#patch -p0 < $root/patches/lua-$ver-disable_lua50_compat.patch || exit 1
#echo
echo "$info_txt applying the enable_debug_info patch for lua $ver"
patch -p0 < $root/patches/lua-$ver-enable_debug_info.patch || exit 1
echo
#echo "$info_txt applying the enable_debug_info patch for lua $ver"
#patch -p0 < $root/patches/lua-$ver-enable_debug_info.patch || exit 1
#echo
#################################