diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-28 11:03:06 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-28 12:07:25 +0000 |
commit | c5b7fe019808ce1a437895a65816f8d2b13ec79d (patch) | |
tree | 8581a4b2a7f1effbe99ca383b37158017a58afc9 /main/nginx/APKBUILD | |
parent | 71f74b583df0e1be3189e91c3e19ff58c975dea7 (diff) | |
download | aports-c5b7fe019808ce1a437895a65816f8d2b13ec79d.tar.bz2 aports-c5b7fe019808ce1a437895a65816f8d2b13ec79d.tar.xz |
main/nginx: create and use an nginx user and www-data group
ref #2245
Diffstat (limited to 'main/nginx/APKBUILD')
-rw-r--r-- | main/nginx/APKBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/main/nginx/APKBUILD b/main/nginx/APKBUILD index 3668897e55..578b1f12f2 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 \ |