Browse Source

Bump openresty to 1.7.10.1

Tor Hveem 10 years ago
parent
commit
18e8dd75cf

+ 2 - 2
frameworks/Lua/lapis/setup.sh

@@ -4,7 +4,7 @@ sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' config.lua
 sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' config.moon
 sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' nginx.conf
 
-export LAPIS_OPENRESTY=${IROOT}/openresty-1.7.7.1
+export LAPIS_OPENRESTY=${IROOT}/openresty-1.7.10.1
 export PATH=${LAPIS_OPENRESTY}/nginx/sbin:$PATH
 
-lapis server production &
+lapis server production &

+ 2 - 2
frameworks/Lua/openresty/setup.sh

@@ -1,7 +1,7 @@
 #!/bin/bash
-export OPENRESTY_HOME=${IROOT}/openresty-1.7.7.1
+export OPENRESTY_HOME=${IROOT}/openresty-1.7.10.1
 
 sed -i 's|CWD|'"${TROOT}"'|g' nginx.conf
 sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' app.lua
 
-${OPENRESTY_HOME}/nginx/sbin/nginx -c $TROOT/nginx.conf -g "worker_processes '"${MAX_THREADS}"';" &
+${OPENRESTY_HOME}/nginx/sbin/nginx -c $TROOT/nginx.conf -g "worker_processes '"${MAX_THREADS}"';" &

+ 6 - 6
toolset/setup/linux/webservers/openresty.sh

@@ -1,16 +1,16 @@
 #!/bin/bash
 
-RETCODE=$(fw_exists ${IROOT}/openresty-1.7.7.1.installed)
+RETCODE=$(fw_exists ${IROOT}/openresty-1.7.10.1.installed)
 [ ! "$RETCODE" == 0 ] || { return 0; }
 
 fw_depends nginx lua
 
-fw_get http://openresty.org/download/ngx_openresty-1.7.7.1.tar.gz
-fw_untar ngx_openresty-1.7.7.1.tar.gz
+fw_get http://openresty.org/download/ngx_openresty-1.7.10.1.tar.gz
+fw_untar ngx_openresty-1.7.10.1.tar.gz
 
-cd ngx_openresty-1.7.7.1
-./configure --with-luajit-xcflags=-DLUAJIT_NUMMODE=2 --with-http_postgres_module --prefix=${IROOT}/openresty-1.7.7.1 -j4
+cd ngx_openresty-1.7.10.1
+./configure --with-luajit-xcflags=-DLUAJIT_NUMMODE=2 --with-http_postgres_module --prefix=${IROOT}/openresty-1.7.10.1 -j4
 make -j4
 make install
 
-touch ${IROOT}/openresty-1.7.7.1.installed
+touch ${IROOT}/openresty-1.7.10.1.installed