diff options
-rw-r--r-- | main/nginx/APKBUILD | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/main/nginx/APKBUILD b/main/nginx/APKBUILD index bf229fa1b3..a8b0cc3159 100644 --- a/main/nginx/APKBUILD +++ b/main/nginx/APKBUILD @@ -1,8 +1,9 @@ # Maintainer: Cameron Banta <cbanta@gmail.com> # Contributor: Jeff Bilyk <jbilyk@gmail.com> # Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> + pkgname=nginx -pkgver=1.0.15 +pkgver=1.2.2 pkgrel=0 pkgdesc="lightweight HTTP and reverse proxy server" url="http://www.nginx.org" @@ -22,6 +23,7 @@ prepare() { patch -Np1 -i "$srcdir"/ipv6.patch } + build() { cd "$_builddir" ./configure --prefix=/usr \ @@ -30,14 +32,14 @@ build() { --lock-path=/var/run/$pkgname.lock \ --error-log-path=/var/log/$pkgname/error.log \ --http-log-path=/var/log/$pkgname/access.log \ - --with-http_ssl_module \ - --with-http_gzip_static_module \ --http-client-body-temp-path=/tmp/$pkgname/client-body \ --http-proxy-temp-path=/tmp/$pkgname/proxy \ --http-fastcgi-temp-path=/tmp/$pkgname/fastcgi \ - --with-mail \ - --with-mail_ssl_module \ - --with-ipv6 \ + --user=http --group=http \ + --with-ipv6 --with-pcre-jit \ + --with-http_ssl_module \ + --with-http_gzip_static_module \ + --with-mail --with-mail_ssl_module \ || return 1 make || return 1 } @@ -52,7 +54,7 @@ package() { install -m644 -D LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } -md5sums="17da4802209b83d9bebb0f0edd975dfc nginx-1.0.15.tar.gz +md5sums="53105bbe3ac9319db54d9eb46119695b nginx-1.2.2.tar.gz 4faf8dff6ff1490edae1688baf1b2abb nginx.initd 8823274a834332d3db4f62bf7dd1fb7d nginx.logrotate 801a87f7f9d27f8ad85b41a78b4c4461 ipv6.patch" |