diff options
Diffstat (limited to 'network/nginx/nginx.SlackBuild')
-rw-r--r-- | network/nginx/nginx.SlackBuild | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/network/nginx/nginx.SlackBuild b/network/nginx/nginx.SlackBuild index c9cfa73a92582..cacb896c7ca1b 100644 --- a/network/nginx/nginx.SlackBuild +++ b/network/nginx/nginx.SlackBuild @@ -29,7 +29,7 @@ PRGNAM=nginx VERSION=${VERSION:-1.6.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -103,6 +103,11 @@ CXXFLAGS="$SLKCFLAGS" \ --group=${NGINXGROUP:=nogroup} \ --error-log-path=/var/log/nginx/error.log \ --http-log-path=/var/log/nginx/access.log \ + --http-client-body-temp-path=/var/lib/nginx/client_body \ + --http-proxy-temp-path=/var/lib/nginx/proxy \ + --http-fastcgi-temp-path=/var/lib/nginx/fastcgi \ + --http-uwsgi-temp-path=/var/lib/nginx/uwsgi \ + --http-scgi-temp-path=/var/lib/nginx/scgi \ --with-file-aio \ --with-ipv6 \ --with-select_module \ @@ -145,6 +150,10 @@ find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f find $PKG -perm 444 -exec chmod 0644 {} \; find $PKG -perm 555 -exec chmod 0755 {} \; +# Make the temp path. +mkdir -p $PKG/var/lib/$PRGNAM +chmod 0700 $PKG/var/lib/$PRGNAM + # Move html directory mkdir -p $PKG/var/www mv $PKG/usr/html $PKG/var/www |