diff options
Diffstat (limited to 'main/nginx')
-rw-r--r-- | main/nginx/APKBUILD | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/main/nginx/APKBUILD b/main/nginx/APKBUILD index a78a5090cb..c4ce2e3d7c 100644 --- a/main/nginx/APKBUILD +++ b/main/nginx/APKBUILD @@ -5,7 +5,7 @@ pkgname=nginx pkgver=1.12.0 -pkgrel=0 +pkgrel=1 pkgdesc="HTTP and reverse proxy server (stable version)" url="http://www.nginx.org/en" arch="all" @@ -155,11 +155,11 @@ build() { --conf-path=/etc/$pkgname/$pkgname.conf \ --pid-path=/run/$pkgname/$pkgname.pid \ --lock-path=/run/$pkgname/$pkgname.lock \ - --http-client-body-temp-path=/var/lib/$pkgname/tmp/client_body \ - --http-proxy-temp-path=/var/lib/$pkgname/tmp/proxy \ - --http-fastcgi-temp-path=/var/lib/$pkgname/tmp/fastcgi \ - --http-uwsgi-temp-path=/var/lib/$pkgname/tmp/uwsgi \ - --http-scgi-temp-path=/var/lib/$pkgname/tmp/scgi \ + --http-client-body-temp-path=/var/tmp/$pkgname/client_body \ + --http-proxy-temp-path=/var/tmp/$pkgname/proxy \ + --http-fastcgi-temp-path=/var/tmp/$pkgname/fastcgi \ + --http-uwsgi-temp-path=/var/tmp/$pkgname/uwsgi \ + --http-scgi-temp-path=/var/tmp/$pkgname/scgi \ --with-perl_modules_path=/usr/lib/perl5/vendor_perl \ \ --user=$pkgusers \ @@ -246,7 +246,7 @@ package() { install -dm755 ./etc/$pkgname/modules install -dm750 -o $pkgusers -g $_grp_ngx ./var/lib/$pkgname - install -dm700 -o $pkgusers -g $_grp_ngx ./var/lib/$pkgname/tmp + install -dm700 -o $pkgusers -g $_grp_ngx ./var/tmp/$pkgname install -dm755 -g $_grp_www ./var/www/localhost/htdocs install -dm755 ./var/log @@ -254,6 +254,7 @@ package() { ln -sf /$_modules_dir ./var/lib/$pkgname/modules ln -sf /var/log/$pkgname ./var/lib/$pkgname/logs + ln -sf /var/tmp/$pkgname ./var/lib/$pkgname/tmp ln -sf /run/$pkgname ./var/lib/$pkgname/run rm -rf ./run ./etc/$pkgname/*.default |