network/nginx: Updated for version 1.2.2.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Francisco Ambrozio 2012-07-10 09:37:56 -04:00 committed by dsomero
parent c072c7254f
commit 835debc5a9
4 changed files with 11 additions and 17 deletions

View file

@ -8,9 +8,3 @@ specify alternate values on the command line if desired; for example:
Regardless of which user and group you decide to use, you will need to make
sure they exist on both the build system and the target system.
Note that there are potential security concerns with allowing logrotate
(which runs as root) to operate on directories/files that a non-root user
controls, but there's not a good alternative for now. Newer versions of
logrotate (3.8.0+) have an "su" option that can be used, but it's not
available in Slackware 13.37.

View file

@ -3,6 +3,8 @@
# Slackware build script for nginx
# Copyright 2008 Cherife Li <cherife-#-dotimes.com>
# Copyright 2011 Diogo Leal <diogo@diogoleal.com>
# Copyright 2012 Francisco Ambrozio <developer@franciscoambrozio.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -22,10 +24,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Modified by Diogo Leal <diogo@diogoleal.com>
PRGNAM=nginx
VERSION=${VERSION:-1.0.9}
VERSION=${VERSION:-1.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -137,7 +137,7 @@ done
# Create the log dir and set the permissions
mkdir -p $PKG/var/log/nginx
chown $NGINXUSER:$NGINXGROUP $PKG/var/log/nginx
chown $NGINXUSER $PKG/var/log/nginx
chmod 750 $PKG/var/log/nginx
mkdir -p $PKG/usr/doc/nginx-$VERSION

View file

@ -1,10 +1,10 @@
PRGNAM="nginx"
VERSION="1.0.9"
VERSION="1.2.2"
HOMEPAGE="http://nginx.org/"
DOWNLOAD="http://nginx.org/download/nginx-1.0.9.tar.gz"
MD5SUM="bd2bfba1c5bf751bc3361de5e3ac7c4a"
DOWNLOAD="http://nginx.org/download/nginx-1.2.2.tar.gz"
MD5SUM="53105bbe3ac9319db54d9eb46119695b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Diogo Leal"
EMAIL="diogo@diogoleal.com"
APPROVED="rworkman"
MAINTAINER="Francisco Ambrozio"
EMAIL="developer@franciscoambrozio.com"
APPROVED="dsomero"

View file

@ -1,4 +1,4 @@
/var/log/nginx/*_log {
/var/log/nginx/*.log {
rotate 10
notifempty
size=5M