diff options
Diffstat (limited to 'network/nginx/nginx.SlackBuild')
-rw-r--r-- | network/nginx/nginx.SlackBuild | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/network/nginx/nginx.SlackBuild b/network/nginx/nginx.SlackBuild index cd460968e8..c9cfa73a92 100644 --- a/network/nginx/nginx.SlackBuild +++ b/network/nginx/nginx.SlackBuild @@ -28,7 +28,7 @@ # Special thanks to Thomas Morper for some configuration adjustments tips PRGNAM=nginx -VERSION=${VERSION:-1.4.7} +VERSION=${VERSION:-1.6.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -122,11 +122,9 @@ CXXFLAGS="$SLKCFLAGS" \ --with-http_degradation_module \ --with-http_stub_status_module \ --with-http_perl_module \ + --with-http_auth_request_module \ --with-mail \ --with-mail_ssl_module \ - --without-mail_pop3_module \ - --without-mail_imap_module \ - --without-mail_smtp_module \ $SPDY_MOD \ $GEOIP_MOD @@ -141,20 +139,14 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \ mkdir -p $PKG/usr/man/man8 install -m 0644 objs/$PRGNAM.8 $PKG/usr/man/man8 - find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done - -find $PKG -name perllocal.pod \ - -o -name ".packlist" \ - -o -name "*.bs" | \ - xargs rm -f 2> /dev/null +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true find $PKG -perm 444 -exec chmod 0644 {} \; find $PKG -perm 555 -exec chmod 0755 {} \; # Move html directory -mkdir $PKG/var/www +mkdir -p $PKG/var/www mv $PKG/usr/html $PKG/var/www # Add an init script |