From 641ac5e31c3ec46b5bf87e23063347abcfbf0b07 Mon Sep 17 00:00:00 2001 From: Larry Hajali Date: Wed, 14 May 2014 17:27:23 +0700 Subject: network/nginx: Fix temp directory path. Signed-off-by: Willy Sudiarto Raharjo --- network/nginx/nginx.SlackBuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'network') diff --git a/network/nginx/nginx.SlackBuild b/network/nginx/nginx.SlackBuild index c9cfa73a92..cacb896c7c 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 -- cgit v1.2.3