|
|
|
@ -40,6 +40,8 @@ __DATA__
|
|
|
|
|
|
|
|
|
|
--with-http_iconv_module enable ngx_http_iconv_module
|
|
|
|
|
--with-http_postgres_module enable ngx_http_postgres_module
|
|
|
|
|
|
|
|
|
|
--without-lua51 disable the bundled Lua 5.1 interpreter
|
|
|
|
|
--with-luajit enable LuaJIT 2.0
|
|
|
|
|
|
|
|
|
|
Options directly inherited from nginx
|
|
|
|
@ -798,6 +800,8 @@ clean:
|
|
|
|
|
--with-http_iconv_module enable ngx_http_iconv_module
|
|
|
|
|
--with-http_drizzle_module enable ngx_http_drizzle_module
|
|
|
|
|
--with-http_postgres_module enable ngx_http_postgres_module
|
|
|
|
|
|
|
|
|
|
--without-lua51 disable the bundled Lua 5.1 interpreter
|
|
|
|
|
--with-luajit enable LuaJIT 2.0
|
|
|
|
|
|
|
|
|
|
Options directly inherited from nginx
|
|
|
|
@ -933,7 +937,7 @@ Options directly inherited from nginx
|
|
|
|
|
cp -r bundle/ build/
|
|
|
|
|
cd build
|
|
|
|
|
cd lua-5.1.4
|
|
|
|
|
make linux
|
|
|
|
|
make solaris
|
|
|
|
|
make install INSTALL_TOP=$OPENRESTY_BUILD_DIR/lua-root/usr/local/openresty/lua
|
|
|
|
|
export LUA_LIB='$OPENRESTY_BUILD_DIR/lua-root/usr/local/openresty/lua/lib'
|
|
|
|
|
export LUA_INC='$OPENRESTY_BUILD_DIR/lua-root/usr/local/openresty/lua/include'
|
|
|
|
@ -961,7 +965,7 @@ cd ../..
|
|
|
|
|
.PHONY: all install
|
|
|
|
|
|
|
|
|
|
all:
|
|
|
|
|
cd build/lua-5.1.4 && $(MAKE) linux
|
|
|
|
|
cd build/lua-5.1.4 && $(MAKE) solaris
|
|
|
|
|
cd build/nginx-0.8.54 && $(MAKE)
|
|
|
|
|
|
|
|
|
|
install:
|
|
|
|
@ -972,7 +976,8 @@ clean:
|
|
|
|
|
rm -rf build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
=== TEST 2: --with-http_drizzle_module on solaris
|
|
|
|
|
|
|
|
|
|
=== TEST 16: --with-http_drizzle_module on solaris
|
|
|
|
|
--- cmd: ./configure --with-http_drizzle_module --dry-run --platform=solaris
|
|
|
|
|
--- out
|
|
|
|
|
cp -r bundle/ build/
|
|
|
|
@ -985,7 +990,7 @@ export LIBDRIZZLE_LIB='$OPENRESTY_BUILD_DIR/libdrizzle-root/usr/local/openresty/
|
|
|
|
|
export LIBDRIZZLE_INC='$OPENRESTY_BUILD_DIR/libdrizzle-root/usr/local/openresty/libdrizzle/include'
|
|
|
|
|
cd ..
|
|
|
|
|
cd lua-5.1.4
|
|
|
|
|
make linux
|
|
|
|
|
make solaris
|
|
|
|
|
make install INSTALL_TOP=$OPENRESTY_BUILD_DIR/lua-root/usr/local/openresty/lua
|
|
|
|
|
export LUA_LIB='$OPENRESTY_BUILD_DIR/lua-root/usr/local/openresty/lua/lib'
|
|
|
|
|
export LUA_INC='$OPENRESTY_BUILD_DIR/lua-root/usr/local/openresty/lua/include'
|
|
|
|
@ -1016,7 +1021,64 @@ cd ../..
|
|
|
|
|
|
|
|
|
|
all:
|
|
|
|
|
cd build/libdrizzle-0.8 && $(MAKE)
|
|
|
|
|
cd build/lua-5.1.4 && $(MAKE) linux
|
|
|
|
|
cd build/lua-5.1.4 && $(MAKE) solaris
|
|
|
|
|
cd build/nginx-0.8.54 && $(MAKE)
|
|
|
|
|
|
|
|
|
|
install:
|
|
|
|
|
cd build/libdrizzle-0.8 && $(MAKE) install DESTDIR=$(DESTDIR)
|
|
|
|
|
cd build/lua-5.1.4 && $(MAKE) install INSTALL_TOP=$(DESTDIR)/usr/local/openresty/lua
|
|
|
|
|
cd build/nginx-0.8.54 && $(MAKE) install DESTDIR=$(DESTDIR)
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
|
rm -rf build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
=== TEST 16: --with-http_drizzle_module on Mac
|
|
|
|
|
--- cmd: ./configure --with-http_drizzle_module --dry-run --platform=MacOS
|
|
|
|
|
--- out
|
|
|
|
|
cp -r bundle/ build/
|
|
|
|
|
cd build
|
|
|
|
|
cd libdrizzle-0.8
|
|
|
|
|
./configure --prefix=/usr/local/openresty/libdrizzle
|
|
|
|
|
make
|
|
|
|
|
make install DESTDIR=$OPENRESTY_BUILD_DIR/libdrizzle-root
|
|
|
|
|
export LIBDRIZZLE_LIB='$OPENRESTY_BUILD_DIR/libdrizzle-root/usr/local/openresty/libdrizzle/lib'
|
|
|
|
|
export LIBDRIZZLE_INC='$OPENRESTY_BUILD_DIR/libdrizzle-root/usr/local/openresty/libdrizzle/include'
|
|
|
|
|
cd ..
|
|
|
|
|
cd lua-5.1.4
|
|
|
|
|
make macosx
|
|
|
|
|
make install INSTALL_TOP=$OPENRESTY_BUILD_DIR/lua-root/usr/local/openresty/lua
|
|
|
|
|
export LUA_LIB='$OPENRESTY_BUILD_DIR/lua-root/usr/local/openresty/lua/lib'
|
|
|
|
|
export LUA_INC='$OPENRESTY_BUILD_DIR/lua-root/usr/local/openresty/lua/include'
|
|
|
|
|
cd ..
|
|
|
|
|
cd nginx-0.8.54
|
|
|
|
|
./configure --prefix=/usr/local/openresty/nginx \
|
|
|
|
|
--with-cc-opt='-O2' \
|
|
|
|
|
--add-module=../echo-nginx-module-0.36rc2 \
|
|
|
|
|
--add-module=../xss-nginx-module-0.03rc2 \
|
|
|
|
|
--add-module=../ngx_devel_kit-0.2.14 \
|
|
|
|
|
--add-module=../set-misc-nginx-module-0.21rc2 \
|
|
|
|
|
--add-module=../form-input-nginx-module-0.07rc4 \
|
|
|
|
|
--add-module=../encrypted-session-nginx-module-0.01 \
|
|
|
|
|
--add-module=../drizzle-nginx-module-0.0.15rc9 \
|
|
|
|
|
--add-module=../ngx_lua-0.1.6rc2 \
|
|
|
|
|
--add-module=../headers-more-nginx-module-0.14 \
|
|
|
|
|
--add-module=../srcache-nginx-module-0.12rc2 \
|
|
|
|
|
--add-module=../array-var-nginx-module-0.02 \
|
|
|
|
|
--add-module=../memc-nginx-module-0.12rc1 \
|
|
|
|
|
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
|
|
|
|
--add-module=../auth-request-nginx-module-0.2 \
|
|
|
|
|
--add-module=../rds-json-nginx-module-0.11rc2 \
|
|
|
|
|
--with-ld-opt='-Wl,-rpath=/usr/local/openresty/libdrizzle/lib' \
|
|
|
|
|
--with-http_drizzle_module --with-http_ssl_module
|
|
|
|
|
cd ../..
|
|
|
|
|
--- makefile
|
|
|
|
|
.PHONY: all install
|
|
|
|
|
|
|
|
|
|
all:
|
|
|
|
|
cd build/libdrizzle-0.8 && $(MAKE)
|
|
|
|
|
cd build/lua-5.1.4 && $(MAKE) macosx
|
|
|
|
|
cd build/nginx-0.8.54 && $(MAKE)
|
|
|
|
|
|
|
|
|
|
install:
|
|
|
|
|