[arch-commits] Commit in nginx/trunk (PKGBUILD)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Mon Feb 29 15:24:42 UTC 2016
Date: Monday, February 29, 2016 @ 16:24:42
Author: bpiotrowski
Revision: 260402
Move some configure flags to an array
Modified:
nginx/trunk/PKGBUILD
----------+
PKGBUILD | 46 +++++++++++++++++++++++++---------------------
1 file changed, 25 insertions(+), 21 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-02-29 15:18:11 UTC (rev 260401)
+++ PKGBUILD 2016-02-29 15:24:42 UTC (rev 260402)
@@ -7,7 +7,7 @@
pkgname=nginx
pkgver=1.8.1
-pkgrel=1
+pkgrel=2
pkgdesc='Lightweight HTTP server and IMAP/POP3 proxy server'
arch=('i686' 'x86_64')
url='http://nginx.org'
@@ -31,6 +31,29 @@
'5dd4d09914a4403b9df778ec1d66167c'
'19a26a61c8afe78defb8b4544f79a9a0')
+_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 \
+)
+
build() {
cd $pkgname-$pkgver
@@ -49,26 +72,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 \
- --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 \
+ ${_stable_flags[@]}
make
}
More information about the arch-commits
mailing list