summaryrefslogtreecommitdiff
path: root/network/nginx/nginx.SlackBuild
diff options
context:
space:
mode:
authorDiogo Leal <diogo@diogoleal.com>2011-06-23 20:52:56 -0400
committerNiels Horn <niels.horn@slackbuilds.org>2011-07-14 21:54:00 -0300
commit7f0b8674e81b51a7fa2a5d94f9b46f353b5ce8ca (patch)
tree5ee8fa54a5670f214e1c9c48ef40cb65c22c841e /network/nginx/nginx.SlackBuild
parentfaf8a35f7c7e9773b6fec2d5487fe1ff03b7cbcc (diff)
downloadslackbuilds-7f0b8674e81b51a7fa2a5d94f9b46f353b5ce8ca.tar.gz
network/nginx: Updated for version 1.0.4.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/nginx/nginx.SlackBuild')
-rw-r--r--network/nginx/nginx.SlackBuild19
1 files changed, 6 insertions, 13 deletions
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 <miorimmax@gmail.com>
+# Modified by Diogo Leal <diogo@diogoleal.com>
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}