summaryrefslogtreecommitdiff
path: root/www/nginx-devel/files
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2011-12-29 07:30:05 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2011-12-29 07:30:05 +0000
commit2e59e19637f9e8a387eee0759b25cac6fc383ca0 (patch)
treeb8665e7f2207f5c1de501cfb08924332856c0314 /www/nginx-devel/files
parentAdd naxsi third-party module, version 0.42. (diff)
Update third-party ngx_postgres module from 0.8 to 0.9.
Also remove needless patch. Do not bump PORTREVISION because these modules disabled by default. <ChangeLog> * Improve debug logging. From Yichun Zhang (agentzh). * Fix compatibility with poll, select and /dev/poll event models. Reported by Yichun Zhang (agentzh). * Fix compatibility with PostgreSQL 9.x. Reported by Yichun Zhang (agentzh). * Fix compatibility with nginx-1.1.4+. From Yichun Zhang (agentzh). * Enforce writing of proper SQL queries by replacing "row <row>" output format with "text" and returning whole result-set with values separated by newlines when using "postgres_output" directive. * Enforce writing of proper SQL queries by requiring result-set to contain exactly single value when using "binary_value" or "value" output formats when using "postgres_output" directive. * Fix "duplicated last chunk" issue. Reported by Silly Sad, diagnosed by Maxim Dounin. * Improve build-time PostgreSQL client library discovery process by using PostgreSQL's pg_config. Patch from Silly Sad. </ChangeLog>
Diffstat (limited to 'www/nginx-devel/files')
-rw-r--r--www/nginx-devel/files/extra-patch-ngx_postgres::config6
-rw-r--r--www/nginx-devel/files/extra-patch-ngx_postgres_output.c11
2 files changed, 3 insertions, 14 deletions
diff --git a/www/nginx-devel/files/extra-patch-ngx_postgres::config b/www/nginx-devel/files/extra-patch-ngx_postgres::config
index 1b00e802dcce..cfba3278ca87 100644
--- a/www/nginx-devel/files/extra-patch-ngx_postgres::config
+++ b/www/nginx-devel/files/extra-patch-ngx_postgres::config
@@ -1,6 +1,6 @@
---- ../ngx_postgres-0.8/config.orig 2011-07-12 19:06:52.000000000 +0400
-+++ ../ngx_postgres-0.8/config 2011-07-12 19:07:42.000000000 +0400
-@@ -29,12 +29,12 @@
+--- ../ngx_postgres-0.9/config.orig 2011-12-29 11:17:24.000000000 +0400
++++ ../ngx_postgres-0.9/config 2011-12-29 11:18:47.000000000 +0400
+@@ -48,12 +48,12 @@
if [ $ngx_found = no ]; then
# FreeBSD
diff --git a/www/nginx-devel/files/extra-patch-ngx_postgres_output.c b/www/nginx-devel/files/extra-patch-ngx_postgres_output.c
deleted file mode 100644
index 8ff45113ae77..000000000000
--- a/www/nginx-devel/files/extra-patch-ngx_postgres_output.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- ../ngx_postgres-0.8/src/ngx_postgres_output.c.orig 2011-09-20 13:00:59.000000000 +0400
-+++ ../ngx_postgres-0.8/src/ngx_postgres_output.c 2011-09-20 13:05:09.000000000 +0400
-@@ -624,7 +624,7 @@
- return rc;
- }
-
-- ngx_chain_update_chains(&u->free_bufs, &u->busy_bufs, &cl, u->output.tag);
-+ ngx_chain_update_chains(r->pool, &u->free_bufs, &u->busy_bufs, &cl, u->output.tag);
-
- dd("returning rc:%d", (int) rc);
- return rc;