[arch-commits] Commit in nginx/trunk (PKGBUILD)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Mon Feb 29 15:32:47 UTC 2016
Date: Monday, February 29, 2016 @ 16:32:47
Author: bpiotrowski
Revision: 260403
Separate common from stable-only flags
Modified:
nginx/trunk/PKGBUILD
----------+
PKGBUILD | 44 ++++++++++++++++++++++++--------------------
1 file changed, 24 insertions(+), 20 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-02-29 15:24:42 UTC (rev 260402)
+++ PKGBUILD 2016-02-29 15:32:47 UTC (rev 260403)
@@ -31,27 +31,30 @@
'5dd4d09914a4403b9df778ec1d66167c'
'19a26a61c8afe78defb8b4544f79a9a0')
+_common_flags=(
+ --with-imap
+ --with-imap_ssl_module
+ --with-ipv6
+ --with-pcre-jit
+ --with-file-aio
+ --with-http_addition_module
+ --with-http_auth_request_module
+ --with-http_dav_module
+ --with-http_degradation_module
+ --with-http_flv_module
+ --with-http_geoip_module
+ --with-http_gunzip_module
+ --with-http_gzip_static_module
+ --with-http_mp4_module
+ --with-http_realip_module
+ --with-http_secure_link_module
+ --with-http_ssl_module
+ --with-http_stub_status_module
+ --with-http_sub_module
+)
+
_stable_flags=(
- --with-imap \
- --with-imap_ssl_module \
- --with-ipv6 \
- --with-pcre-jit \
- --with-file-aio \
- --with-http_addition_module \
- --with-http_auth_request_module \
- --with-http_dav_module \
- --with-http_degradation_module \
- --with-http_flv_module \
- --with-http_geoip_module \
- --with-http_gunzip_module \
- --with-http_gzip_static_module \
- --with-http_mp4_module \
- --with-http_realip_module \
- --with-http_secure_link_module \
- --with-http_spdy_module \
- --with-http_ssl_module \
- --with-http_stub_status_module \
- --with-http_sub_module \
+ --with-http_spdy_module
)
build() {
@@ -72,6 +75,7 @@
--http-fastcgi-temp-path=/var/lib/nginx/fastcgi \
--http-scgi-temp-path=/var/lib/nginx/scgi \
--http-uwsgi-temp-path=/var/lib/nginx/uwsgi \
+ ${_common_flags[@]} \
${_stable_flags[@]}
make
More information about the arch-commits
mailing list