[arch-commits] Commit in nginx-mainline/trunk (PKGBUILD)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Mon Feb 29 15:37:51 UTC 2016


    Date: Monday, February 29, 2016 @ 16:37:50
  Author: bpiotrowski
Revision: 260404

upgpkg: nginx-mainline 1.9.12-1

- new upstream release
- sync changes with extra/nginx

Modified:
  nginx-mainline/trunk/PKGBUILD

----------+
 PKGBUILD |   58 ++++++++++++++++++++++++++++++++++------------------------
 1 file changed, 34 insertions(+), 24 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-02-29 15:32:47 UTC (rev 260403)
+++ PKGBUILD	2016-02-29 15:37:50 UTC (rev 260404)
@@ -4,13 +4,13 @@
 # Contributor: Drew DeVault
 
 pkgname=nginx-mainline
-pkgver=1.9.11
-pkgrel=3
+pkgver=1.9.12
+pkgrel=1
 pkgdesc='Lightweight HTTP server and IMAP/POP3 proxy server, mainline release'
 arch=('i686' 'x86_64')
 url='http://nginx.org'
 license=('custom')
-depends=('pcre' 'zlib' 'openssl')
+depends=('pcre' 'zlib' 'openssl' 'geoip')
 backup=('etc/nginx/fastcgi.conf'
         'etc/nginx/fastcgi_params'
         'etc/nginx/koi-win'
@@ -27,10 +27,38 @@
 source=($url/download/nginx-$pkgver.tar.gz
         service
         logrotate)
-md5sums=('76eb5853a1190e0cfc691aa21c545de3'
+md5sums=('0afe4a7e589a0de43b7b54aa055a4351'
          'ce9a06bcaf66ec4a3c4eb59b636e0dfd'
          '3441ce77cdd1aab6f0ab7e212698a8a7')
 
+_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
+)
+
+_mainline_flags=(
+  --with-http_v2_module
+  --with-threads
+  --with-stream
+)
+
 build() {
   cd $provides-$pkgver
   ./configure \
@@ -48,26 +76,8 @@
     --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-mail \
-    --with-mail_ssl_module \
-    --with-ipv6 \
-    --with-pcre-jit \
-    --with-file-aio \
-    --with-http_dav_module \
-    --with-http_gunzip_module \
-    --with-http_gzip_static_module \
-    --with-http_realip_module \
-    --with-http_v2_module \
-    --with-http_ssl_module \
-    --with-http_stub_status_module \
-    --with-http_addition_module \
-    --with-http_degradation_module \
-    --with-http_flv_module \
-    --with-http_mp4_module \
-    --with-http_secure_link_module \
-    --with-http_sub_module \
-    --with-threads \
-    --with-stream
+    ${_common_flags[@]} \
+    ${_mainline_flags[@]}
 
   make
 }



More information about the arch-commits mailing list