summaryrefslogtreecommitdiff
path: root/nginx
diff options
context:
space:
mode:
authorLucas Hazel <lucas@die.net.au>2009-04-11 20:27:25 +1000
committerLucas Hazel <lucas@die.net.au>2009-04-15 21:33:08 +1000
commitaac525772d3239c3b18d5acdd4b90297f0d1b4d0 (patch)
tree68dde790fcf7dcd868a383bdc382acc8cc267241 /nginx
parenta62ae867e8d717a4901a78ea65d30fc4a25f6b02 (diff)
downloadcontrib-aac525772d3239c3b18d5acdd4b90297f0d1b4d0.tar.gz
contrib-aac525772d3239c3b18d5acdd4b90297f0d1b4d0.tar.xz
nginx: update to 0.6.36
Diffstat (limited to 'nginx')
-rw-r--r--nginx/.md5sum4
-rw-r--r--nginx/Pkgfile54
-rw-r--r--nginx/nginx.rc10
3 files changed, 32 insertions, 36 deletions
diff --git a/nginx/.md5sum b/nginx/.md5sum
index 66d98755e..5ce9f2986 100644
--- a/nginx/.md5sum
+++ b/nginx/.md5sum
@@ -1,2 +1,2 @@
-45c7a2d3d91f27f5af1b463f0ff46070 nginx-0.6.35.tar.gz
-0fd8cea245422ca81baba72feef86128 nginx.rc
+15cce6102a2efcf4d4acde9bb71ea6d3 nginx-0.6.36.tar.gz
+143b263676fb671c694f2e5a7e68a078 nginx.rc
diff --git a/nginx/Pkgfile b/nginx/Pkgfile
index a3e780633..1e00980df 100644
--- a/nginx/Pkgfile
+++ b/nginx/Pkgfile
@@ -4,33 +4,35 @@
# Depends on: zlib, libpcre, openssl
name=nginx
-version=0.6.35
-release=2
+version=0.6.36
+release=1
source=(http://sysoev.ru/nginx/$name-$version.tar.gz $name.rc)
build() {
- cd $name-$version
- ./configure --prefix=/etc/$name \
- --conf-path=/etc/$name/$name.conf \
- --pid-path=/var/run/$name.pid \
- --lock-path=/var/lock/$name.lock \
- --error-log-path=/var/log/$name/error.log \
- --http-log-path=/var/log/$name/access.log \
- --user=www \
- --group=www \
- --http-client-body-temp-path=/var/tmp/client_body_temp \
- --http-proxy-temp-path=/var/tmp/proxy_temp \
- --http-fastcgi-temp-path=/var/tmp/fastcgi_temp \
- --with-http_ssl_module \
- --with-mail \
- --with-mail_ssl_module
-
- make
- make DESTDIR=$PKG install
-
- mkdir $PKG/usr
- mv $PKG/etc/nginx/sbin $PKG/usr
- rm -rf $PKG/var/run
-
- install -D -m 0755 $SRC/$name.rc $PKG/etc/rc.d/$name
+ cd $name-$version
+ ./configure --prefix=/etc/$name \
+ --conf-path=/etc/$name/$name.conf \
+ --pid-path=/var/run/$name.pid \
+ --lock-path=/var/lock/$name.lock \
+ --error-log-path=/var/log/$name/error.log \
+ --http-log-path=/var/log/$name/access.log \
+ --user=www \
+ --group=www \
+ --http-client-body-temp-path=/var/tmp/client_body_temp \
+ --http-proxy-temp-path=/var/tmp/proxy_temp \
+ --http-fastcgi-temp-path=/var/tmp/fastcgi_temp \
+ --with-http_ssl_module \
+ --with-mail \
+ --with-mail_ssl_module \
+ --with-pcre
+
+
+ make
+ make DESTDIR=$PKG install
+
+ mkdir $PKG/usr
+ mv $PKG/etc/nginx/sbin $PKG/usr
+ rm -rf $PKG/var/run
+
+ install -D -m 0755 $SRC/$name.rc $PKG/etc/rc.d/$name
}
diff --git a/nginx/nginx.rc b/nginx/nginx.rc
index f2d63c140..c35cd6337 100644
--- a/nginx/nginx.rc
+++ b/nginx/nginx.rc
@@ -12,16 +12,10 @@ case $1 in
/usr/sbin/nginx
;;
stop)
- kill -QUIT `cat /var/run/nginx.pid`
- ;;
- reload)
- kill -HUP `cat /var/run/nginx.pid`
- ;;
- upgrade)
- kill -USR2 `cat /var/run/nginx.pid`
+ kill -9 `cat /var/run/nginx.pid`
;;
*)
- echo "usage: nginx [start|stop|reload|upgrade]"
+ echo "usage: nginx [start|stop]"
;;
esac

Generated by cgit