diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2014-04-27 10:08:46 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-04-27 12:15:43 -0500 |
commit | c1eba77a59f5938f29bb9a6671a171e2d9ae6aa1 (patch) | |
tree | 8c14ba9a05ebfc8d6fb278a0a16948d8ade3e0a0 /network/nginx/nginx.SlackBuild | |
parent | e876b5e2f7a1a64222f9eccf305438b1a598adc2 (diff) |
network/nginx: Updated for version 1.6.0.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
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 cd460968e803c..c9cfa73a92582 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 |