summaryrefslogtreecommitdiff
path: root/community/nginx
diff options
context:
space:
mode:
Diffstat (limited to 'community/nginx')
-rw-r--r--community/nginx/PKGBUILD16
-rw-r--r--community/nginx/changelog4
-rw-r--r--community/nginx/nginx2
3 files changed, 14 insertions, 8 deletions
diff --git a/community/nginx/PKGBUILD b/community/nginx/PKGBUILD
index 3c033eb3e..c014840e9 100644
--- a/community/nginx/PKGBUILD
+++ b/community/nginx/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 52187 2011-07-21 14:19:08Z spupykin $
+# $Id: PKGBUILD 54994 2011-08-29 20:55:17Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Miroslaw Szot <mss@czlug.icis.pcz.pl>
-_doc_root=/srv/http/nginx
+_doc_root=/usr/share/nginx/http
_server_root=/etc/nginx
_conf_path=${_server_root}/conf
_tmp_path=/var/spool/nginx
@@ -11,7 +11,7 @@ _user=http
_group=http
pkgname=nginx
-pkgver=1.0.5
+pkgver=1.0.6
pkgrel=1
pkgdesc="lightweight HTTP server and IMAP/POP3 proxy server"
arch=('i686' 'x86_64')
@@ -24,11 +24,13 @@ backup=("etc/nginx/conf/nginx.conf"
"etc/nginx/conf/win-utf"
"etc/nginx/conf/mime.types"
"etc/nginx/conf/fastcgi_params"
- "etc/logrotate.d/nginx")
-source=(http://sysoev.ru/nginx/nginx-${pkgver}.tar.gz
+ "etc/logrotate.d/nginx"
+ "etc/conf.d/nginx")
+changelog=changelog
+source=(http://nginx.org/download/nginx-$pkgver.tar.gz
nginx)
-md5sums=('373c7761a7c682b92b164c8ee3d6d243'
- '7e7cafa43a59762b81c4da64e49eca69')
+md5sums=('bc98bac3f0b85da1045bc02e6d8fc80d'
+ '0e8032d3ba26c3276e8c7c30588d375f')
build() {
cd $srcdir/nginx-${pkgver}
diff --git a/community/nginx/changelog b/community/nginx/changelog
new file mode 100644
index 000000000..9f2ffcfc8
--- /dev/null
+++ b/community/nginx/changelog
@@ -0,0 +1,4 @@
+2011-08-29 Sergej Pupykin <sergej@p5n.pp.ru>
+
+ * 1.0.6-1 :
+ move /srv/http to /usr/share/nginx/http
diff --git a/community/nginx/nginx b/community/nginx/nginx
index 811656eed..9de10e99a 100644
--- a/community/nginx/nginx
+++ b/community/nginx/nginx
@@ -41,7 +41,7 @@ case "$1" in
;;
stop)
stat_busy "Stopping Nginx"
- NGINX_PID=`cat /var/run/nginx.pid`
+ NGINX_PID=`cat /var/run/nginx.pid 2>/dev/null`
kill -QUIT $NGINX_PID &>/dev/null
if [ $? -ne 0 ]; then
stat_fail