mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/nginx to 1.8.1-3
This commit is contained in:
parent
03d695142f
commit
dcee3f44ce
1 changed files with 29 additions and 21 deletions
|
@ -10,7 +10,7 @@
|
|||
|
||||
pkgname=nginx
|
||||
pkgver=1.8.1
|
||||
pkgrel=1
|
||||
pkgrel=3
|
||||
pkgdesc='Lightweight HTTP server and IMAP/POP3 proxy server'
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://nginx.org'
|
||||
|
@ -34,6 +34,32 @@ md5sums=('2e91695074dbdfbf1bcec0ada9fda462'
|
|||
'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-http_spdy_module
|
||||
)
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
|
@ -54,26 +80,8 @@ build() {
|
|||
--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 \
|
||||
${_common_flags[@]} \
|
||||
${_stable_flags[@]}
|
||||
|
||||
make
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue