mirror of
https://git.freebsd.org/ports.git
synced 2025-07-12 14:59:13 -04:00
Upgrade njs module from 8c01042 to f8c642a. <ChangeLog> *) Change: now in case of a client certificate verification error the $ssl_client_verify variable contains a string with the failure reason, for example, "FAILED:certificate has expired". *) Feature: the $ssl_ciphers, $ssl_curves, $ssl_client_v_start, $ssl_client_v_end, and $ssl_client_v_remain variables. *) Feature: the "volatile" parameter of the "map" directive. *) Bugfix: dependencies specified for a module were ignored while building dynamic modules. *) Bugfix: when using HTTP/2 and the "limit_req" or "auth_request" directives client request body might be corrupted; the bug had appeared in 1.11.0. *) Bugfix: a segmentation fault might occur in a worker process when using HTTP/2; the bug had appeared in 1.11.3. *) Bugfix: in the ngx_http_mp4_module. Thanks to Congcong Hu. *) Bugfix: in the ngx_http_perl_module. </ChangeLog>
23 lines
1.5 KiB
Text
23 lines
1.5 KiB
Text
--- ../fastdfs-nginx-module-5a8110f/src/config.orig 2016-10-12 16:09:34.075804000 +0200
|
|
+++ ../fastdfs-nginx-module-5a8110f/src/config 2016-10-12 16:10:43.916280000 +0200
|
|
@@ -3,16 +3,16 @@
|
|
if test -n "${ngx_module_link}"; then
|
|
ngx_module_type=HTTP
|
|
ngx_module_name=$ngx_addon_name
|
|
- ngx_module_incs="/usr/include/fastdfs /usr/include/fastcommon/"
|
|
+ ngx_module_incs="%%LOCALBASE%%/include/fastdfs %%LOCALBASE%%/include/fastcommon/"
|
|
ngx_module_libs="-lfastcommon -lfdfsclient"
|
|
ngx_module_srcs="$ngx_addon_dir/ngx_http_fastdfs_module.c"
|
|
ngx_module_deps=
|
|
- CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE='256*1024' -DFDFS_MOD_CONF_FILENAME='\"/etc/fdfs/mod_fastdfs.conf\"'"
|
|
+ CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE='256*1024' -DFDFS_MOD_CONF_FILENAME='\"%%PREFIX%%/etc/fdfs/mod_fastdfs.conf\"'"
|
|
. auto/module
|
|
else
|
|
HTTP_MODULES="$HTTP_MODULES ngx_http_fastdfs_module"
|
|
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_fastdfs_module.c"
|
|
- CORE_INCS="$CORE_INCS /usr/include/fastdfs /usr/include/fastcommon/"
|
|
+ CORE_INCS="$CORE_INCS %%LOCALBASE%%/include/fastdfs %%LOCALBASE%%/include/fastcommon/"
|
|
CORE_LIBS="$CORE_LIBS -lfastcommon -lfdfsclient"
|
|
- CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE='256*1024' -DFDFS_MOD_CONF_FILENAME='\"/etc/fdfs/mod_fastdfs.conf\"'"
|
|
+ CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE='256*1024' -DFDFS_MOD_CONF_FILENAME='\"%%PREFIX%%/etc/fdfs/mod_fastdfs.conf\"'"
|
|
fi
|