summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorFrancisco Ambrozio <developer@franciscoambrozio.com>2012-07-10 09:37:56 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-07-10 09:37:56 -0400
commit835debc5a9fbdf708e3f044579df94b642b4ed71 (patch)
treec397821ecd383afba432fe436d6311291422f72b /network
parentc072c7254ff440caeb00a66a90c57d3c5fd73711 (diff)
downloadslackbuilds-835debc5a9fbdf708e3f044579df94b642b4ed71.tar.gz
network/nginx: Updated for version 1.2.2.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/nginx/README6
-rw-r--r--network/nginx/nginx.SlackBuild8
-rw-r--r--network/nginx/nginx.info12
-rw-r--r--network/nginx/nginx.logrotate2
4 files changed, 11 insertions, 17 deletions
diff --git a/network/nginx/README b/network/nginx/README
index 45bb8da7cb..2110d38844 100644
--- a/network/nginx/README
+++ b/network/nginx/README
@@ -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.
diff --git a/network/nginx/nginx.SlackBuild b/network/nginx/nginx.SlackBuild
index bb581e2bb8..e6aff9516a 100644
--- a/network/nginx/nginx.SlackBuild
+++ b/network/nginx/nginx.SlackBuild
@@ -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
diff --git a/network/nginx/nginx.info b/network/nginx/nginx.info
index 17da7bc35a..700b6f2b66 100644
--- a/network/nginx/nginx.info
+++ b/network/nginx/nginx.info
@@ -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"
diff --git a/network/nginx/nginx.logrotate b/network/nginx/nginx.logrotate
index d95c808449..d4eb96a935 100644
--- a/network/nginx/nginx.logrotate
+++ b/network/nginx/nginx.logrotate
@@ -1,4 +1,4 @@
-/var/log/nginx/*_log {
+/var/log/nginx/*.log {
rotate 10
notifempty
size=5M