diff options
Diffstat (limited to 'network/nginx/nginx.SlackBuild')
-rw-r--r-- | network/nginx/nginx.SlackBuild | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/network/nginx/nginx.SlackBuild b/network/nginx/nginx.SlackBuild index d652ddaaf6..654318b418 100644 --- a/network/nginx/nginx.SlackBuild +++ b/network/nginx/nginx.SlackBuild @@ -28,8 +28,8 @@ # Special thanks to Thomas Morper for some configuration adjustments tips PRGNAM=nginx -VERSION=${VERSION:-1.10.3} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.12.1} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -93,7 +93,8 @@ fi # Enable GeoIP support. if [ "${GEOIP:-no}" == "yes" ]; then - GEOIP_MOD="--with-http_geoip_module${DYNAMIC_MODULE}" + GEOIP_MOD="--with-http_geoip_module${DYNAMIC_MODULE} + --with-stream_geoip_module${DYNAMIC_MODULE}" else GEOIP_MOD="" fi @@ -107,6 +108,13 @@ else ADD_MODULE="--add-module=$ADDMODULE" fi +# Enable gperftools support. +if [ "${GPERF:-no}" == "yes" ]; then + GPERF_MOD="--with-google_perftools_module" +else + GPERF_MOD="" +fi + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -125,7 +133,6 @@ CXXFLAGS="$SLKCFLAGS" \ --http-uwsgi-temp-path=/var/lib/nginx/uwsgi \ --http-scgi-temp-path=/var/lib/nginx/scgi \ --with-file-aio \ - --with-ipv6 \ --with-select_module \ --with-poll_module \ --with-http_ssl_module \ @@ -140,21 +147,26 @@ CXXFLAGS="$SLKCFLAGS" \ --with-http_mp4_module \ --with-http_gunzip_module \ --with-http_gzip_static_module \ + --with-http_auth_request_module \ --with-http_random_index_module \ --with-http_secure_link_module \ --with-http_degradation_module \ --with-http_slice_module \ --with-http_stub_status_module \ --with-http_perl_module${DYNAMIC_MODULE} \ - --with-http_auth_request_module \ --with-mail${DYNAMIC_MODULE} \ --with-mail_ssl_module \ --with-stream${DYNAMIC_MODULE} \ --with-stream_ssl_module \ + --with-stream_realip_module \ + --with-stream_ssl_preread_module \ + --with-cpp_test_module \ + --with-compat \ --with-pcre \ --with-pcre-jit \ --with-libatomic \ $GEOIP_MOD \ + $GPERF_MOD \ $ADD_MODULE make |