diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2015-07-11 05:53:07 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-07-11 14:10:55 +0700 |
commit | 27542a156c0fc06665e2ff76378603b5dea06b60 (patch) | |
tree | 935298ab94085e684ebd823e4cfd303358233fbf /network/nginx/nginx.SlackBuild | |
parent | bc4882ddce2780c7ad38f8c89c3b44748298fefc (diff) |
network/nginx: Updated for version 1.8.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/nginx/nginx.SlackBuild')
-rw-r--r-- | network/nginx/nginx.SlackBuild | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/network/nginx/nginx.SlackBuild b/network/nginx/nginx.SlackBuild index 8d9946451d50f..de05bf525b8fc 100644 --- a/network/nginx/nginx.SlackBuild +++ b/network/nginx/nginx.SlackBuild @@ -28,7 +28,7 @@ # Special thanks to Thomas Morper for some configuration adjustments tips PRGNAM=nginx -VERSION=${VERSION:-1.6.3} +VERSION=${VERSION:-1.8.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -79,12 +79,23 @@ sed -i \ -e '/root[ ]*html/s|html;|/var/www/&|' \ -e '$s|.*| include /etc/nginx/conf.d/\*.conf;\n&|' conf/$PRGNAM.conf -if [ "${USE_GEOIP:-no}" == "yes" ]; then +# Enable GeoIP support. +if [ "${GEOIP:-no}" == "yes" ]; then GEOIP_MOD="--with-http_geoip_module" else GEOIP_MOD="" fi +# Endable libatomic_ops support. +if [ "${LIBATOMIC:-no}" == "yes" ]; then + LIBATOMIC_MOD="--with-libatomic" +else + LIBATOMIC_MOD="" +fi + +# Add extra modules not included in nginx. +ADDMODULE=${ADDMODULE:-} + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -104,12 +115,14 @@ CXXFLAGS="$SLKCFLAGS" \ --http-scgi-temp-path=/var/lib/nginx/scgi \ --with-file-aio \ --with-ipv6 \ + --with-rtsig_module \ --with-select_module \ --with-poll_module \ --with-http_ssl_module \ --with-http_realip_module \ --with-http_addition_module \ --with-http_xslt_module \ + --with-http_image_filter_module \ --with-http_sub_module \ --with-http_dav_module \ --with-http_flv_module \ @@ -125,7 +138,9 @@ CXXFLAGS="$SLKCFLAGS" \ --with-mail \ --with-mail_ssl_module \ --with-http_spdy_module \ - $GEOIP_MOD + $GEOIP_MOD \ + $LIBATOMIC_MOD \ + --add-module="$ADDMODULE" make make install \ |