From 7f0b8674e81b51a7fa2a5d94f9b46f353b5ce8ca Mon Sep 17 00:00:00 2001 From: Diogo Leal Date: Thu, 23 Jun 2011 20:52:56 -0400 Subject: network/nginx: Updated for version 1.0.4. Signed-off-by: dsomero --- network/nginx/nginx.SlackBuild | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) (limited to 'network/nginx/nginx.SlackBuild') diff --git a/network/nginx/nginx.SlackBuild b/network/nginx/nginx.SlackBuild index 330a700d6d..c9e77dd0f5 100644 --- a/network/nginx/nginx.SlackBuild +++ b/network/nginx/nginx.SlackBuild @@ -22,10 +22,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Modified by Max Miorim +# Modified by Diogo Leal PRGNAM=nginx -VERSION=${VERSION:-0.8.54} +VERSION=${VERSION:-1.0.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -73,9 +73,6 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# patch to install the perl man pages in /usr/man/man3 -patch -p1 --verbose < $CWD/fix_perl_man_path.patch - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -123,8 +120,6 @@ find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | \ find $PKG -perm 444 -exec chmod 0644 {} \; find $PKG -perm 555 -exec chmod 0755 {} \; -find $PKG/usr/man -type f -exec gzip -9 {} \; - # Remove some other empty and/or unnecessary directories from the package eval $(perl '-V:archlib') rm -rf $PKG/$archlib $PKG/usr/html $PKG/var @@ -155,13 +150,11 @@ EOF # Let's not clobber config files on upgrade ( cd $PKG/etc/nginx - 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 + 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; done ) cd $PKG -/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} -- cgit v1.2.3