mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
Compare commits
15 Commits
Author | SHA1 | Date | |
---|---|---|---|
8ebcad308a | |||
4e2b3dcbbf | |||
ca408fc450 | |||
092b2f6b83 | |||
c56e7e8165 | |||
b40119877a | |||
5505eac72b | |||
22d6c02398 | |||
4bd257d4dc | |||
299399231a | |||
60109db59a | |||
5714d20c1e | |||
a69dd6463b | |||
c7cffaaf77 | |||
ab2cdb5a2f |
27
patches/nginx-0.8.54-request_body_in_single_buf.patch
Normal file
27
patches/nginx-0.8.54-request_body_in_single_buf.patch
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
# HG changeset patch
|
||||||
|
# User Maxim Dounin <mdounin@mdounin.ru>
|
||||||
|
# Date 1309799136 -14400
|
||||||
|
# Node ID 99e276bba8596bc4df9e638482ee413f4c6bf700
|
||||||
|
# Parent e7b2f945d55ae44a2295facf9e3336dc4633e5b5
|
||||||
|
Core: fix body with request_body_in_single_buf.
|
||||||
|
|
||||||
|
If there were preread data and request body was big enough first part
|
||||||
|
of request body was duplicated.
|
||||||
|
|
||||||
|
See report here:
|
||||||
|
http://nginx.org/pipermail/nginx/2011-July/027756.html
|
||||||
|
|
||||||
|
diff --git a/src/http/ngx_http_request_body.c b/src/http/ngx_http_request_body.c
|
||||||
|
--- a/src/http/ngx_http_request_body.c
|
||||||
|
+++ b/src/http/ngx_http_request_body.c
|
||||||
|
@@ -372,7 +372,9 @@ ngx_http_do_read_client_request_body(ngx
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
- if (r->request_body_in_file_only && rb->bufs->next) {
|
||||||
|
+ if (rb->bufs->next
|
||||||
|
+ && (r->request_body_in_file_only || r->request_body_in_single_buf))
|
||||||
|
+ {
|
||||||
|
rb->bufs = rb->bufs->next;
|
||||||
|
}
|
||||||
|
|
17
patches/nginx-0.8.54-request_body_preread_fix.patch
Normal file
17
patches/nginx-0.8.54-request_body_preread_fix.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# HG changeset patch
|
||||||
|
# User Maxim Dounin <mdounin@mdounin.ru>
|
||||||
|
# Date 1309776931 -14400
|
||||||
|
# Node ID e7b2f945d55ae44a2295facf9e3336dc4633e5b5
|
||||||
|
# Parent 610e909bb9e29766188aa86fae3abe0bd3432940
|
||||||
|
Core: fix body if it's preread and there are extra data.
|
||||||
|
|
||||||
|
--- nginx-0.8.54/src/http/ngx_http_request_body.c 2011-07-05 12:11:21.619264633 +0800
|
||||||
|
+++ nginx-0.8.54-patched/src/http/ngx_http_request_body.c 2011-07-05 12:14:30.694321554 +0800
|
||||||
|
@@ -141,6 +141,7 @@
|
||||||
|
|
||||||
|
/* the whole request body was pre-read */
|
||||||
|
|
||||||
|
+ b->last = b->pos + r->headers_in.content_length_n;
|
||||||
|
r->header_in->pos += (size_t) r->headers_in.content_length_n;
|
||||||
|
r->request_length += r->headers_in.content_length_n;
|
||||||
|
|
40
patches/nginx-0.8.54-subrequest_loop.patch
Normal file
40
patches/nginx-0.8.54-subrequest_loop.patch
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
# HG changeset patch
|
||||||
|
# User Maxim Dounin <mdounin@mdounin.ru>
|
||||||
|
# Date 1309187571 -14400
|
||||||
|
# Node ID 283a416b2235d5383c12a975edc8866f007fb628
|
||||||
|
# Parent f5fc40783ddcbf4db33859ee2a9bce54cf32c350
|
||||||
|
Core: protect from subrequest loops.
|
||||||
|
|
||||||
|
Without protection subrequest loop results in r->count overflow and
|
||||||
|
SIGSEGV. Protection was broken in 0.7.25.
|
||||||
|
|
||||||
|
Note that this also limits number of parallel subrequests. This
|
||||||
|
wasn't exactly the case before 0.7.25 as local subrequests were
|
||||||
|
completed directly.
|
||||||
|
|
||||||
|
See here for details:
|
||||||
|
|
||||||
|
http://nginx.org/pipermail/nginx-ru/2010-February/032184.html
|
||||||
|
|
||||||
|
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
|
||||||
|
--- a/src/http/ngx_http_core_module.c
|
||||||
|
+++ b/src/http/ngx_http_core_module.c
|
||||||
|
@@ -2287,7 +2287,6 @@ ngx_http_subrequest(ngx_http_request_t *
|
||||||
|
sr->start_sec = tp->sec;
|
||||||
|
sr->start_msec = tp->msec;
|
||||||
|
|
||||||
|
- r->main->subrequests++;
|
||||||
|
r->main->count++;
|
||||||
|
|
||||||
|
*psr = sr;
|
||||||
|
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
|
||||||
|
--- a/src/http/ngx_http_request.c
|
||||||
|
+++ b/src/http/ngx_http_request.c
|
||||||
|
@@ -1981,6 +1981,7 @@ ngx_http_finalize_request(ngx_http_reque
|
||||||
|
if (r == c->data) {
|
||||||
|
|
||||||
|
r->main->count--;
|
||||||
|
+ r->main->subrequests++;
|
||||||
|
|
||||||
|
if (!r->logged) {
|
||||||
|
|
37
patches/nginx-1.0.4-gcc46_fixes.patch
Normal file
37
patches/nginx-1.0.4-gcc46_fixes.patch
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
# HG changeset patch
|
||||||
|
# User Maxim Dounin <mdounin@mdounin.ru>
|
||||||
|
# Date 1309424678 -14400
|
||||||
|
# Node ID 60a67d95638f9187418a3a26c1fcb9f06be7a4fc
|
||||||
|
# Parent 1c167244d2fdb064c159012c50a7ae3fd1ed254a
|
||||||
|
Fix another gcc46 unused-but-set warning.
|
||||||
|
|
||||||
|
diff --git a/src/event/ngx_event_openssl.c b/src/event/ngx_event_openssl.c
|
||||||
|
--- a/src/event/ngx_event_openssl.c
|
||||||
|
+++ b/src/event/ngx_event_openssl.c
|
||||||
|
@@ -1687,20 +1687,24 @@ ngx_ssl_get_cached_session(ngx_ssl_conn_
|
||||||
|
ngx_int_t rc;
|
||||||
|
ngx_shm_zone_t *shm_zone;
|
||||||
|
ngx_slab_pool_t *shpool;
|
||||||
|
+#if (NGX_DEBUG)
|
||||||
|
ngx_connection_t *c;
|
||||||
|
+#endif
|
||||||
|
ngx_rbtree_node_t *node, *sentinel;
|
||||||
|
ngx_ssl_session_t *sess;
|
||||||
|
ngx_ssl_sess_id_t *sess_id;
|
||||||
|
ngx_ssl_session_cache_t *cache;
|
||||||
|
u_char buf[NGX_SSL_MAX_SESSION_SIZE];
|
||||||
|
|
||||||
|
- c = ngx_ssl_get_connection(ssl_conn);
|
||||||
|
-
|
||||||
|
hash = ngx_crc32_short(id, (size_t) len);
|
||||||
|
*copy = 0;
|
||||||
|
|
||||||
|
+#if (NGX_DEBUG)
|
||||||
|
+ c = ngx_ssl_get_connection(ssl_conn);
|
||||||
|
+
|
||||||
|
ngx_log_debug2(NGX_LOG_DEBUG_EVENT, c->log, 0,
|
||||||
|
"ssl get session: %08XD:%d", hash, len);
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
shm_zone = SSL_CTX_get_ex_data(SSL_get_SSL_CTX(ssl_conn),
|
||||||
|
ngx_ssl_session_cache_index);
|
24
patches/nginx-1.0.4-no_Werror.patch
Normal file
24
patches/nginx-1.0.4-no_Werror.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
diff -ur nginx-0.8.54/auto/cc/gcc nginx-0.8.54-patched/auto/cc/gcc
|
||||||
|
--- nginx-0.8.54/auto/cc/gcc 2011-06-27 19:53:00.205737804 +0800
|
||||||
|
+++ nginx-0.8.54-patched/auto/cc/gcc 2011-06-27 19:53:13.837741087 +0800
|
||||||
|
@@ -169,7 +169,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
# stop on warning
|
||||||
|
-CFLAGS="$CFLAGS -Werror"
|
||||||
|
+#CFLAGS="$CFLAGS -Werror"
|
||||||
|
|
||||||
|
# debug
|
||||||
|
CFLAGS="$CFLAGS -g"
|
||||||
|
diff -ur nginx-0.8.54/auto/cc/icc nginx-0.8.54-patched/auto/cc/icc
|
||||||
|
--- nginx-0.8.54/auto/cc/icc 2011-06-27 19:52:56.370157068 +0800
|
||||||
|
+++ nginx-0.8.54-patched/auto/cc/icc 2011-06-27 19:53:19.508916811 +0800
|
||||||
|
@@ -139,7 +139,7 @@
|
||||||
|
esac
|
||||||
|
|
||||||
|
# stop on warning
|
||||||
|
-CFLAGS="$CFLAGS -Werror"
|
||||||
|
+#CFLAGS="$CFLAGS -Werror"
|
||||||
|
|
||||||
|
# debug
|
||||||
|
CFLAGS="$CFLAGS -g"
|
90
patches/nginx-1.0.4-no_error_pages.patch
Normal file
90
patches/nginx-1.0.4-no_error_pages.patch
Normal file
@ -0,0 +1,90 @@
|
|||||||
|
--- nginx-0.8.54/src/http/ngx_http_core_module.c 2010-12-14 18:38:42.000000000 +0800
|
||||||
|
+++ nginx-0.8.54-patched/src/http/ngx_http_core_module.c 2011-01-30 19:24:34.956354518 +0800
|
||||||
|
@@ -57,6 +57,8 @@
|
||||||
|
void *conf);
|
||||||
|
static char *ngx_http_core_error_page(ngx_conf_t *cf, ngx_command_t *cmd,
|
||||||
|
void *conf);
|
||||||
|
+static char *ngx_http_core_no_error_pages(ngx_conf_t *cf, ngx_command_t *cmd,
|
||||||
|
+ void *conf);
|
||||||
|
static char *ngx_http_core_try_files(ngx_conf_t *cf, ngx_command_t *cmd,
|
||||||
|
void *conf);
|
||||||
|
static char *ngx_http_core_open_file_cache(ngx_conf_t *cf, ngx_command_t *cmd,
|
||||||
|
@@ -614,6 +616,14 @@
|
||||||
|
0,
|
||||||
|
NULL },
|
||||||
|
|
||||||
|
+ { ngx_string("no_error_pages"),
|
||||||
|
+ NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_HTTP_LIF_CONF
|
||||||
|
+ |NGX_CONF_NOARGS,
|
||||||
|
+ ngx_http_core_no_error_pages,
|
||||||
|
+ NGX_HTTP_LOC_CONF_OFFSET,
|
||||||
|
+ 0,
|
||||||
|
+ NULL },
|
||||||
|
+
|
||||||
|
{ ngx_string("try_files"),
|
||||||
|
NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_2MORE,
|
||||||
|
ngx_http_core_try_files,
|
||||||
|
@@ -3052,7 +3062,6 @@
|
||||||
|
* clcf->types = NULL;
|
||||||
|
* clcf->default_type = { 0, NULL };
|
||||||
|
* clcf->error_log = NULL;
|
||||||
|
- * clcf->error_pages = NULL;
|
||||||
|
* clcf->try_files = NULL;
|
||||||
|
* clcf->client_body_path = NULL;
|
||||||
|
* clcf->regex = NULL;
|
||||||
|
@@ -3062,6 +3071,7 @@
|
||||||
|
* clcf->gzip_proxied = 0;
|
||||||
|
*/
|
||||||
|
|
||||||
|
+ clcf->error_pages = NGX_CONF_UNSET_PTR;
|
||||||
|
clcf->client_max_body_size = NGX_CONF_UNSET;
|
||||||
|
clcf->client_body_buffer_size = NGX_CONF_UNSET_SIZE;
|
||||||
|
clcf->client_body_timeout = NGX_CONF_UNSET_MSEC;
|
||||||
|
@@ -3250,9 +3260,7 @@
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
- if (conf->error_pages == NULL && prev->error_pages) {
|
||||||
|
- conf->error_pages = prev->error_pages;
|
||||||
|
- }
|
||||||
|
+ ngx_conf_merge_ptr_value(conf->error_pages, prev->error_pages, NULL);
|
||||||
|
|
||||||
|
ngx_conf_merge_str_value(conf->default_type,
|
||||||
|
prev->default_type, "text/plain");
|
||||||
|
@@ -3988,6 +3996,10 @@
|
||||||
|
ngx_http_compile_complex_value_t ccv;
|
||||||
|
|
||||||
|
if (clcf->error_pages == NULL) {
|
||||||
|
+ return "conflicts with \"no_error_pages\"";
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ if (clcf->error_pages == NGX_CONF_UNSET_PTR) {
|
||||||
|
clcf->error_pages = ngx_array_create(cf->pool, 4,
|
||||||
|
sizeof(ngx_http_err_page_t));
|
||||||
|
if (clcf->error_pages == NULL) {
|
||||||
|
@@ -4095,6 +4107,25 @@
|
||||||
|
|
||||||
|
|
||||||
|
static char *
|
||||||
|
+ngx_http_core_no_error_pages(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
|
||||||
|
+{
|
||||||
|
+ ngx_http_core_loc_conf_t *clcf = conf;
|
||||||
|
+
|
||||||
|
+ if (clcf->error_pages == NULL) {
|
||||||
|
+ return "is duplicate";
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ if (clcf->error_pages != NGX_CONF_UNSET_PTR) {
|
||||||
|
+ return "conflicts with \"error_page\"";
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ clcf->error_pages = NULL;
|
||||||
|
+
|
||||||
|
+ return NGX_CONF_OK;
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+static char *
|
||||||
|
ngx_http_core_try_files(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
|
||||||
|
{
|
||||||
|
ngx_http_core_loc_conf_t *clcf = conf;
|
27
patches/nginx-1.0.4-request_body_in_single_buf.patch
Normal file
27
patches/nginx-1.0.4-request_body_in_single_buf.patch
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
# HG changeset patch
|
||||||
|
# User Maxim Dounin <mdounin@mdounin.ru>
|
||||||
|
# Date 1309799136 -14400
|
||||||
|
# Node ID 99e276bba8596bc4df9e638482ee413f4c6bf700
|
||||||
|
# Parent e7b2f945d55ae44a2295facf9e3336dc4633e5b5
|
||||||
|
Core: fix body with request_body_in_single_buf.
|
||||||
|
|
||||||
|
If there were preread data and request body was big enough first part
|
||||||
|
of request body was duplicated.
|
||||||
|
|
||||||
|
See report here:
|
||||||
|
http://nginx.org/pipermail/nginx/2011-July/027756.html
|
||||||
|
|
||||||
|
diff --git a/src/http/ngx_http_request_body.c b/src/http/ngx_http_request_body.c
|
||||||
|
--- a/src/http/ngx_http_request_body.c
|
||||||
|
+++ b/src/http/ngx_http_request_body.c
|
||||||
|
@@ -372,7 +372,9 @@ ngx_http_do_read_client_request_body(ngx
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
- if (r->request_body_in_file_only && rb->bufs->next) {
|
||||||
|
+ if (rb->bufs->next
|
||||||
|
+ && (r->request_body_in_file_only || r->request_body_in_single_buf))
|
||||||
|
+ {
|
||||||
|
rb->bufs = rb->bufs->next;
|
||||||
|
}
|
||||||
|
|
17
patches/nginx-1.0.4-request_body_preread_fix.patch
Normal file
17
patches/nginx-1.0.4-request_body_preread_fix.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# HG changeset patch
|
||||||
|
# User Maxim Dounin <mdounin@mdounin.ru>
|
||||||
|
# Date 1309776931 -14400
|
||||||
|
# Node ID e7b2f945d55ae44a2295facf9e3336dc4633e5b5
|
||||||
|
# Parent 610e909bb9e29766188aa86fae3abe0bd3432940
|
||||||
|
Core: fix body if it's preread and there are extra data.
|
||||||
|
|
||||||
|
--- nginx-0.8.54/src/http/ngx_http_request_body.c 2011-07-05 12:11:21.619264633 +0800
|
||||||
|
+++ nginx-0.8.54-patched/src/http/ngx_http_request_body.c 2011-07-05 12:14:30.694321554 +0800
|
||||||
|
@@ -141,6 +141,7 @@
|
||||||
|
|
||||||
|
/* the whole request body was pre-read */
|
||||||
|
|
||||||
|
+ b->last = b->pos + r->headers_in.content_length_n;
|
||||||
|
r->header_in->pos += (size_t) r->headers_in.content_length_n;
|
||||||
|
r->request_length += r->headers_in.content_length_n;
|
||||||
|
|
26
patches/nginx-1.0.4-server_header.patch
Normal file
26
patches/nginx-1.0.4-server_header.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
diff -ur lz-nginx-1.0.4/nginx-1.0.4/src/core/nginx.h lz-nginx-1.0.4-patched/nginx-1.0.4/src/core/nginx.h
|
||||||
|
--- lz-nginx-1.0.4/nginx-1.0.4/src/core/nginx.h 2010-02-12 17:31:01.000000000 +0800
|
||||||
|
+++ lz-nginx-1.0.4-patched/nginx-1.0.4/src/core/nginx.h 2010-03-30 10:52:13.240702627 +0800
|
||||||
|
@@ -10,7 +10,7 @@
|
||||||
|
|
||||||
|
#define nginx_version 1000004
|
||||||
|
#define NGINX_VERSION "1.0.4"
|
||||||
|
-#define NGINX_VER "nginx/" NGINX_VERSION
|
||||||
|
+#define NGINX_VER "ngx_openresty/" NGINX_VERSION ".unknown"
|
||||||
|
|
||||||
|
#define NGINX_VAR "NGINX"
|
||||||
|
#define NGX_OLDPID_EXT ".oldbin"
|
||||||
|
Only in lz-nginx-1.0.4-patched/nginx-1.0.4/src/core: nginx.h.orig
|
||||||
|
Only in lz-nginx-1.0.4-patched/nginx-1.0.4/src/core: nginx.h.rej
|
||||||
|
diff -ur lz-nginx-1.0.4/nginx-1.0.4/src/http/ngx_http_header_filter_module.c lz-nginx-1.0.4-patched/nginx-1.0.4/src/http/ngx_http_header_filter_module.c
|
||||||
|
--- lz-nginx-1.0.4/nginx-1.0.4/src/http/ngx_http_header_filter_module.c 2010-03-03 23:14:04.000000000 +0800
|
||||||
|
+++ lz-nginx-1.0.4-patched/nginx-1.0.4/src/http/ngx_http_header_filter_module.c 2010-03-30 10:52:53.670909405 +0800
|
||||||
|
@@ -45,7 +45,7 @@
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
-static char ngx_http_server_string[] = "Server: nginx" CRLF;
|
||||||
|
+static char ngx_http_server_string[] = "Server: ngx_openresty" CRLF;
|
||||||
|
static char ngx_http_server_full_string[] = "Server: " NGINX_VER CRLF;
|
||||||
|
|
||||||
|
|
40
patches/nginx-1.0.4-subrequest_loop.patch
Normal file
40
patches/nginx-1.0.4-subrequest_loop.patch
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
# HG changeset patch
|
||||||
|
# User Maxim Dounin <mdounin@mdounin.ru>
|
||||||
|
# Date 1309187571 -14400
|
||||||
|
# Node ID 283a416b2235d5383c12a975edc8866f007fb628
|
||||||
|
# Parent f5fc40783ddcbf4db33859ee2a9bce54cf32c350
|
||||||
|
Core: protect from subrequest loops.
|
||||||
|
|
||||||
|
Without protection subrequest loop results in r->count overflow and
|
||||||
|
SIGSEGV. Protection was broken in 0.7.25.
|
||||||
|
|
||||||
|
Note that this also limits number of parallel subrequests. This
|
||||||
|
wasn't exactly the case before 0.7.25 as local subrequests were
|
||||||
|
completed directly.
|
||||||
|
|
||||||
|
See here for details:
|
||||||
|
|
||||||
|
http://nginx.org/pipermail/nginx-ru/2010-February/032184.html
|
||||||
|
|
||||||
|
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
|
||||||
|
--- a/src/http/ngx_http_core_module.c
|
||||||
|
+++ b/src/http/ngx_http_core_module.c
|
||||||
|
@@ -2287,7 +2287,6 @@ ngx_http_subrequest(ngx_http_request_t *
|
||||||
|
sr->start_sec = tp->sec;
|
||||||
|
sr->start_msec = tp->msec;
|
||||||
|
|
||||||
|
- r->main->subrequests++;
|
||||||
|
r->main->count++;
|
||||||
|
|
||||||
|
*psr = sr;
|
||||||
|
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
|
||||||
|
--- a/src/http/ngx_http_request.c
|
||||||
|
+++ b/src/http/ngx_http_request.c
|
||||||
|
@@ -1981,6 +1981,7 @@ ngx_http_finalize_request(ngx_http_reque
|
||||||
|
if (r == c->data) {
|
||||||
|
|
||||||
|
r->main->count--;
|
||||||
|
+ r->main->subrequests++;
|
||||||
|
|
||||||
|
if (!r->logged) {
|
||||||
|
|
248
t/sanity.t
248
t/sanity.t
@ -185,24 +185,24 @@ 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_LIB='$OPENRESTY_BUILD_DIR/lua-root/usr/local/openresty/lua/lib'
|
||||||
export LUA_INC='$OPENRESTY_BUILD_DIR/lua-root/usr/local/openresty/lua/include'
|
export LUA_INC='$OPENRESTY_BUILD_DIR/lua-root/usr/local/openresty/lua/include'
|
||||||
cd ..
|
cd ..
|
||||||
cd nginx-0.8.54
|
cd nginx-1.0.4
|
||||||
./configure --prefix=/usr/local/openresty/nginx \
|
./configure --prefix=/usr/local/openresty/nginx \
|
||||||
--with-cc-opt='-O2' \
|
--with-cc-opt='-O2' \
|
||||||
--add-module=../echo-nginx-module-0.36rc4 \
|
--add-module=../echo-nginx-module-0.37rc1 \
|
||||||
--add-module=../xss-nginx-module-0.03rc3 \
|
--add-module=../xss-nginx-module-0.03rc3 \
|
||||||
--add-module=../ngx_devel_kit-0.2.17 \
|
--add-module=../ngx_devel_kit-0.2.17 \
|
||||||
--add-module=../set-misc-nginx-module-0.21 \
|
--add-module=../set-misc-nginx-module-0.21 \
|
||||||
--add-module=../form-input-nginx-module-0.07rc4 \
|
--add-module=../form-input-nginx-module-0.07rc4 \
|
||||||
--add-module=../encrypted-session-nginx-module-0.01 \
|
--add-module=../encrypted-session-nginx-module-0.01 \
|
||||||
--add-module=../ngx_lua-0.1.6rc15 \
|
--add-module=../ngx_lua-0.2.0 \
|
||||||
--add-module=../headers-more-nginx-module-0.15rc3 \
|
--add-module=../headers-more-nginx-module-0.15 \
|
||||||
--add-module=../srcache-nginx-module-0.12rc5 \
|
--add-module=../srcache-nginx-module-0.12 \
|
||||||
--add-module=../array-var-nginx-module-0.02 \
|
--add-module=../array-var-nginx-module-0.02 \
|
||||||
--add-module=../memc-nginx-module-0.12rc2 \
|
--add-module=../memc-nginx-module-0.12 \
|
||||||
--add-module=../redis2-nginx-module-0.07rc3 \
|
--add-module=../redis2-nginx-module-0.07rc5 \
|
||||||
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
||||||
--add-module=../auth-request-nginx-module-0.2 \
|
--add-module=../auth-request-nginx-module-0.2 \
|
||||||
--add-module=../rds-json-nginx-module-0.11rc2 \
|
--add-module=../rds-json-nginx-module-0.11 \
|
||||||
--with-http_ssl_module
|
--with-http_ssl_module
|
||||||
cd ../..
|
cd ../..
|
||||||
--- makefile
|
--- makefile
|
||||||
@ -210,11 +210,11 @@ cd ../..
|
|||||||
|
|
||||||
all:
|
all:
|
||||||
cd build/lua-5.1.4 && $(MAKE) linux
|
cd build/lua-5.1.4 && $(MAKE) linux
|
||||||
cd build/nginx-0.8.54 && $(MAKE)
|
cd build/nginx-1.0.4 && $(MAKE)
|
||||||
|
|
||||||
install:
|
install:
|
||||||
cd build/lua-5.1.4 && $(MAKE) install INSTALL_TOP=$(DESTDIR)/usr/local/openresty/lua
|
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)
|
cd build/nginx-1.0.4 && $(MAKE) install DESTDIR=$(DESTDIR)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf build
|
rm -rf build
|
||||||
@ -233,25 +233,25 @@ 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_LIB='$OPENRESTY_BUILD_DIR/lua-root/usr/local/openresty/lua/lib'
|
||||||
export LUA_INC='$OPENRESTY_BUILD_DIR/lua-root/usr/local/openresty/lua/include'
|
export LUA_INC='$OPENRESTY_BUILD_DIR/lua-root/usr/local/openresty/lua/include'
|
||||||
cd ..
|
cd ..
|
||||||
cd nginx-0.8.54
|
cd nginx-1.0.4
|
||||||
./configure --prefix=/usr/local/openresty/nginx \
|
./configure --prefix=/usr/local/openresty/nginx \
|
||||||
--with-debug \
|
--with-debug \
|
||||||
--with-cc-opt='-O0' \
|
--with-cc-opt='-O0' \
|
||||||
--add-module=../echo-nginx-module-0.36rc4 \
|
--add-module=../echo-nginx-module-0.37rc1 \
|
||||||
--add-module=../xss-nginx-module-0.03rc3 \
|
--add-module=../xss-nginx-module-0.03rc3 \
|
||||||
--add-module=../ngx_devel_kit-0.2.17 \
|
--add-module=../ngx_devel_kit-0.2.17 \
|
||||||
--add-module=../set-misc-nginx-module-0.21 \
|
--add-module=../set-misc-nginx-module-0.21 \
|
||||||
--add-module=../form-input-nginx-module-0.07rc4 \
|
--add-module=../form-input-nginx-module-0.07rc4 \
|
||||||
--add-module=../encrypted-session-nginx-module-0.01 \
|
--add-module=../encrypted-session-nginx-module-0.01 \
|
||||||
--add-module=../ngx_lua-0.1.6rc15 \
|
--add-module=../ngx_lua-0.2.0 \
|
||||||
--add-module=../headers-more-nginx-module-0.15rc3 \
|
--add-module=../headers-more-nginx-module-0.15 \
|
||||||
--add-module=../srcache-nginx-module-0.12rc5 \
|
--add-module=../srcache-nginx-module-0.12 \
|
||||||
--add-module=../array-var-nginx-module-0.02 \
|
--add-module=../array-var-nginx-module-0.02 \
|
||||||
--add-module=../memc-nginx-module-0.12rc2 \
|
--add-module=../memc-nginx-module-0.12 \
|
||||||
--add-module=../redis2-nginx-module-0.07rc3 \
|
--add-module=../redis2-nginx-module-0.07rc5 \
|
||||||
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
||||||
--add-module=../auth-request-nginx-module-0.2 \
|
--add-module=../auth-request-nginx-module-0.2 \
|
||||||
--add-module=../rds-json-nginx-module-0.11rc2 \
|
--add-module=../rds-json-nginx-module-0.11 \
|
||||||
--with-http_ssl_module
|
--with-http_ssl_module
|
||||||
cd ../..
|
cd ../..
|
||||||
--- makefile
|
--- makefile
|
||||||
@ -259,11 +259,11 @@ cd ../..
|
|||||||
|
|
||||||
all:
|
all:
|
||||||
cd build/lua-5.1.4 && $(MAKE) linux
|
cd build/lua-5.1.4 && $(MAKE) linux
|
||||||
cd build/nginx-0.8.54 && $(MAKE)
|
cd build/nginx-1.0.4 && $(MAKE)
|
||||||
|
|
||||||
install:
|
install:
|
||||||
cd build/lua-5.1.4 && $(MAKE) install INSTALL_TOP=$(DESTDIR)/usr/local/openresty/lua
|
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)
|
cd build/nginx-1.0.4 && $(MAKE) install DESTDIR=$(DESTDIR)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf build
|
rm -rf build
|
||||||
@ -292,24 +292,24 @@ make install PREFIX=/usr/local/openresty/luajit DESTDIR=$OPENRESTY_BUILD_DIR/lua
|
|||||||
export LUAJIT_LIB='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/lib'
|
export LUAJIT_LIB='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/lib'
|
||||||
export LUAJIT_INC='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0'
|
export LUAJIT_INC='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0'
|
||||||
cd ..
|
cd ..
|
||||||
cd nginx-0.8.54
|
cd nginx-1.0.4
|
||||||
./configure --prefix=/usr/local/openresty/nginx \
|
./configure --prefix=/usr/local/openresty/nginx \
|
||||||
--with-cc-opt='-O2' \
|
--with-cc-opt='-O2' \
|
||||||
--add-module=../echo-nginx-module-0.36rc4 \
|
--add-module=../echo-nginx-module-0.37rc1 \
|
||||||
--add-module=../xss-nginx-module-0.03rc3 \
|
--add-module=../xss-nginx-module-0.03rc3 \
|
||||||
--add-module=../ngx_devel_kit-0.2.17 \
|
--add-module=../ngx_devel_kit-0.2.17 \
|
||||||
--add-module=../set-misc-nginx-module-0.21 \
|
--add-module=../set-misc-nginx-module-0.21 \
|
||||||
--add-module=../form-input-nginx-module-0.07rc4 \
|
--add-module=../form-input-nginx-module-0.07rc4 \
|
||||||
--add-module=../encrypted-session-nginx-module-0.01 \
|
--add-module=../encrypted-session-nginx-module-0.01 \
|
||||||
--add-module=../ngx_lua-0.1.6rc15 \
|
--add-module=../ngx_lua-0.2.0 \
|
||||||
--add-module=../headers-more-nginx-module-0.15rc3 \
|
--add-module=../headers-more-nginx-module-0.15 \
|
||||||
--add-module=../srcache-nginx-module-0.12rc5 \
|
--add-module=../srcache-nginx-module-0.12 \
|
||||||
--add-module=../array-var-nginx-module-0.02 \
|
--add-module=../array-var-nginx-module-0.02 \
|
||||||
--add-module=../memc-nginx-module-0.12rc2 \
|
--add-module=../memc-nginx-module-0.12 \
|
||||||
--add-module=../redis2-nginx-module-0.07rc3 \
|
--add-module=../redis2-nginx-module-0.07rc5 \
|
||||||
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
||||||
--add-module=../auth-request-nginx-module-0.2 \
|
--add-module=../auth-request-nginx-module-0.2 \
|
||||||
--add-module=../rds-json-nginx-module-0.11rc2 \
|
--add-module=../rds-json-nginx-module-0.11 \
|
||||||
--with-ld-opt='-Wl,-rpath,/usr/local/openresty/luajit/lib' \
|
--with-ld-opt='-Wl,-rpath,/usr/local/openresty/luajit/lib' \
|
||||||
--with-http_ssl_module
|
--with-http_ssl_module
|
||||||
cd ../..
|
cd ../..
|
||||||
@ -318,11 +318,11 @@ cd ../..
|
|||||||
|
|
||||||
all:
|
all:
|
||||||
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) PREFIX=/usr/local/openresty/luajit
|
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) PREFIX=/usr/local/openresty/luajit
|
||||||
cd build/nginx-0.8.54 && $(MAKE)
|
cd build/nginx-1.0.4 && $(MAKE)
|
||||||
|
|
||||||
install:
|
install:
|
||||||
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) install PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
|
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) install PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
|
||||||
cd build/nginx-0.8.54 && $(MAKE) install DESTDIR=$(DESTDIR)
|
cd build/nginx-1.0.4 && $(MAKE) install DESTDIR=$(DESTDIR)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf build
|
rm -rf build
|
||||||
@ -341,24 +341,24 @@ make install PREFIX=/usr/local/openresty/luajit DESTDIR=$OPENRESTY_BUILD_DIR/lua
|
|||||||
export LUAJIT_LIB='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/lib'
|
export LUAJIT_LIB='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/lib'
|
||||||
export LUAJIT_INC='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0'
|
export LUAJIT_INC='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0'
|
||||||
cd ..
|
cd ..
|
||||||
cd nginx-0.8.54
|
cd nginx-1.0.4
|
||||||
./configure --prefix=/usr/local/openresty/nginx \
|
./configure --prefix=/usr/local/openresty/nginx \
|
||||||
--with-cc-opt='-O2 -O3' \
|
--with-cc-opt='-O2 -O3' \
|
||||||
--add-module=../echo-nginx-module-0.36rc4 \
|
--add-module=../echo-nginx-module-0.37rc1 \
|
||||||
--add-module=../xss-nginx-module-0.03rc3 \
|
--add-module=../xss-nginx-module-0.03rc3 \
|
||||||
--add-module=../ngx_devel_kit-0.2.17 \
|
--add-module=../ngx_devel_kit-0.2.17 \
|
||||||
--add-module=../set-misc-nginx-module-0.21 \
|
--add-module=../set-misc-nginx-module-0.21 \
|
||||||
--add-module=../form-input-nginx-module-0.07rc4 \
|
--add-module=../form-input-nginx-module-0.07rc4 \
|
||||||
--add-module=../encrypted-session-nginx-module-0.01 \
|
--add-module=../encrypted-session-nginx-module-0.01 \
|
||||||
--add-module=../ngx_lua-0.1.6rc15 \
|
--add-module=../ngx_lua-0.2.0 \
|
||||||
--add-module=../headers-more-nginx-module-0.15rc3 \
|
--add-module=../headers-more-nginx-module-0.15 \
|
||||||
--add-module=../srcache-nginx-module-0.12rc5 \
|
--add-module=../srcache-nginx-module-0.12 \
|
||||||
--add-module=../array-var-nginx-module-0.02 \
|
--add-module=../array-var-nginx-module-0.02 \
|
||||||
--add-module=../memc-nginx-module-0.12rc2 \
|
--add-module=../memc-nginx-module-0.12 \
|
||||||
--add-module=../redis2-nginx-module-0.07rc3 \
|
--add-module=../redis2-nginx-module-0.07rc5 \
|
||||||
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
||||||
--add-module=../auth-request-nginx-module-0.2 \
|
--add-module=../auth-request-nginx-module-0.2 \
|
||||||
--add-module=../rds-json-nginx-module-0.11rc2 \
|
--add-module=../rds-json-nginx-module-0.11 \
|
||||||
--with-ld-opt='-Wl,-rpath,/usr/local/openresty/luajit/lib' \
|
--with-ld-opt='-Wl,-rpath,/usr/local/openresty/luajit/lib' \
|
||||||
--with-http_ssl_module
|
--with-http_ssl_module
|
||||||
cd ../..
|
cd ../..
|
||||||
@ -367,11 +367,11 @@ cd ../..
|
|||||||
|
|
||||||
all:
|
all:
|
||||||
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) PREFIX=/usr/local/openresty/luajit
|
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) PREFIX=/usr/local/openresty/luajit
|
||||||
cd build/nginx-0.8.54 && $(MAKE)
|
cd build/nginx-1.0.4 && $(MAKE)
|
||||||
|
|
||||||
install:
|
install:
|
||||||
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) install PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
|
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) install PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
|
||||||
cd build/nginx-0.8.54 && $(MAKE) install DESTDIR=$(DESTDIR)
|
cd build/nginx-1.0.4 && $(MAKE) install DESTDIR=$(DESTDIR)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf build
|
rm -rf build
|
||||||
@ -390,24 +390,24 @@ make install PREFIX=/usr/local/openresty/luajit DESTDIR=$OPENRESTY_BUILD_DIR/lua
|
|||||||
export LUAJIT_LIB='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/lib'
|
export LUAJIT_LIB='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/lib'
|
||||||
export LUAJIT_INC='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0'
|
export LUAJIT_INC='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0'
|
||||||
cd ..
|
cd ..
|
||||||
cd nginx-0.8.54
|
cd nginx-1.0.4
|
||||||
./configure --prefix=/usr/local/openresty/nginx \
|
./configure --prefix=/usr/local/openresty/nginx \
|
||||||
--with-cc-opt='-O2' \
|
--with-cc-opt='-O2' \
|
||||||
--add-module=../echo-nginx-module-0.36rc4 \
|
--add-module=../echo-nginx-module-0.37rc1 \
|
||||||
--add-module=../xss-nginx-module-0.03rc3 \
|
--add-module=../xss-nginx-module-0.03rc3 \
|
||||||
--add-module=../ngx_devel_kit-0.2.17 \
|
--add-module=../ngx_devel_kit-0.2.17 \
|
||||||
--add-module=../set-misc-nginx-module-0.21 \
|
--add-module=../set-misc-nginx-module-0.21 \
|
||||||
--add-module=../form-input-nginx-module-0.07rc4 \
|
--add-module=../form-input-nginx-module-0.07rc4 \
|
||||||
--add-module=../encrypted-session-nginx-module-0.01 \
|
--add-module=../encrypted-session-nginx-module-0.01 \
|
||||||
--add-module=../ngx_lua-0.1.6rc15 \
|
--add-module=../ngx_lua-0.2.0 \
|
||||||
--add-module=../headers-more-nginx-module-0.15rc3 \
|
--add-module=../headers-more-nginx-module-0.15 \
|
||||||
--add-module=../srcache-nginx-module-0.12rc5 \
|
--add-module=../srcache-nginx-module-0.12 \
|
||||||
--add-module=../array-var-nginx-module-0.02 \
|
--add-module=../array-var-nginx-module-0.02 \
|
||||||
--add-module=../memc-nginx-module-0.12rc2 \
|
--add-module=../memc-nginx-module-0.12 \
|
||||||
--add-module=../redis2-nginx-module-0.07rc3 \
|
--add-module=../redis2-nginx-module-0.07rc5 \
|
||||||
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
||||||
--add-module=../auth-request-nginx-module-0.2 \
|
--add-module=../auth-request-nginx-module-0.2 \
|
||||||
--add-module=../rds-json-nginx-module-0.11rc2 \
|
--add-module=../rds-json-nginx-module-0.11 \
|
||||||
--with-ld-opt='-Wl,-rpath,/usr/local/openresty/luajit/lib -llua' \
|
--with-ld-opt='-Wl,-rpath,/usr/local/openresty/luajit/lib -llua' \
|
||||||
--with-http_ssl_module
|
--with-http_ssl_module
|
||||||
cd ../..
|
cd ../..
|
||||||
@ -416,11 +416,11 @@ cd ../..
|
|||||||
|
|
||||||
all:
|
all:
|
||||||
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) PREFIX=/usr/local/openresty/luajit
|
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) PREFIX=/usr/local/openresty/luajit
|
||||||
cd build/nginx-0.8.54 && $(MAKE)
|
cd build/nginx-1.0.4 && $(MAKE)
|
||||||
|
|
||||||
install:
|
install:
|
||||||
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) install PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
|
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) install PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
|
||||||
cd build/nginx-0.8.54 && $(MAKE) install DESTDIR=$(DESTDIR)
|
cd build/nginx-1.0.4 && $(MAKE) install DESTDIR=$(DESTDIR)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf build
|
rm -rf build
|
||||||
@ -439,23 +439,23 @@ make install PREFIX=/usr/local/openresty/luajit DESTDIR=$OPENRESTY_BUILD_DIR/lua
|
|||||||
export LUAJIT_LIB='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/lib'
|
export LUAJIT_LIB='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/lib'
|
||||||
export LUAJIT_INC='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0'
|
export LUAJIT_INC='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0'
|
||||||
cd ..
|
cd ..
|
||||||
cd nginx-0.8.54
|
cd nginx-1.0.4
|
||||||
./configure --prefix=/usr/local/openresty/nginx \
|
./configure --prefix=/usr/local/openresty/nginx \
|
||||||
--with-cc-opt='-O2' \
|
--with-cc-opt='-O2' \
|
||||||
--add-module=../echo-nginx-module-0.36rc4 \
|
--add-module=../echo-nginx-module-0.37rc1 \
|
||||||
--add-module=../xss-nginx-module-0.03rc3 \
|
--add-module=../xss-nginx-module-0.03rc3 \
|
||||||
--add-module=../ngx_devel_kit-0.2.17 \
|
--add-module=../ngx_devel_kit-0.2.17 \
|
||||||
--add-module=../set-misc-nginx-module-0.21 \
|
--add-module=../set-misc-nginx-module-0.21 \
|
||||||
--add-module=../form-input-nginx-module-0.07rc4 \
|
--add-module=../form-input-nginx-module-0.07rc4 \
|
||||||
--add-module=../encrypted-session-nginx-module-0.01 \
|
--add-module=../encrypted-session-nginx-module-0.01 \
|
||||||
--add-module=../headers-more-nginx-module-0.15rc3 \
|
--add-module=../headers-more-nginx-module-0.15 \
|
||||||
--add-module=../srcache-nginx-module-0.12rc5 \
|
--add-module=../srcache-nginx-module-0.12 \
|
||||||
--add-module=../array-var-nginx-module-0.02 \
|
--add-module=../array-var-nginx-module-0.02 \
|
||||||
--add-module=../memc-nginx-module-0.12rc2 \
|
--add-module=../memc-nginx-module-0.12 \
|
||||||
--add-module=../redis2-nginx-module-0.07rc3 \
|
--add-module=../redis2-nginx-module-0.07rc5 \
|
||||||
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
||||||
--add-module=../auth-request-nginx-module-0.2 \
|
--add-module=../auth-request-nginx-module-0.2 \
|
||||||
--add-module=../rds-json-nginx-module-0.11rc2 \
|
--add-module=../rds-json-nginx-module-0.11 \
|
||||||
--with-ld-opt='-Wl,-rpath,/usr/local/openresty/luajit/lib' \
|
--with-ld-opt='-Wl,-rpath,/usr/local/openresty/luajit/lib' \
|
||||||
--with-http_ssl_module
|
--with-http_ssl_module
|
||||||
cd ../..
|
cd ../..
|
||||||
@ -464,11 +464,11 @@ cd ../..
|
|||||||
|
|
||||||
all:
|
all:
|
||||||
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) PREFIX=/usr/local/openresty/luajit
|
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) PREFIX=/usr/local/openresty/luajit
|
||||||
cd build/nginx-0.8.54 && $(MAKE)
|
cd build/nginx-1.0.4 && $(MAKE)
|
||||||
|
|
||||||
install:
|
install:
|
||||||
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) install PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
|
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) install PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
|
||||||
cd build/nginx-0.8.54 && $(MAKE) install DESTDIR=$(DESTDIR)
|
cd build/nginx-1.0.4 && $(MAKE) install DESTDIR=$(DESTDIR)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf build
|
rm -rf build
|
||||||
@ -481,33 +481,33 @@ clean:
|
|||||||
platform: linux (linux)
|
platform: linux (linux)
|
||||||
cp -rp bundle/ build/
|
cp -rp bundle/ build/
|
||||||
cd build
|
cd build
|
||||||
cd nginx-0.8.54
|
cd nginx-1.0.4
|
||||||
./configure --prefix=/usr/local/openresty/nginx \
|
./configure --prefix=/usr/local/openresty/nginx \
|
||||||
--with-cc-opt='-O2' \
|
--with-cc-opt='-O2' \
|
||||||
--add-module=../echo-nginx-module-0.36rc4 \
|
--add-module=../echo-nginx-module-0.37rc1 \
|
||||||
--add-module=../xss-nginx-module-0.03rc3 \
|
--add-module=../xss-nginx-module-0.03rc3 \
|
||||||
--add-module=../ngx_devel_kit-0.2.17 \
|
--add-module=../ngx_devel_kit-0.2.17 \
|
||||||
--add-module=../set-misc-nginx-module-0.21 \
|
--add-module=../set-misc-nginx-module-0.21 \
|
||||||
--add-module=../form-input-nginx-module-0.07rc4 \
|
--add-module=../form-input-nginx-module-0.07rc4 \
|
||||||
--add-module=../encrypted-session-nginx-module-0.01 \
|
--add-module=../encrypted-session-nginx-module-0.01 \
|
||||||
--add-module=../headers-more-nginx-module-0.15rc3 \
|
--add-module=../headers-more-nginx-module-0.15 \
|
||||||
--add-module=../srcache-nginx-module-0.12rc5 \
|
--add-module=../srcache-nginx-module-0.12 \
|
||||||
--add-module=../array-var-nginx-module-0.02 \
|
--add-module=../array-var-nginx-module-0.02 \
|
||||||
--add-module=../memc-nginx-module-0.12rc2 \
|
--add-module=../memc-nginx-module-0.12 \
|
||||||
--add-module=../redis2-nginx-module-0.07rc3 \
|
--add-module=../redis2-nginx-module-0.07rc5 \
|
||||||
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
||||||
--add-module=../auth-request-nginx-module-0.2 \
|
--add-module=../auth-request-nginx-module-0.2 \
|
||||||
--add-module=../rds-json-nginx-module-0.11rc2 \
|
--add-module=../rds-json-nginx-module-0.11 \
|
||||||
--with-http_ssl_module
|
--with-http_ssl_module
|
||||||
cd ../..
|
cd ../..
|
||||||
--- makefile
|
--- makefile
|
||||||
.PHONY: all install
|
.PHONY: all install
|
||||||
|
|
||||||
all:
|
all:
|
||||||
cd build/nginx-0.8.54 && $(MAKE)
|
cd build/nginx-1.0.4 && $(MAKE)
|
||||||
|
|
||||||
install:
|
install:
|
||||||
cd build/nginx-0.8.54 && $(MAKE) install DESTDIR=$(DESTDIR)
|
cd build/nginx-1.0.4 && $(MAKE) install DESTDIR=$(DESTDIR)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf build
|
rm -rf build
|
||||||
@ -526,24 +526,24 @@ make install INSTALL_TOP=$OPENRESTY_BUILD_DIR/lua-root/opt/blah/lua
|
|||||||
export LUA_LIB='$OPENRESTY_BUILD_DIR/lua-root/opt/blah/lua/lib'
|
export LUA_LIB='$OPENRESTY_BUILD_DIR/lua-root/opt/blah/lua/lib'
|
||||||
export LUA_INC='$OPENRESTY_BUILD_DIR/lua-root/opt/blah/lua/include'
|
export LUA_INC='$OPENRESTY_BUILD_DIR/lua-root/opt/blah/lua/include'
|
||||||
cd ..
|
cd ..
|
||||||
cd nginx-0.8.54
|
cd nginx-1.0.4
|
||||||
./configure --prefix=/opt/blah/nginx \
|
./configure --prefix=/opt/blah/nginx \
|
||||||
--with-cc-opt='-O2' \
|
--with-cc-opt='-O2' \
|
||||||
--add-module=../echo-nginx-module-0.36rc4 \
|
--add-module=../echo-nginx-module-0.37rc1 \
|
||||||
--add-module=../xss-nginx-module-0.03rc3 \
|
--add-module=../xss-nginx-module-0.03rc3 \
|
||||||
--add-module=../ngx_devel_kit-0.2.17 \
|
--add-module=../ngx_devel_kit-0.2.17 \
|
||||||
--add-module=../set-misc-nginx-module-0.21 \
|
--add-module=../set-misc-nginx-module-0.21 \
|
||||||
--add-module=../form-input-nginx-module-0.07rc4 \
|
--add-module=../form-input-nginx-module-0.07rc4 \
|
||||||
--add-module=../encrypted-session-nginx-module-0.01 \
|
--add-module=../encrypted-session-nginx-module-0.01 \
|
||||||
--add-module=../ngx_lua-0.1.6rc15 \
|
--add-module=../ngx_lua-0.2.0 \
|
||||||
--add-module=../headers-more-nginx-module-0.15rc3 \
|
--add-module=../headers-more-nginx-module-0.15 \
|
||||||
--add-module=../srcache-nginx-module-0.12rc5 \
|
--add-module=../srcache-nginx-module-0.12 \
|
||||||
--add-module=../array-var-nginx-module-0.02 \
|
--add-module=../array-var-nginx-module-0.02 \
|
||||||
--add-module=../memc-nginx-module-0.12rc2 \
|
--add-module=../memc-nginx-module-0.12 \
|
||||||
--add-module=../redis2-nginx-module-0.07rc3 \
|
--add-module=../redis2-nginx-module-0.07rc5 \
|
||||||
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
||||||
--add-module=../auth-request-nginx-module-0.2 \
|
--add-module=../auth-request-nginx-module-0.2 \
|
||||||
--add-module=../rds-json-nginx-module-0.11rc2 \
|
--add-module=../rds-json-nginx-module-0.11 \
|
||||||
--with-http_ssl_module
|
--with-http_ssl_module
|
||||||
cd ../..
|
cd ../..
|
||||||
--- makefile
|
--- makefile
|
||||||
@ -551,11 +551,11 @@ cd ../..
|
|||||||
|
|
||||||
all:
|
all:
|
||||||
cd build/lua-5.1.4 && $(MAKE) linux
|
cd build/lua-5.1.4 && $(MAKE) linux
|
||||||
cd build/nginx-0.8.54 && $(MAKE)
|
cd build/nginx-1.0.4 && $(MAKE)
|
||||||
|
|
||||||
install:
|
install:
|
||||||
cd build/lua-5.1.4 && $(MAKE) install INSTALL_TOP=$(DESTDIR)/opt/blah/lua
|
cd build/lua-5.1.4 && $(MAKE) install INSTALL_TOP=$(DESTDIR)/opt/blah/lua
|
||||||
cd build/nginx-0.8.54 && $(MAKE) install DESTDIR=$(DESTDIR)
|
cd build/nginx-1.0.4 && $(MAKE) install DESTDIR=$(DESTDIR)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf build
|
rm -rf build
|
||||||
@ -737,24 +737,24 @@ 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_LIB='$OPENRESTY_BUILD_DIR/lua-root/usr/local/openresty/lua/lib'
|
||||||
export LUA_INC='$OPENRESTY_BUILD_DIR/lua-root/usr/local/openresty/lua/include'
|
export LUA_INC='$OPENRESTY_BUILD_DIR/lua-root/usr/local/openresty/lua/include'
|
||||||
cd ..
|
cd ..
|
||||||
cd nginx-0.8.54
|
cd nginx-1.0.4
|
||||||
./configure --prefix=/usr/local/openresty/nginx \
|
./configure --prefix=/usr/local/openresty/nginx \
|
||||||
--with-cc-opt='-O2' \
|
--with-cc-opt='-O2' \
|
||||||
--add-module=../echo-nginx-module-0.36rc4 \
|
--add-module=../echo-nginx-module-0.37rc1 \
|
||||||
--add-module=../xss-nginx-module-0.03rc3 \
|
--add-module=../xss-nginx-module-0.03rc3 \
|
||||||
--add-module=../ngx_devel_kit-0.2.17 \
|
--add-module=../ngx_devel_kit-0.2.17 \
|
||||||
--add-module=../set-misc-nginx-module-0.21 \
|
--add-module=../set-misc-nginx-module-0.21 \
|
||||||
--add-module=../form-input-nginx-module-0.07rc4 \
|
--add-module=../form-input-nginx-module-0.07rc4 \
|
||||||
--add-module=../encrypted-session-nginx-module-0.01 \
|
--add-module=../encrypted-session-nginx-module-0.01 \
|
||||||
--add-module=../ngx_lua-0.1.6rc15 \
|
--add-module=../ngx_lua-0.2.0 \
|
||||||
--add-module=../headers-more-nginx-module-0.15rc3 \
|
--add-module=../headers-more-nginx-module-0.15 \
|
||||||
--add-module=../srcache-nginx-module-0.12rc5 \
|
--add-module=../srcache-nginx-module-0.12 \
|
||||||
--add-module=../array-var-nginx-module-0.02 \
|
--add-module=../array-var-nginx-module-0.02 \
|
||||||
--add-module=../memc-nginx-module-0.12rc2 \
|
--add-module=../memc-nginx-module-0.12 \
|
||||||
--add-module=../redis2-nginx-module-0.07rc3 \
|
--add-module=../redis2-nginx-module-0.07rc5 \
|
||||||
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
||||||
--add-module=../auth-request-nginx-module-0.2 \
|
--add-module=../auth-request-nginx-module-0.2 \
|
||||||
--add-module=../rds-json-nginx-module-0.11rc2 \
|
--add-module=../rds-json-nginx-module-0.11 \
|
||||||
--with-http_ssl_module
|
--with-http_ssl_module
|
||||||
cd ../..
|
cd ../..
|
||||||
--- makefile
|
--- makefile
|
||||||
@ -762,11 +762,11 @@ cd ../..
|
|||||||
|
|
||||||
all:
|
all:
|
||||||
cd build/lua-5.1.4 && $(MAKE) solaris
|
cd build/lua-5.1.4 && $(MAKE) solaris
|
||||||
cd build/nginx-0.8.54 && $(MAKE)
|
cd build/nginx-1.0.4 && $(MAKE)
|
||||||
|
|
||||||
install:
|
install:
|
||||||
cd build/lua-5.1.4 && $(MAKE) install INSTALL_TOP=$(DESTDIR)/usr/local/openresty/lua
|
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)
|
cd build/nginx-1.0.4 && $(MAKE) install DESTDIR=$(DESTDIR)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf build
|
rm -rf build
|
||||||
@ -785,25 +785,25 @@ 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_LIB='$OPENRESTY_BUILD_DIR/lua-root/usr/local/openresty/lua/lib'
|
||||||
export LUA_INC='$OPENRESTY_BUILD_DIR/lua-root/usr/local/openresty/lua/include'
|
export LUA_INC='$OPENRESTY_BUILD_DIR/lua-root/usr/local/openresty/lua/include'
|
||||||
cd ..
|
cd ..
|
||||||
cd nginx-0.8.54
|
cd nginx-1.0.4
|
||||||
./configure --prefix=/usr/local/openresty/nginx \
|
./configure --prefix=/usr/local/openresty/nginx \
|
||||||
--with-cc-opt='-O2' \
|
--with-cc-opt='-O2' \
|
||||||
--add-module=../echo-nginx-module-0.36rc4 \
|
--add-module=../echo-nginx-module-0.37rc1 \
|
||||||
--add-module=../xss-nginx-module-0.03rc3 \
|
--add-module=../xss-nginx-module-0.03rc3 \
|
||||||
--add-module=../ngx_devel_kit-0.2.17 \
|
--add-module=../ngx_devel_kit-0.2.17 \
|
||||||
--add-module=../set-misc-nginx-module-0.21 \
|
--add-module=../set-misc-nginx-module-0.21 \
|
||||||
--add-module=../form-input-nginx-module-0.07rc4 \
|
--add-module=../form-input-nginx-module-0.07rc4 \
|
||||||
--add-module=../encrypted-session-nginx-module-0.01 \
|
--add-module=../encrypted-session-nginx-module-0.01 \
|
||||||
--add-module=../drizzle-nginx-module-0.0.15rc13 \
|
--add-module=../drizzle-nginx-module-0.1.1rc1 \
|
||||||
--add-module=../ngx_lua-0.1.6rc15 \
|
--add-module=../ngx_lua-0.2.0 \
|
||||||
--add-module=../headers-more-nginx-module-0.15rc3 \
|
--add-module=../headers-more-nginx-module-0.15 \
|
||||||
--add-module=../srcache-nginx-module-0.12rc5 \
|
--add-module=../srcache-nginx-module-0.12 \
|
||||||
--add-module=../array-var-nginx-module-0.02 \
|
--add-module=../array-var-nginx-module-0.02 \
|
||||||
--add-module=../memc-nginx-module-0.12rc2 \
|
--add-module=../memc-nginx-module-0.12 \
|
||||||
--add-module=../redis2-nginx-module-0.07rc3 \
|
--add-module=../redis2-nginx-module-0.07rc5 \
|
||||||
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
||||||
--add-module=../auth-request-nginx-module-0.2 \
|
--add-module=../auth-request-nginx-module-0.2 \
|
||||||
--add-module=../rds-json-nginx-module-0.11rc2 \
|
--add-module=../rds-json-nginx-module-0.11 \
|
||||||
--with-http_ssl_module
|
--with-http_ssl_module
|
||||||
cd ../..
|
cd ../..
|
||||||
--- makefile
|
--- makefile
|
||||||
@ -811,11 +811,11 @@ cd ../..
|
|||||||
|
|
||||||
all:
|
all:
|
||||||
cd build/lua-5.1.4 && $(MAKE) solaris
|
cd build/lua-5.1.4 && $(MAKE) solaris
|
||||||
cd build/nginx-0.8.54 && $(MAKE)
|
cd build/nginx-1.0.4 && $(MAKE)
|
||||||
|
|
||||||
install:
|
install:
|
||||||
cd build/lua-5.1.4 && $(MAKE) install INSTALL_TOP=$(DESTDIR)/usr/local/openresty/lua
|
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)
|
cd build/nginx-1.0.4 && $(MAKE) install DESTDIR=$(DESTDIR)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf build
|
rm -rf build
|
||||||
@ -834,25 +834,25 @@ 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_LIB='$OPENRESTY_BUILD_DIR/lua-root/usr/local/openresty/lua/lib'
|
||||||
export LUA_INC='$OPENRESTY_BUILD_DIR/lua-root/usr/local/openresty/lua/include'
|
export LUA_INC='$OPENRESTY_BUILD_DIR/lua-root/usr/local/openresty/lua/include'
|
||||||
cd ..
|
cd ..
|
||||||
cd nginx-0.8.54
|
cd nginx-1.0.4
|
||||||
./configure --prefix=/usr/local/openresty/nginx \
|
./configure --prefix=/usr/local/openresty/nginx \
|
||||||
--with-cc-opt='-O2' \
|
--with-cc-opt='-O2' \
|
||||||
--add-module=../echo-nginx-module-0.36rc4 \
|
--add-module=../echo-nginx-module-0.37rc1 \
|
||||||
--add-module=../xss-nginx-module-0.03rc3 \
|
--add-module=../xss-nginx-module-0.03rc3 \
|
||||||
--add-module=../ngx_devel_kit-0.2.17 \
|
--add-module=../ngx_devel_kit-0.2.17 \
|
||||||
--add-module=../set-misc-nginx-module-0.21 \
|
--add-module=../set-misc-nginx-module-0.21 \
|
||||||
--add-module=../form-input-nginx-module-0.07rc4 \
|
--add-module=../form-input-nginx-module-0.07rc4 \
|
||||||
--add-module=../encrypted-session-nginx-module-0.01 \
|
--add-module=../encrypted-session-nginx-module-0.01 \
|
||||||
--add-module=../drizzle-nginx-module-0.0.15rc13 \
|
--add-module=../drizzle-nginx-module-0.1.1rc1 \
|
||||||
--add-module=../ngx_lua-0.1.6rc15 \
|
--add-module=../ngx_lua-0.2.0 \
|
||||||
--add-module=../headers-more-nginx-module-0.15rc3 \
|
--add-module=../headers-more-nginx-module-0.15 \
|
||||||
--add-module=../srcache-nginx-module-0.12rc5 \
|
--add-module=../srcache-nginx-module-0.12 \
|
||||||
--add-module=../array-var-nginx-module-0.02 \
|
--add-module=../array-var-nginx-module-0.02 \
|
||||||
--add-module=../memc-nginx-module-0.12rc2 \
|
--add-module=../memc-nginx-module-0.12 \
|
||||||
--add-module=../redis2-nginx-module-0.07rc3 \
|
--add-module=../redis2-nginx-module-0.07rc5 \
|
||||||
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
||||||
--add-module=../auth-request-nginx-module-0.2 \
|
--add-module=../auth-request-nginx-module-0.2 \
|
||||||
--add-module=../rds-json-nginx-module-0.11rc2 \
|
--add-module=../rds-json-nginx-module-0.11 \
|
||||||
--with-http_ssl_module
|
--with-http_ssl_module
|
||||||
cd ../..
|
cd ../..
|
||||||
--- makefile
|
--- makefile
|
||||||
@ -860,11 +860,11 @@ cd ../..
|
|||||||
|
|
||||||
all:
|
all:
|
||||||
cd build/lua-5.1.4 && $(MAKE) solaris
|
cd build/lua-5.1.4 && $(MAKE) solaris
|
||||||
cd build/nginx-0.8.54 && $(MAKE)
|
cd build/nginx-1.0.4 && $(MAKE)
|
||||||
|
|
||||||
install:
|
install:
|
||||||
cd build/lua-5.1.4 && $(MAKE) install INSTALL_TOP=$(DESTDIR)/usr/local/openresty/lua
|
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)
|
cd build/nginx-1.0.4 && $(MAKE) install DESTDIR=$(DESTDIR)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf build
|
rm -rf build
|
||||||
@ -890,29 +890,29 @@ export LIBDRIZZLE_LIB='/opt/drizzle/lib'
|
|||||||
export LIBDRIZZLE_INC='/opt/drizzle/include/libdrizzle-1.0'
|
export LIBDRIZZLE_INC='/opt/drizzle/include/libdrizzle-1.0'
|
||||||
cd lua-5.1.4
|
cd lua-5.1.4
|
||||||
make linux
|
make linux
|
||||||
make install INSTALL_TOP=/home/agentz/git/ngx_openresty/ngx_openresty-0.8.54.8rc1/build/lua-root/usr/local/openresty/lua
|
make install INSTALL_TOP=/home/agentz/git/ngx_openresty/ngx_openresty-1.0.4.0/build/lua-root/usr/local/openresty/lua
|
||||||
export LUA_LIB='/home/agentz/git/ngx_openresty/ngx_openresty-0.8.54.8rc1/build/lua-root/usr/local/openresty/lua/lib'
|
export LUA_LIB='/home/agentz/git/ngx_openresty/ngx_openresty-1.0.4.0/build/lua-root/usr/local/openresty/lua/lib'
|
||||||
export LUA_INC='/home/agentz/git/ngx_openresty/ngx_openresty-0.8.54.8rc1/build/lua-root/usr/local/openresty/lua/include'
|
export LUA_INC='/home/agentz/git/ngx_openresty/ngx_openresty-1.0.4.0/build/lua-root/usr/local/openresty/lua/include'
|
||||||
cd ..
|
cd ..
|
||||||
cd nginx-0.8.54
|
cd nginx-1.0.4
|
||||||
./configure --prefix=/usr/local/openresty/nginx \
|
./configure --prefix=/usr/local/openresty/nginx \
|
||||||
--with-cc-opt='-O2' \
|
--with-cc-opt='-O2' \
|
||||||
--add-module=../echo-nginx-module-0.36rc4 \
|
--add-module=../echo-nginx-module-0.37rc1 \
|
||||||
--add-module=../xss-nginx-module-0.03rc3 \
|
--add-module=../xss-nginx-module-0.03rc3 \
|
||||||
--add-module=../ngx_devel_kit-0.2.17 \
|
--add-module=../ngx_devel_kit-0.2.17 \
|
||||||
--add-module=../set-misc-nginx-module-0.21 \
|
--add-module=../set-misc-nginx-module-0.21 \
|
||||||
--add-module=../form-input-nginx-module-0.07rc4 \
|
--add-module=../form-input-nginx-module-0.07rc4 \
|
||||||
--add-module=../encrypted-session-nginx-module-0.01 \
|
--add-module=../encrypted-session-nginx-module-0.01 \
|
||||||
--add-module=../drizzle-nginx-module-0.0.15rc13 \
|
--add-module=../drizzle-nginx-module-0.1.1rc1 \
|
||||||
--add-module=../ngx_lua-0.1.6rc15 \
|
--add-module=../ngx_lua-0.2.0 \
|
||||||
--add-module=../headers-more-nginx-module-0.15rc3 \
|
--add-module=../headers-more-nginx-module-0.15 \
|
||||||
--add-module=../srcache-nginx-module-0.12rc5 \
|
--add-module=../srcache-nginx-module-0.12 \
|
||||||
--add-module=../array-var-nginx-module-0.02 \
|
--add-module=../array-var-nginx-module-0.02 \
|
||||||
--add-module=../memc-nginx-module-0.12rc2 \
|
--add-module=../memc-nginx-module-0.12 \
|
||||||
--add-module=../redis2-nginx-module-0.07rc3 \
|
--add-module=../redis2-nginx-module-0.07rc5 \
|
||||||
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
||||||
--add-module=../auth-request-nginx-module-0.2 \
|
--add-module=../auth-request-nginx-module-0.2 \
|
||||||
--add-module=../rds-json-nginx-module-0.11rc2 \
|
--add-module=../rds-json-nginx-module-0.11 \
|
||||||
--with-ld-opt='-Wl,-rpath,/opt/drizzle/lib' \
|
--with-ld-opt='-Wl,-rpath,/opt/drizzle/lib' \
|
||||||
--with-http_ssl_module
|
--with-http_ssl_module
|
||||||
cd ../..
|
cd ../..
|
||||||
@ -922,11 +922,11 @@ cd ../..
|
|||||||
|
|
||||||
all:
|
all:
|
||||||
cd build/lua-5.1.4 && $(MAKE) linux
|
cd build/lua-5.1.4 && $(MAKE) linux
|
||||||
cd build/nginx-0.8.54 && $(MAKE)
|
cd build/nginx-1.0.4 && $(MAKE)
|
||||||
|
|
||||||
install:
|
install:
|
||||||
cd build/lua-5.1.4 && $(MAKE) install INSTALL_TOP=$(DESTDIR)/usr/local/openresty/lua
|
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)
|
cd build/nginx-1.0.4 && $(MAKE) install DESTDIR=$(DESTDIR)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf build
|
rm -rf build
|
||||||
|
10
util/configure
vendored
10
util/configure
vendored
@ -5,7 +5,6 @@ use strict;
|
|||||||
use warnings;
|
use warnings;
|
||||||
|
|
||||||
use File::Spec;
|
use File::Spec;
|
||||||
use ExtUtils::MakeMaker ();
|
|
||||||
|
|
||||||
sub shell ($@);
|
sub shell ($@);
|
||||||
sub env ($$);
|
sub env ($$);
|
||||||
@ -614,12 +613,15 @@ sub can_run {
|
|||||||
|
|
||||||
#warn "can run: @_\n";
|
#warn "can run: @_\n";
|
||||||
my $_cmd = $cmd;
|
my $_cmd = $cmd;
|
||||||
return $_cmd if (-x $_cmd or $_cmd = MM->maybe_command($_cmd));
|
return $_cmd if -x $_cmd;
|
||||||
|
|
||||||
for my $dir ((split /$Config::Config{path_sep}/, $ENV{PATH}), '.') {
|
# FIXME: this is a hack; MSWin32 is not supported anyway
|
||||||
|
my $path_sep = ':';
|
||||||
|
|
||||||
|
for my $dir ((split /$path_sep/, $ENV{PATH}), '.') {
|
||||||
next if $dir eq '';
|
next if $dir eq '';
|
||||||
my $abs = File::Spec->catfile($dir, $_[0]);
|
my $abs = File::Spec->catfile($dir, $_[0]);
|
||||||
return $abs if (-x $abs or $abs = MM->maybe_command($abs));
|
return $abs if -x $abs;
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
@ -32,17 +32,23 @@ sed -i $"s/NGINX_VERSION \".unknown\"/NGINX_VERSION \".$minor_ver\"/" \
|
|||||||
|
|
||||||
patch -p2 < server_header.patch || exit 1
|
patch -p2 < server_header.patch || exit 1
|
||||||
|
|
||||||
patch -p1 < $root/patches/nginx-$main_ver-redirect_memcpy_overlap.patch || exit 1
|
#patch -p1 < $root/patches/nginx-$main_ver-redirect_memcpy_overlap.patch || exit 1
|
||||||
|
|
||||||
patch -p1 < $root/patches/nginx-$main_ver-no_error_pages.patch || exit 1
|
patch -p1 < $root/patches/nginx-$main_ver-no_error_pages.patch || exit 1
|
||||||
|
|
||||||
patch -p1 < $root/patches/nginx-$main_ver-no_Werror.patch || exit 1
|
patch -p1 < $root/patches/nginx-$main_ver-no_Werror.patch || exit 1
|
||||||
|
|
||||||
|
patch -p1 < $root/patches/nginx-$main_ver-request_body_preread_fix.patch || exit 1
|
||||||
|
|
||||||
|
patch -p1 < $root/patches/nginx-$main_ver-request_body_in_single_buf.patch || exit 1
|
||||||
|
|
||||||
|
patch -p1 -l < $root/patches/nginx-$main_ver-subrequest_loop.patch || exit 1
|
||||||
|
|
||||||
rm -f *.patch || exit 1
|
rm -f *.patch || exit 1
|
||||||
|
|
||||||
cd .. || exit 1
|
cd .. || exit 1
|
||||||
|
|
||||||
ver=0.36rc6
|
ver=0.37rc1
|
||||||
$root/util/get-tarball "http://github.com/agentzh/echo-nginx-module/tarball/v$ver" -O echo-nginx-module-$ver.tar.gz || exit 1
|
$root/util/get-tarball "http://github.com/agentzh/echo-nginx-module/tarball/v$ver" -O echo-nginx-module-$ver.tar.gz || exit 1
|
||||||
tar -xzf echo-nginx-module-$ver.tar.gz
|
tar -xzf echo-nginx-module-$ver.tar.gz
|
||||||
mv agentzh-echo-nginx-module-* echo-nginx-module-$ver
|
mv agentzh-echo-nginx-module-* echo-nginx-module-$ver
|
||||||
@ -62,26 +68,26 @@ $root/util/get-tarball "http://github.com/agentzh/set-misc-nginx-module/tarball/
|
|||||||
tar -xzf set-misc-nginx-module-$ver.tar.gz || exit 1
|
tar -xzf set-misc-nginx-module-$ver.tar.gz || exit 1
|
||||||
mv agentzh-set-misc-nginx-module-* set-misc-nginx-module-$ver || exit 1
|
mv agentzh-set-misc-nginx-module-* set-misc-nginx-module-$ver || exit 1
|
||||||
|
|
||||||
ver=0.11rc2
|
ver=0.11
|
||||||
$root/util/get-tarball "http://github.com/agentzh/rds-json-nginx-module/tarball/v$ver" -O rds-json-nginx-module-$ver.tar.gz || exit 1
|
$root/util/get-tarball "http://github.com/agentzh/rds-json-nginx-module/tarball/v$ver" -O rds-json-nginx-module-$ver.tar.gz || exit 1
|
||||||
tar -xzf rds-json-nginx-module-$ver.tar.gz || exit 1
|
tar -xzf rds-json-nginx-module-$ver.tar.gz || exit 1
|
||||||
mv agentzh-rds-json-nginx-module-* rds-json-nginx-module-$ver || exit 1
|
mv agentzh-rds-json-nginx-module-* rds-json-nginx-module-$ver || exit 1
|
||||||
|
|
||||||
ver=0.15rc3
|
ver=0.15
|
||||||
$root/util/get-tarball "http://github.com/agentzh/headers-more-nginx-module/tarball/v$ver" -O headers-more-nginx-module-$ver.tar.gz || exit 1
|
$root/util/get-tarball "http://github.com/agentzh/headers-more-nginx-module/tarball/v$ver" -O headers-more-nginx-module-$ver.tar.gz || exit 1
|
||||||
tar -xzf headers-more-nginx-module-$ver.tar.gz || exit 1
|
tar -xzf headers-more-nginx-module-$ver.tar.gz || exit 1
|
||||||
mv agentzh-headers-more-nginx-module-* headers-more-nginx-module-$ver || exit 1
|
mv agentzh-headers-more-nginx-module-* headers-more-nginx-module-$ver || exit 1
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
ver=0.0.15rc13
|
ver=0.1.1rc1
|
||||||
$root/util/get-tarball "http://github.com/chaoslawful/drizzle-nginx-module/tarball/v$ver" -O drizzle-nginx-module-$ver.tar.gz || exit 1
|
$root/util/get-tarball "http://github.com/chaoslawful/drizzle-nginx-module/tarball/v$ver" -O drizzle-nginx-module-$ver.tar.gz || exit 1
|
||||||
tar -xzf drizzle-nginx-module-$ver.tar.gz || exit 1
|
tar -xzf drizzle-nginx-module-$ver.tar.gz || exit 1
|
||||||
mv chaoslawful-drizzle-nginx-module-* drizzle-nginx-module-$ver || exit 1
|
mv chaoslawful-drizzle-nginx-module-* drizzle-nginx-module-$ver || exit 1
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
ver=0.1.6rc17
|
ver=0.2.0
|
||||||
$root/util/get-tarball "http://github.com/chaoslawful/lua-nginx-module/tarball/v$ver" -O lua-nginx-module-$ver.tar.gz || exit 1
|
$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
|
tar -xzf lua-nginx-module-$ver.tar.gz || exit 1
|
||||||
mv chaoslawful-lua-nginx-module-* ngx_lua-$ver || exit 1
|
mv chaoslawful-lua-nginx-module-* ngx_lua-$ver || exit 1
|
||||||
@ -95,14 +101,14 @@ mv agentzh-array-var-nginx-module-* array-var-nginx-module-$ver || exit 1
|
|||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
ver=0.12rc2
|
ver=0.12
|
||||||
$root/util/get-tarball "http://github.com/agentzh/memc-nginx-module/tarball/v$ver" -O memc-nginx-module-$ver.tar.gz || exit 1
|
$root/util/get-tarball "http://github.com/agentzh/memc-nginx-module/tarball/v$ver" -O memc-nginx-module-$ver.tar.gz || exit 1
|
||||||
tar -xzf memc-nginx-module-$ver.tar.gz || exit 1
|
tar -xzf memc-nginx-module-$ver.tar.gz || exit 1
|
||||||
mv agentzh-memc-nginx-module-* memc-nginx-module-$ver || exit 1
|
mv agentzh-memc-nginx-module-* memc-nginx-module-$ver || exit 1
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
ver=0.12rc6
|
ver=0.12
|
||||||
$root/util/get-tarball "http://github.com/agentzh/srcache-nginx-module/tarball/v$ver" -O srcache-nginx-module-$ver.tar.gz || exit 1
|
$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
|
tar -xzf srcache-nginx-module-$ver.tar.gz || exit 1
|
||||||
mv agentzh-srcache-nginx-module-* srcache-nginx-module-$ver || exit 1
|
mv agentzh-srcache-nginx-module-* srcache-nginx-module-$ver || exit 1
|
||||||
@ -152,7 +158,7 @@ mv FRiCKLE-ngx_postgres-* ngx_postgres-$ver || exit 1
|
|||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
ver=0.07rc4
|
ver=0.07rc5
|
||||||
$root/util/get-tarball "http://github.com/agentzh/redis2-nginx-module/tarball/v$ver" -O redis2-nginx-module-$ver.tar.gz || exit 1
|
$root/util/get-tarball "http://github.com/agentzh/redis2-nginx-module/tarball/v$ver" -O redis2-nginx-module-$ver.tar.gz || exit 1
|
||||||
tar -xzf redis2-nginx-module-$ver.tar.gz || exit 1
|
tar -xzf redis2-nginx-module-$ver.tar.gz || exit 1
|
||||||
mv agentzh-redis2-nginx-module-* redis2-nginx-module-$ver || exit 1
|
mv agentzh-redis2-nginx-module-* redis2-nginx-module-$ver || exit 1
|
||||||
|
Reference in New Issue
Block a user