2004-07-26 02:34:14 +08:00
|
|
|
|
2004-09-30 00:00:49 +08:00
|
|
|
# Copyright (C) Igor Sysoev
|
|
|
|
|
|
|
|
|
2004-07-26 02:34:14 +08:00
|
|
|
if [ $OPENSSL != NONE ]; then
|
|
|
|
CORE_INCS="$CORE_INCS $OPENSSL/include"
|
|
|
|
|
|
|
|
case "$CC" in
|
2009-04-16 03:46:24 +08:00
|
|
|
|
|
|
|
cl|bcc32)
|
|
|
|
have=NGX_OPENSSL . auto/have
|
|
|
|
have=NGX_SSL . auto/have
|
|
|
|
|
|
|
|
LINK_DEPS="$LINK_DEPS $OPENSSL/out32/ssleay32.lib"
|
|
|
|
CORE_LIBS="$CORE_LIBS $OPENSSL/out32/ssleay32.lib"
|
|
|
|
|
|
|
|
LINK_DEPS="$LINK_DEPS $OPENSSL/out32/libeay32.lib"
|
|
|
|
CORE_LIBS="$CORE_LIBS $OPENSSL/out32/libeay32.lib"
|
|
|
|
|
|
|
|
# libeay32.lib requires gdi32.lib and advapi32.lib
|
|
|
|
CORE_LIBS="$CORE_LIBS gdi32.lib advapi32.lib"
|
|
|
|
;;
|
|
|
|
|
2004-07-26 02:34:14 +08:00
|
|
|
*)
|
|
|
|
have=NGX_OPENSSL . auto/have
|
2005-11-15 21:30:52 +08:00
|
|
|
have=NGX_SSL . auto/have
|
2004-07-26 02:34:14 +08: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 21:03:58 +08:00
|
|
|
esac
|
2004-07-26 02:34:14 +08: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 21:03:58 +08:00
|
|
|
case "$NGX_SYSTEM" in
|
|
|
|
SunOS|Linux)
|
|
|
|
CORE_LIBS="$CORE_LIBS -ldl"
|
|
|
|
;;
|
2004-07-26 02:34:14 +08: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 21:03:58 +08:00
|
|
|
|
2004-07-26 02:34:14 +08:00
|
|
|
else
|
|
|
|
|
2005-12-05 21:18:09 +08:00
|
|
|
case "$NGX_PLATFORM" in
|
|
|
|
|
|
|
|
win32)
|
|
|
|
have=NGX_OPENSSL . auto/have
|
2005-11-15 21:30:52 +08:00
|
|
|
have=NGX_SSL . auto/have
|
2004-07-26 02:34:14 +08:00
|
|
|
OPENSSL=YES
|
2005-10-12 21:50:36 +08:00
|
|
|
|
2005-12-05 21:18:09 +08:00
|
|
|
CORE_INCS="$CORE_INCS c:/openssl/include"
|
|
|
|
CORE_LIBS="$CORE_LIBS c:/openssl/ssleay32.lib"
|
|
|
|
CORE_LIBS="$CORE_LIBS c:/openssl/libeay32.lib"
|
|
|
|
|
2009-04-16 03:46:24 +08:00
|
|
|
# libeay32.lib requires gdi32.lib and advapi32.lib
|
|
|
|
CORE_LIBS="$CORE_LIBS gdi32.lib advapi32.lib"
|
2005-12-05 21:18:09 +08:00
|
|
|
;;
|
|
|
|
|
|
|
|
*)
|
|
|
|
OPENSSL=NO
|
2004-07-26 02:34:14 +08:00
|
|
|
|
2005-12-05 21:18:09 +08:00
|
|
|
ngx_feature="OpenSSL library"
|
|
|
|
ngx_feature_name="NGX_OPENSSL"
|
|
|
|
ngx_feature_run=no
|
|
|
|
ngx_feature_incs="#include <openssl/ssl.h>"
|
2006-11-27 19:07:09 +08:00
|
|
|
ngx_feature_path=
|
2005-12-05 21:18:09 +08: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-26 02:34:14 +08:00
|
|
|
|
|
|
|
fi
|