diff options
author | Larry Hajali <larryhaja@gmail.com> | 2014-05-14 17:27:23 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-05-14 17:27:23 +0700 |
commit | 641ac5e31c3ec46b5bf87e23063347abcfbf0b07 (patch) | |
tree | 9c6ac5b731d479860f24213e9f3a64eaad9971e5 /network/nginx | |
parent | 186bd9ef89e2197e66c97bb7f3e6c5347291addc (diff) |
network/nginx: Fix temp directory path.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/nginx')
-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 |