diff options
author | Diogo Leal <diogo@diogoleal.com> | 2010-12-11 17:38:17 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-12-11 17:38:17 -0600 |
commit | da08fd150d4de46e4ab94184bb7f89dbed4eb93e (patch) | |
tree | c2fe15c917efb1b1772deaa58369deb47ac5aa72 /network/nginx/nginx.SlackBuild | |
parent | 265bcc8a0ffc5bab3e64f5752e206ce9b2cf4c18 (diff) | |
download | slackbuilds-da08fd150d4de46e4ab94184bb7f89dbed4eb93e.tar.gz |
network/nginx: Updated for version 0.8.53.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/nginx/nginx.SlackBuild')
-rw-r--r-- | network/nginx/nginx.SlackBuild | 14 |
1 files changed, 8 insertions, 6 deletions
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 <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} |