mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
network/nginx: Updated for version 0.7.67.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
parent
49d1cc42e2
commit
1d255a2e64
3 changed files with 16 additions and 9 deletions
|
@ -25,16 +25,14 @@
|
|||
# Modified by Max Miorim <miorimmax@gmail.com>
|
||||
|
||||
PRGNAM=nginx
|
||||
VERSION=${VERSION:-0.7.65}
|
||||
VERSION=${VERSION:-0.7.67}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
# Automatically determine the architecture we're building on:
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
# Unless $ARCH is already set, use uname -m for all other archs:
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
@ -76,7 +74,7 @@ find . \
|
|||
-exec chmod 644 {} \;
|
||||
|
||||
# patch to install the perl man pages in /usr/man/man3
|
||||
patch -p1 --verbose < $CWD/0.7.65-fix_perl_man_path.patch
|
||||
patch -p1 --verbose < $CWD/0.7.67-fix_perl_man_path.patch
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
|
@ -145,6 +143,15 @@ cat $CWD/nginx.SlackBuild > $PKG/usr/doc/nginx-$VERSION/nginx.SlackBuild
|
|||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
cat << EOF >> $PKG/install/doinst.sh
|
||||
|
||||
# Create the log dir and set the permissions
|
||||
if [ ! -d /var/log/nginx ]; then
|
||||
mkdir -p /var/log/nginx
|
||||
chown $NGINXUSER:$NGINXGROUP /var/log/nginx
|
||||
chmod 750 /var/log/nginx
|
||||
fi
|
||||
EOF
|
||||
|
||||
# Let's not clobber config files on upgrade
|
||||
( cd $PKG/etc/nginx
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="nginx"
|
||||
VERSION="0.7.65"
|
||||
VERSION="0.7.67"
|
||||
HOMEPAGE="http://nginx.org/"
|
||||
DOWNLOAD="http://nginx.org/download/nginx-0.7.65.tar.gz"
|
||||
DOWNLOAD="http://nginx.org/download/nginx-0.7.67.tar.gz"
|
||||
MD5SUM="abc4f76af450eedeb063158bd963feaa"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Max Miorim"
|
||||
EMAIL="miorimmax@gmail.com"
|
||||
APPROVED="rworkman"
|
||||
APPROVED="Erik Hanson"
|
||||
|
|
Loading…
Reference in a new issue