From c5b7fe019808ce1a437895a65816f8d2b13ec79d Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 28 Oct 2013 11:03:06 +0000 Subject: main/nginx: create and use an nginx user and www-data group ref #2245 --- main/nginx/APKBUILD | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'main/nginx/APKBUILD') diff --git a/main/nginx/APKBUILD b/main/nginx/APKBUILD index 3668897e5..578b1f12f 100644 --- a/main/nginx/APKBUILD +++ b/main/nginx/APKBUILD @@ -4,11 +4,12 @@ pkgname=nginx pkgver=1.4.3 -pkgrel=0 +pkgrel=1 pkgdesc="lightweight HTTP and reverse proxy server" url="http://www.nginx.org" arch="all" license="Custom" +install="$pkgname.pre-install $pkgname.pre-upgrade" makedepends="pcre-dev openssl-dev zlib-dev" source="http://nginx.org/download/$pkgname-$pkgver.tar.gz nginx.initd @@ -36,8 +37,8 @@ build() { --http-client-body-temp-path=/tmp/$pkgname/client-body \ --http-proxy-temp-path=/tmp/$pkgname/proxy \ --http-fastcgi-temp-path=/tmp/$pkgname/fastcgi \ - --user=http \ - --group=http \ + --user=nginx \ + --group=nginx \ --with-ipv6 \ --with-pcre-jit \ --with-http_ssl_module \ -- cgit v1.2.3