Compare commits

...

13 Commits

7 changed files with 189 additions and 134 deletions

View File

@ -0,0 +1,13 @@
--- src/http/modules/ngx_http_proxy_module.c
+++ src/http/modules/ngx_http_proxy_module.c
@@ -1865,6 +1865,10 @@ data:
}
+ if (ctx->size < 0 || ctx->length < 0) {
+ goto invalid;
+ }
+
return rc;
done:

View File

@ -0,0 +1,13 @@
--- src/http/modules/ngx_http_proxy_module.c
+++ src/http/modules/ngx_http_proxy_module.c
@@ -1865,6 +1865,10 @@ data:
}
+ if (ctx->size < 0 || ctx->length < 0) {
+ goto invalid;
+ }
+
return rc;
done:

View File

@ -1,13 +1,11 @@
diff --git a/README b/README
index 2f68e14..4f2c4a7 100644
index 2f68e14..262822a 100644
--- a/README
+++ b/README
@@ -1,3 +1,40 @@
@@ -1,3 +1,38 @@
+This is an Nginx fork that adds dtrace USDT probes.
-Documentation is available at http://nginx.org
+This is still under development and not usable yet.
+
+Installation:
+
+ ./configure --with-dtrace-probes \
@ -454,10 +452,10 @@ index efbc244..8d81aab 100644
diff --git a/src/dtrace/nginx.stp b/src/dtrace/nginx.stp
new file mode 100644
index 0000000..4c228bd
index 0000000..e824daf
--- /dev/null
+++ b/src/dtrace/nginx.stp
@@ -0,0 +1,288 @@
@@ -0,0 +1,299 @@
+/* tapset for nginx */
+
+
@ -592,6 +590,12 @@ index 0000000..4c228bd
+}
+
+
+function ngx_buf_in_file(b)
+{
+ return @cast(b, "ngx_buf_t", "NGX_SBIN_PATH")->in_file
+}
+
+
+function ngx_buf_last_buf(b)
+{
+ return @cast(b, "ngx_buf_t", "/home/agentzh/git/lua-nginx-module/work/nginx/sbin/nginx")->last_buf
@ -656,6 +660,11 @@ index 0000000..4c228bd
+ out .= "\"\""
+ }
+
+ if (ngx_buf_in_file(buf)) {
+ out .= sprintf("<in_file:%d-%d>", ngx_buf_file_pos(buf),
+ ngx_buf_file_last(buf))
+ }
+
+ if (ngx_buf_last_buf(buf)) {
+ out .= "<last_buf>"
+ }

View File

@ -0,0 +1,12 @@
--- nginx-1.2.8/src/http/modules/ngx_http_referer_module.c 2013-05-06 03:27:10.000000000 -0700
+++ nginx-1.2.8-patched/src/http/modules/ngx_http_referer_module.c 2013-05-21 16:04:49.340286168 -0700
@@ -396,8 +396,7 @@ ngx_http_valid_referers(ngx_conf_t *cf,
ngx_str_set(&name, "invalid_referer");
- var = ngx_http_add_variable(cf, &name,
- NGX_HTTP_VAR_CHANGEABLE|NGX_HTTP_VAR_NOHASH);
+ var = ngx_http_add_variable(cf, &name, NGX_HTTP_VAR_CHANGEABLE);
if (var == NULL) {
return NGX_CONF_ERROR;
}

View File

@ -224,8 +224,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -290,8 +290,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -351,7 +351,7 @@ platform: linux (linux)
platform: linux (linux)
cp -rp bundle/ build
cd build
cd LuaJIT-2.0.1
cd LuaJIT-2.0.2
gmake TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit
gmake install TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit DESTDIR=$OPENRESTY_BUILD_DIR/luajit-root
export LUAJIT_LIB='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/lib'
@ -366,8 +366,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -387,14 +387,14 @@ Type the following commands to build and install:
.PHONY: all install clean
all:
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.1 && $(MAKE) TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.2 && $(MAKE) TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit
cd $OPENRESTY_BUILD_DIR/lua-cjson-1.0.3 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-redis-parser-0.10 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-rds-parser-0.05 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/nginx-1.2.8 && $(MAKE)
install: all
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.1 && $(MAKE) install TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.2 && $(MAKE) install TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
cd $OPENRESTY_BUILD_DIR/lua-cjson-1.0.3 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-redis-parser-0.10 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-rds-parser-0.05 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
@ -417,7 +417,7 @@ clean:
platform: linux (linux)
cp -rp bundle/ build
cd build
cd LuaJIT-2.0.1
cd LuaJIT-2.0.2
gmake TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit
gmake install TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit DESTDIR=$OPENRESTY_BUILD_DIR/luajit-root
export LUAJIT_LIB='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/lib'
@ -433,8 +433,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -454,14 +454,14 @@ Type the following commands to build and install:
.PHONY: all install clean
all:
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.1 && $(MAKE) TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.2 && $(MAKE) TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit
cd $OPENRESTY_BUILD_DIR/lua-cjson-1.0.3 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-redis-parser-0.10 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-rds-parser-0.05 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/nginx-1.2.8 && $(MAKE)
install: all
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.1 && $(MAKE) install TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.2 && $(MAKE) install TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
cd $OPENRESTY_BUILD_DIR/lua-cjson-1.0.3 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-redis-parser-0.10 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-rds-parser-0.05 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
@ -484,7 +484,7 @@ clean:
platform: linux (linux)
cp -rp bundle/ build
cd build
cd LuaJIT-2.0.1
cd LuaJIT-2.0.2
gmake TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit
gmake install TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit DESTDIR=$OPENRESTY_BUILD_DIR/luajit-root
export LUAJIT_LIB='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/lib'
@ -499,8 +499,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -520,14 +520,14 @@ Type the following commands to build and install:
.PHONY: all install clean
all:
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.1 && $(MAKE) TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.2 && $(MAKE) TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit
cd $OPENRESTY_BUILD_DIR/lua-cjson-1.0.3 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-redis-parser-0.10 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-rds-parser-0.05 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/nginx-1.2.8 && $(MAKE)
install: all
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.1 && $(MAKE) install TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.2 && $(MAKE) install TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
cd $OPENRESTY_BUILD_DIR/lua-cjson-1.0.3 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-redis-parser-0.10 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-rds-parser-0.05 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
@ -550,7 +550,7 @@ clean:
platform: linux (linux)
cp -rp bundle/ build
cd build
cd LuaJIT-2.0.1
cd LuaJIT-2.0.2
gmake TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit
gmake install TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit DESTDIR=$OPENRESTY_BUILD_DIR/luajit-root
export LUAJIT_LIB='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/lib'
@ -565,7 +565,7 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -585,14 +585,14 @@ Type the following commands to build and install:
.PHONY: all install clean
all:
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.1 && $(MAKE) TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.2 && $(MAKE) TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit
cd $OPENRESTY_BUILD_DIR/lua-cjson-1.0.3 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-redis-parser-0.10 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-rds-parser-0.05 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/nginx-1.2.8 && $(MAKE)
install: all
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.1 && $(MAKE) install TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.2 && $(MAKE) install TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
cd $OPENRESTY_BUILD_DIR/lua-cjson-1.0.3 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-redis-parser-0.10 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-rds-parser-0.05 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
@ -624,7 +624,7 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -674,8 +674,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -932,8 +932,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -998,8 +998,8 @@ cd nginx-1.2.8
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../drizzle-nginx-module-0.1.5 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -1064,8 +1064,8 @@ cd nginx-1.2.8
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../drizzle-nginx-module-0.1.5 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -1143,8 +1143,8 @@ cd nginx-1.2.8
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../drizzle-nginx-module-0.1.5 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -1209,8 +1209,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -1259,7 +1259,7 @@ clean:
platform: linux (linux)
cp -rp bundle/ build
cd build
cd LuaJIT-2.0.1
cd LuaJIT-2.0.2
gmake TARGET_STRIP=@: CCDEBUG=-g Q= XCFLAGS='-DLUA_USE_APICHECK -DLUA_USE_ASSERT' PREFIX=/usr/local/openresty/luajit
gmake install TARGET_STRIP=@: CCDEBUG=-g Q= XCFLAGS='-DLUA_USE_APICHECK -DLUA_USE_ASSERT' PREFIX=/usr/local/openresty/luajit DESTDIR=$OPENRESTY_BUILD_DIR/luajit-root
export LUAJIT_LIB='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/lib'
@ -1275,8 +1275,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -1296,14 +1296,14 @@ Type the following commands to build and install:
.PHONY: all install clean
all:
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.1 && $(MAKE) TARGET_STRIP=@: CCDEBUG=-g Q= XCFLAGS='-DLUA_USE_APICHECK -DLUA_USE_ASSERT' PREFIX=/usr/local/openresty/luajit
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.2 && $(MAKE) TARGET_STRIP=@: CCDEBUG=-g Q= XCFLAGS='-DLUA_USE_APICHECK -DLUA_USE_ASSERT' PREFIX=/usr/local/openresty/luajit
cd $OPENRESTY_BUILD_DIR/lua-cjson-1.0.3 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CFLAGS="-g -O -Wall -pedantic" CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-redis-parser-0.10 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CFLAGS="-g -O -Wall" CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-rds-parser-0.05 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CFLAGS="-g -O -Wall" CC=gcc
cd $OPENRESTY_BUILD_DIR/nginx-1.2.8 && $(MAKE)
install: all
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.1 && $(MAKE) install TARGET_STRIP=@: CCDEBUG=-g Q= XCFLAGS='-DLUA_USE_APICHECK -DLUA_USE_ASSERT' PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.2 && $(MAKE) install TARGET_STRIP=@: CCDEBUG=-g Q= XCFLAGS='-DLUA_USE_APICHECK -DLUA_USE_ASSERT' PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
cd $OPENRESTY_BUILD_DIR/lua-cjson-1.0.3 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CFLAGS="-g -O -Wall -pedantic" CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-redis-parser-0.10 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CFLAGS="-g -O -Wall" CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-rds-parser-0.05 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CFLAGS="-g -O -Wall" CC=gcc
@ -1326,7 +1326,7 @@ clean:
platform: linux (linux)
cp -rp bundle/ build
cd build
cd LuaJIT-2.0.1
cd LuaJIT-2.0.2
gmake TARGET_STRIP=@: CCDEBUG=-g Q= XCFLAGS='-DLUA_USE_APICHECK -DLUA_USE_ASSERT' CC=cl PREFIX=/usr/local/openresty/luajit
gmake install TARGET_STRIP=@: CCDEBUG=-g Q= XCFLAGS='-DLUA_USE_APICHECK -DLUA_USE_ASSERT' CC=cl PREFIX=/usr/local/openresty/luajit DESTDIR=$OPENRESTY_BUILD_DIR/luajit-root
export LUAJIT_LIB='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/lib'
@ -1342,8 +1342,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -1363,14 +1363,14 @@ Type the following commands to build and install:
.PHONY: all install clean
all:
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.1 && $(MAKE) TARGET_STRIP=@: CCDEBUG=-g Q= XCFLAGS='-DLUA_USE_APICHECK -DLUA_USE_ASSERT' CC=cl PREFIX=/usr/local/openresty/luajit
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.2 && $(MAKE) TARGET_STRIP=@: CCDEBUG=-g Q= XCFLAGS='-DLUA_USE_APICHECK -DLUA_USE_ASSERT' CC=cl PREFIX=/usr/local/openresty/luajit
cd $OPENRESTY_BUILD_DIR/lua-cjson-1.0.3 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CFLAGS="-g -O -Wall -pedantic" CC=cl
cd $OPENRESTY_BUILD_DIR/lua-redis-parser-0.10 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CFLAGS="-g -O -Wall" CC=cl
cd $OPENRESTY_BUILD_DIR/lua-rds-parser-0.05 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CFLAGS="-g -O -Wall" CC=cl
cd $OPENRESTY_BUILD_DIR/nginx-1.2.8 && $(MAKE)
install: all
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.1 && $(MAKE) install TARGET_STRIP=@: CCDEBUG=-g Q= XCFLAGS='-DLUA_USE_APICHECK -DLUA_USE_ASSERT' CC=cl PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.2 && $(MAKE) install TARGET_STRIP=@: CCDEBUG=-g Q= XCFLAGS='-DLUA_USE_APICHECK -DLUA_USE_ASSERT' CC=cl PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
cd $OPENRESTY_BUILD_DIR/lua-cjson-1.0.3 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CFLAGS="-g -O -Wall -pedantic" CC=cl
cd $OPENRESTY_BUILD_DIR/lua-redis-parser-0.10 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CFLAGS="-g -O -Wall" CC=cl
cd $OPENRESTY_BUILD_DIR/lua-rds-parser-0.05 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CFLAGS="-g -O -Wall" CC=cl
@ -1422,8 +1422,8 @@ cd nginx-1.2.8
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../ngx_postgres-1.0rc2 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -1489,8 +1489,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -1577,8 +1577,8 @@ cd nginx-1.2.8
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../ngx_postgres-1.0rc2 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -1654,8 +1654,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -1704,7 +1704,7 @@ clean:
platform: solaris (solaris)
cp -rp bundle/ build
cd build
cd LuaJIT-2.0.1
cd LuaJIT-2.0.2
gmake TARGET_STRIP=@: CCDEBUG=-g INSTALL_X='$OPENRESTY_BUILD_DIR/install -m 0755' INSTALL_F='$OPENRESTY_BUILD_DIR/install -m 0644' PREFIX=/usr/local/openresty/luajit
gmake install TARGET_STRIP=@: CCDEBUG=-g INSTALL_X='$OPENRESTY_BUILD_DIR/install -m 0755' INSTALL_F='$OPENRESTY_BUILD_DIR/install -m 0644' PREFIX=/usr/local/openresty/luajit DESTDIR=$OPENRESTY_BUILD_DIR/luajit-root
export LUAJIT_LIB='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/lib'
@ -1719,8 +1719,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -1740,14 +1740,14 @@ Type the following commands to build and install:
.PHONY: all install clean
all:
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.1 && $(MAKE) TARGET_STRIP=@: CCDEBUG=-g INSTALL_X='$OPENRESTY_BUILD_DIR/install -m 0755' INSTALL_F='$OPENRESTY_BUILD_DIR/install -m 0644' PREFIX=/usr/local/openresty/luajit
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.2 && $(MAKE) TARGET_STRIP=@: CCDEBUG=-g INSTALL_X='$OPENRESTY_BUILD_DIR/install -m 0755' INSTALL_F='$OPENRESTY_BUILD_DIR/install -m 0644' PREFIX=/usr/local/openresty/luajit
cd $OPENRESTY_BUILD_DIR/lua-cjson-1.0.3 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib INSTALL=$OPENRESTY_BUILD_DIR/install CFLAGS="-g -O3 -Wall -pedantic -DMISSING_ISINF" CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-redis-parser-0.10 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib INSTALL=$OPENRESTY_BUILD_DIR/install CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-rds-parser-0.05 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib INSTALL=$OPENRESTY_BUILD_DIR/install CC=gcc
cd $OPENRESTY_BUILD_DIR/nginx-1.2.8 && $(MAKE)
install: all
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.1 && $(MAKE) install TARGET_STRIP=@: CCDEBUG=-g INSTALL_X='$OPENRESTY_BUILD_DIR/install -m 0755' INSTALL_F='$OPENRESTY_BUILD_DIR/install -m 0644' PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.2 && $(MAKE) install TARGET_STRIP=@: CCDEBUG=-g INSTALL_X='$OPENRESTY_BUILD_DIR/install -m 0755' INSTALL_F='$OPENRESTY_BUILD_DIR/install -m 0644' PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
cd $OPENRESTY_BUILD_DIR/lua-cjson-1.0.3 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib INSTALL=$OPENRESTY_BUILD_DIR/install CFLAGS="-g -O3 -Wall -pedantic -DMISSING_ISINF" CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-redis-parser-0.10 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib INSTALL=$OPENRESTY_BUILD_DIR/install CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-rds-parser-0.05 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib INSTALL=$OPENRESTY_BUILD_DIR/install CC=gcc
@ -1770,7 +1770,7 @@ clean:
platform: freebsd (freebsd)
cp -rp bundle/ build
cd build
cd LuaJIT-2.0.1
cd LuaJIT-2.0.2
gmake TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit
gmake install TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit DESTDIR=$OPENRESTY_BUILD_DIR/luajit-root
export LUAJIT_LIB='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/lib'
@ -1785,8 +1785,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -1806,14 +1806,14 @@ Type the following commands to build and install:
.PHONY: all install clean
all:
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.1 && $(MAKE) TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.2 && $(MAKE) TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit
cd $OPENRESTY_BUILD_DIR/lua-cjson-1.0.3 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-redis-parser-0.10 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-rds-parser-0.05 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/nginx-1.2.8 && $(MAKE)
install: all
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.1 && $(MAKE) install TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.2 && $(MAKE) install TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
cd $OPENRESTY_BUILD_DIR/lua-cjson-1.0.3 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-redis-parser-0.10 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-rds-parser-0.05 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
@ -1851,8 +1851,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -1901,7 +1901,7 @@ clean:
platform: macosx (darwin)
cp -rp bundle/ build
cd build
cd LuaJIT-2.0.1
cd LuaJIT-2.0.2
gmake TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit
gmake install TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit DESTDIR=$OPENRESTY_BUILD_DIR/luajit-root
export LUAJIT_LIB='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/lib'
@ -1916,8 +1916,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -1937,14 +1937,14 @@ Type the following commands to build and install:
.PHONY: all install clean
all:
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.1 && $(MAKE) TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.2 && $(MAKE) TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit
cd $OPENRESTY_BUILD_DIR/lua-cjson-1.0.3 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib LDFLAGS='-bundle -undefined dynamic_lookup' CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-redis-parser-0.10 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib LDFLAGS='-bundle -undefined dynamic_lookup' CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-rds-parser-0.05 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib LDFLAGS='-bundle -undefined dynamic_lookup' CC=gcc
cd $OPENRESTY_BUILD_DIR/nginx-1.2.8 && $(MAKE)
install: all
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.1 && $(MAKE) install TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.2 && $(MAKE) install TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
cd $OPENRESTY_BUILD_DIR/lua-cjson-1.0.3 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib LDFLAGS='-bundle -undefined dynamic_lookup' CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-redis-parser-0.10 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib LDFLAGS='-bundle -undefined dynamic_lookup' CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-rds-parser-0.05 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib LDFLAGS='-bundle -undefined dynamic_lookup' CC=gcc
@ -1983,8 +1983,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -2048,8 +2048,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -2111,8 +2111,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -2172,8 +2172,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -2231,8 +2231,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -2302,8 +2302,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -2366,8 +2366,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -2416,7 +2416,7 @@ clean:
platform: linux (linux)
cp -rp bundle/ build
cd build
cd LuaJIT-2.0.1
cd LuaJIT-2.0.2
gmake -j5 TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit
gmake install TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit DESTDIR=$OPENRESTY_BUILD_DIR/luajit-root
export LUAJIT_LIB='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/lib'
@ -2431,8 +2431,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -2452,14 +2452,14 @@ Type the following commands to build and install:
.PHONY: all install clean
all:
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.1 && $(MAKE) TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.2 && $(MAKE) TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit
cd $OPENRESTY_BUILD_DIR/lua-cjson-1.0.3 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-redis-parser-0.10 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-rds-parser-0.05 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/nginx-1.2.8 && $(MAKE)
install: all
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.1 && $(MAKE) install TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.2 && $(MAKE) install TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
cd $OPENRESTY_BUILD_DIR/lua-cjson-1.0.3 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-redis-parser-0.10 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-rds-parser-0.05 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
@ -2497,8 +2497,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -2562,8 +2562,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -2627,8 +2627,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -2691,8 +2691,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -2740,7 +2740,7 @@ clean:
platform: linux (linux)
cp -rp bundle/ build
cd build
cd LuaJIT-2.0.1
cd LuaJIT-2.0.2
gmake TARGET_STRIP=@: CCDEBUG=-g XCFLAGS='-DLUAJIT_USE_VALGRIND' PREFIX=/usr/local/openresty/luajit
gmake install TARGET_STRIP=@: CCDEBUG=-g XCFLAGS='-DLUAJIT_USE_VALGRIND' PREFIX=/usr/local/openresty/luajit DESTDIR=$OPENRESTY_BUILD_DIR/luajit-root
export LUAJIT_LIB='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/lib'
@ -2755,8 +2755,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -2776,14 +2776,14 @@ Type the following commands to build and install:
.PHONY: all install clean
all:
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.1 && $(MAKE) TARGET_STRIP=@: CCDEBUG=-g XCFLAGS='-DLUAJIT_USE_VALGRIND' PREFIX=/usr/local/openresty/luajit
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.2 && $(MAKE) TARGET_STRIP=@: CCDEBUG=-g XCFLAGS='-DLUAJIT_USE_VALGRIND' PREFIX=/usr/local/openresty/luajit
cd $OPENRESTY_BUILD_DIR/lua-cjson-1.0.3 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-redis-parser-0.10 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-rds-parser-0.05 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/nginx-1.2.8 && $(MAKE)
install: all
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.1 && $(MAKE) install TARGET_STRIP=@: CCDEBUG=-g XCFLAGS='-DLUAJIT_USE_VALGRIND' PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.2 && $(MAKE) install TARGET_STRIP=@: CCDEBUG=-g XCFLAGS='-DLUAJIT_USE_VALGRIND' PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
cd $OPENRESTY_BUILD_DIR/lua-cjson-1.0.3 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-redis-parser-0.10 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-rds-parser-0.05 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CC=gcc
@ -2806,7 +2806,7 @@ clean:
platform: linux (linux)
cp -rp bundle/ build
cd build
cd LuaJIT-2.0.1
cd LuaJIT-2.0.2
gmake TARGET_STRIP=@: CCDEBUG=-g Q= XCFLAGS='-DLUAJIT_USE_VALGRIND -DLUA_USE_APICHECK -DLUA_USE_ASSERT' PREFIX=/usr/local/openresty/luajit
gmake install TARGET_STRIP=@: CCDEBUG=-g Q= XCFLAGS='-DLUAJIT_USE_VALGRIND -DLUA_USE_APICHECK -DLUA_USE_ASSERT' PREFIX=/usr/local/openresty/luajit DESTDIR=$OPENRESTY_BUILD_DIR/luajit-root
export LUAJIT_LIB='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/lib'
@ -2822,8 +2822,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -2843,14 +2843,14 @@ Type the following commands to build and install:
.PHONY: all install clean
all:
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.1 && $(MAKE) TARGET_STRIP=@: CCDEBUG=-g Q= XCFLAGS='-DLUAJIT_USE_VALGRIND -DLUA_USE_APICHECK -DLUA_USE_ASSERT' PREFIX=/usr/local/openresty/luajit
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.2 && $(MAKE) TARGET_STRIP=@: CCDEBUG=-g Q= XCFLAGS='-DLUAJIT_USE_VALGRIND -DLUA_USE_APICHECK -DLUA_USE_ASSERT' PREFIX=/usr/local/openresty/luajit
cd $OPENRESTY_BUILD_DIR/lua-cjson-1.0.3 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CFLAGS="-g -O -Wall -pedantic" CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-redis-parser-0.10 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CFLAGS="-g -O -Wall" CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-rds-parser-0.05 && $(MAKE) DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CFLAGS="-g -O -Wall" CC=gcc
cd $OPENRESTY_BUILD_DIR/nginx-1.2.8 && $(MAKE)
install: all
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.1 && $(MAKE) install TARGET_STRIP=@: CCDEBUG=-g Q= XCFLAGS='-DLUAJIT_USE_VALGRIND -DLUA_USE_APICHECK -DLUA_USE_ASSERT' PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
cd $OPENRESTY_BUILD_DIR/LuaJIT-2.0.2 && $(MAKE) install TARGET_STRIP=@: CCDEBUG=-g Q= XCFLAGS='-DLUAJIT_USE_VALGRIND -DLUA_USE_APICHECK -DLUA_USE_ASSERT' PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
cd $OPENRESTY_BUILD_DIR/lua-cjson-1.0.3 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CFLAGS="-g -O -Wall -pedantic" CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-redis-parser-0.10 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CFLAGS="-g -O -Wall" CC=gcc
cd $OPENRESTY_BUILD_DIR/lua-rds-parser-0.05 && $(MAKE) install DESTDIR=$(DESTDIR) LUA_INCLUDE_DIR=$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0 LUA_LIB_DIR=/usr/local/openresty/lualib CFLAGS="-g -O -Wall" CC=gcc
@ -2888,8 +2888,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -2953,8 +2953,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -3018,8 +3018,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -3083,8 +3083,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \
@ -3148,8 +3148,8 @@ cd nginx-1.2.8
--add-module=../set-misc-nginx-module-0.22rc8 \
--add-module=../form-input-nginx-module-0.07 \
--add-module=../encrypted-session-nginx-module-0.03 \
--add-module=../srcache-nginx-module-0.20 \
--add-module=../ngx_lua-0.8.1 \
--add-module=../srcache-nginx-module-0.21 \
--add-module=../ngx_lua-0.8.2 \
--add-module=../headers-more-nginx-module-0.20 \
--add-module=../array-var-nginx-module-0.03rc1 \
--add-module=../memc-nginx-module-0.13rc3 \

View File

@ -146,6 +146,14 @@ if [ "$answer" = "N" ]; then
echo
fi
echo "$info_txt applying patches/nginx-$main_ver-cve-2013-2070.patch for nginx"
patch -p0 < $root/patches/nginx-$main_ver-cve-2013-2070.patch || exit 1
echo
echo "$info_txt applying patches/nginx-$main_ver-invalid_referer_hash.patch for nginx"
patch -p1 < $root/patches/nginx-$main_ver-invalid_referer_hash.patch || exit 1
echo
rm -f *.patch || exit 1
cd .. || exit 1
@ -215,7 +223,7 @@ mv chaoslawful-drizzle-nginx-module-* drizzle-nginx-module-$ver || exit 1
#################################
ver=0.8.1
ver=0.8.2
$root/util/get-tarball "http://github.com/chaoslawful/lua-nginx-module/tarball/v$ver" -O lua-nginx-module-$ver.tar.gz || exit 1
tar -xzf lua-nginx-module-$ver.tar.gz || exit 1
mv chaoslawful-lua-nginx-module-* ngx_lua-$ver || exit 1
@ -236,7 +244,7 @@ mv agentzh-memc-nginx-module-* memc-nginx-module-$ver || exit 1
#################################
ver=0.20
ver=0.21
$root/util/get-tarball "http://github.com/agentzh/srcache-nginx-module/tarball/v$ver" -O srcache-nginx-module-$ver.tar.gz || exit 1
tar -xzf srcache-nginx-module-$ver.tar.gz || exit 1
mv agentzh-srcache-nginx-module-* srcache-nginx-module-$ver || exit 1
@ -338,16 +346,16 @@ echo
#################################
ver=2.0.1
ver=2.0.2
$root/util/get-tarball "http://luajit.org/download/LuaJIT-$ver.tar.gz" -O "LuaJIT-$ver.tar.gz" || exit 1
tar -xzf LuaJIT-$ver.tar.gz || exit 1
echo "$info_txt applying luajit-$ver hotfix #1 patch for luajit $ver"
$root/util/get-tarball http://luajit.org/download/v2.0.1_hotfix1.patch -O hotfix.patch
cd LuaJIT-$ver || exit 1;
patch -p1 < ../hotfix.patch || exit 1
rm ../hotfix.patch
cd .. || exit 1
#echo "$info_txt applying luajit-$ver hotfix #1 patch for luajit $ver"
#$root/util/get-tarball http://luajit.org/download/v2.0.1_hotfix1.patch -O hotfix.patch
#cd LuaJIT-$ver || exit 1;
#patch -p1 < ../hotfix.patch || exit 1
#rm ../hotfix.patch
#cd .. || exit 1
#$root/util/get-tarball http://luajit.org/download/beta11_hotfix1.patch -O beta11_hotfix1.patch
#patch -p1 < beta11_hotfix1.patch || exit 1

View File

@ -2,7 +2,7 @@
#main_ver=1.3.11
main_ver=1.2.8
minor_ver=1
minor_ver=6
version=$main_ver.$minor_ver
echo $version