2004-07-25 13:34:14 -05:00
|
|
|
|
2004-09-29 11:00:49 -05:00
|
|
|
# Copyright (C) Igor Sysoev
|
|
|
|
|
|
|
|
|
2004-07-25 13:34:14 -05:00
|
|
|
if [ $OPENSSL != NONE ]; then
|
|
|
|
CORE_INCS="$CORE_INCS $OPENSSL/include"
|
|
|
|
|
|
|
|
case "$CC" in
|
|
|
|
*)
|
|
|
|
have=NGX_OPENSSL . auto/have
|
2005-11-15 07:30:52 -06:00
|
|
|
have=NGX_SSL . auto/have
|
2004-07-25 13:34:14 -05:00
|
|
|
LINK_DEPS="$LINK_DEPS $OPENSSL/libssl.a $OPENSSL/libcrypto.a"
|
|
|
|
CORE_LIBS="$CORE_LIBS $OPENSSL/libssl.a $OPENSSL/libcrypto.a"
|
|
|
|
;;
|
nginx-0.1.14-RELEASE import
*) Feature: the autoconfiguration directives:
--http-client-body-temp-path=PATH, --http-proxy-temp-path=PATH, and
--http-fastcgi-temp-path=PATH
*) Change: the directory name for the temporary files with the client
request body is specified by directive client_body_temp_path, by
default it is <prefix>/client_body_temp.
*) Feature: the ngx_http_fastcgi_module and the directives:
fastcgi_pass, fastcgi_root, fastcgi_index, fastcgi_params,
fastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout,
fastcgi_send_lowat, fastcgi_header_buffer_size, fastcgi_buffers,
fastcgi_busy_buffers_size, fastcgi_temp_path,
fastcgi_max_temp_file_size, fastcgi_temp_file_write_size,
fastcgi_next_upstream, and fastcgi_x_powered_by.
*) Bugfix: the "[alert] zero size buf" error; the bug had appeared in
0.1.3.
*) Change: the URI must be specified after the host name in the
proxy_pass directive.
*) Change: the %3F symbol in the URI was considered as the argument
string start.
*) Feature: the unix domain sockets support in the
ngx_http_proxy_module.
*) Feature: the ssl_engine and ssl_ciphers directives.
Thanks to Sergey Skvortsov for SSL-accelerator.
2005-01-18 07:03:58 -06:00
|
|
|
esac
|
2004-07-25 13:34:14 -05:00
|
|
|
|
nginx-0.1.14-RELEASE import
*) Feature: the autoconfiguration directives:
--http-client-body-temp-path=PATH, --http-proxy-temp-path=PATH, and
--http-fastcgi-temp-path=PATH
*) Change: the directory name for the temporary files with the client
request body is specified by directive client_body_temp_path, by
default it is <prefix>/client_body_temp.
*) Feature: the ngx_http_fastcgi_module and the directives:
fastcgi_pass, fastcgi_root, fastcgi_index, fastcgi_params,
fastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout,
fastcgi_send_lowat, fastcgi_header_buffer_size, fastcgi_buffers,
fastcgi_busy_buffers_size, fastcgi_temp_path,
fastcgi_max_temp_file_size, fastcgi_temp_file_write_size,
fastcgi_next_upstream, and fastcgi_x_powered_by.
*) Bugfix: the "[alert] zero size buf" error; the bug had appeared in
0.1.3.
*) Change: the URI must be specified after the host name in the
proxy_pass directive.
*) Change: the %3F symbol in the URI was considered as the argument
string start.
*) Feature: the unix domain sockets support in the
ngx_http_proxy_module.
*) Feature: the ssl_engine and ssl_ciphers directives.
Thanks to Sergey Skvortsov for SSL-accelerator.
2005-01-18 07:03:58 -06:00
|
|
|
case "$NGX_SYSTEM" in
|
|
|
|
SunOS|Linux)
|
|
|
|
CORE_LIBS="$CORE_LIBS -ldl"
|
|
|
|
;;
|
2004-07-25 13:34:14 -05:00
|
|
|
esac
|
|
|
|
|
nginx-0.1.14-RELEASE import
*) Feature: the autoconfiguration directives:
--http-client-body-temp-path=PATH, --http-proxy-temp-path=PATH, and
--http-fastcgi-temp-path=PATH
*) Change: the directory name for the temporary files with the client
request body is specified by directive client_body_temp_path, by
default it is <prefix>/client_body_temp.
*) Feature: the ngx_http_fastcgi_module and the directives:
fastcgi_pass, fastcgi_root, fastcgi_index, fastcgi_params,
fastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout,
fastcgi_send_lowat, fastcgi_header_buffer_size, fastcgi_buffers,
fastcgi_busy_buffers_size, fastcgi_temp_path,
fastcgi_max_temp_file_size, fastcgi_temp_file_write_size,
fastcgi_next_upstream, and fastcgi_x_powered_by.
*) Bugfix: the "[alert] zero size buf" error; the bug had appeared in
0.1.3.
*) Change: the URI must be specified after the host name in the
proxy_pass directive.
*) Change: the %3F symbol in the URI was considered as the argument
string start.
*) Feature: the unix domain sockets support in the
ngx_http_proxy_module.
*) Feature: the ssl_engine and ssl_ciphers directives.
Thanks to Sergey Skvortsov for SSL-accelerator.
2005-01-18 07:03:58 -06:00
|
|
|
|
2004-07-25 13:34:14 -05:00
|
|
|
else
|
|
|
|
|
2005-12-05 07:18:09 -06:00
|
|
|
case "$NGX_PLATFORM" in
|
|
|
|
|
|
|
|
win32)
|
|
|
|
have=NGX_OPENSSL . auto/have
|
2005-11-15 07:30:52 -06:00
|
|
|
have=NGX_SSL . auto/have
|
2004-07-25 13:34:14 -05:00
|
|
|
OPENSSL=YES
|
2005-10-12 08:50:36 -05:00
|
|
|
|
2005-12-05 07:18:09 -06:00
|
|
|
CORE_INCS="$CORE_INCS c:/openssl/include"
|
|
|
|
CORE_LIBS="$CORE_LIBS c:/openssl/ssleay32.lib"
|
|
|
|
CORE_LIBS="$CORE_LIBS c:/openssl/libeay32.lib"
|
|
|
|
|
|
|
|
# libeay32.lib requires gdi32.lib
|
|
|
|
CORE_LIBS="$CORE_LIBS gdi32.lib"
|
|
|
|
# OpenSSL 0.8's libeay32.lib requires advapi32.lib
|
|
|
|
CORE_LIBS="$CORE_LIBS advapi32.lib"
|
|
|
|
;;
|
|
|
|
|
|
|
|
*)
|
|
|
|
OPENSSL=NO
|
2004-07-25 13:34:14 -05:00
|
|
|
|
2005-12-05 07:18:09 -06:00
|
|
|
ngx_feature="OpenSSL library"
|
|
|
|
ngx_feature_name="NGX_OPENSSL"
|
|
|
|
ngx_feature_run=no
|
|
|
|
ngx_feature_incs="#include <openssl/ssl.h>"
|
2006-11-27 05:07:09 -06:00
|
|
|
ngx_feature_path=
|
2005-12-05 07:18:09 -06:00
|
|
|
ngx_feature_libs="-lssl -lcrypto"
|
|
|
|
ngx_feature_test="SSL_library_init()"
|
|
|
|
. auto/feature
|
|
|
|
|
|
|
|
if [ $ngx_found = yes ]; then
|
|
|
|
have=NGX_SSL . auto/have
|
|
|
|
CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
|
|
|
|
OPENSSL=YES
|
|
|
|
|
|
|
|
case "$NGX_SYSTEM" in
|
|
|
|
SunOS)
|
|
|
|
CORE_LIBS="$CORE_LIBS -ldl"
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
fi
|
|
|
|
;;
|
|
|
|
|
|
|
|
esac
|
2004-07-25 13:34:14 -05:00
|
|
|
|
|
|
|
fi
|