aboutsummaryrefslogtreecommitdiff
path: root/network/nginx/nginx.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/nginx/nginx.SlackBuild')
-rw-r--r--network/nginx/nginx.SlackBuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/network/nginx/nginx.SlackBuild b/network/nginx/nginx.SlackBuild
index 3b0a99250fad..2e063c477f98 100644
--- a/network/nginx/nginx.SlackBuild
+++ b/network/nginx/nginx.SlackBuild
@@ -25,7 +25,7 @@
# Modified by Max Miorim <miorimmax@gmail.com>
PRGNAM=nginx
-VERSION=${VERSION:-0.7.67}
+VERSION=${VERSION:-0.8.53}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -74,7 +74,7 @@ find . \
-exec chmod 644 {} \;
# patch to install the perl man pages in /usr/man/man3
-patch -p1 --verbose < $CWD/0.7.67-fix_perl_man_path.patch
+patch -p1 --verbose < $CWD/fix_perl_man_path.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -155,11 +155,13 @@ EOF
# Let's not clobber config files on upgrade
( cd $PKG/etc/nginx
- for i in fastcgi_params mime.types nginx.conf koi-utf koi-win win-utf; do
- mv $i $i.new;
- echo "config etc/nginx/$i.new" >> $PKG/install/doinst.sh;
+ for i in * ; do
+ if ! echo "$i" | grep -q '.default' ; then
+ mv $i $i.new;
+ echo "config etc/nginx/$i.new" >> $PKG/install/doinst.sh;
+ fi
done
)
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}