From da08fd150d4de46e4ab94184bb7f89dbed4eb93e Mon Sep 17 00:00:00 2001 From: Diogo Leal Date: Sat, 11 Dec 2010 17:38:17 -0600 Subject: network/nginx: Updated for version 0.8.53. Signed-off-by: Robby Workman --- network/nginx/nginx.SlackBuild | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'network/nginx/nginx.SlackBuild') diff --git a/network/nginx/nginx.SlackBuild b/network/nginx/nginx.SlackBuild index 3b0a99250f..2e063c477f 100644 --- a/network/nginx/nginx.SlackBuild +++ b/network/nginx/nginx.SlackBuild @@ -25,7 +25,7 @@ # Modified by Max Miorim 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} -- cgit v1.2.3