Subject: [alpine-devel] [PATCH] main/nginx: update to 1.0.11 and replace "opts=" in init.d script

From: Cameron Banta <[email-masked]>
Date: Thu, 19 Jan 2012 16:16:52 +0000

ref #946
ref #898
---
 main/nginx/APKBUILD    |    6 +++---
 main/nginx/nginx.initd |    3 ++-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/main/nginx/APKBUILD b/main/nginx/APKBUILD
index e08d116..dd83e2a 100644
--- a/main/nginx/APKBUILD
+++ b/main/nginx/APKBUILD
@@ -1,7 +1,7 @@
 # Contributor: Jeff Bilyk <[email-masked]>
 # Maintainer: Cameron Banta <[email-masked]>
 pkgname=nginx
-pkgver=1.0.5
+pkgver=1.0.11
 pkgrel=0
 pkgdesc="nginx [engine x] is a HTTP and reverse proxy server"
 url="http://www.nginx.org"
@@ -57,7 +57,7 @@ package() {
 	install -m644 -D LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }
 
-md5sums="373c7761a7c682b92b164c8ee3d6d243  nginx-1.0.5.tar.gz
-b06f6e23753385be0076539ba1806cb6  nginx.initd
+md5sums="a41a01d7cd46e13ea926d7c9ca283a95  nginx-1.0.11.tar.gz
+4faf8dff6ff1490edae1688baf1b2abb  nginx.initd
 8823274a834332d3db4f62bf7dd1fb7d  nginx.logrotate
 801a87f7f9d27f8ad85b41a78b4c4461  ipv6.patch"
diff --git a/main/nginx/nginx.initd b/main/nginx/nginx.initd
index e175bb4..7e82a56 100644
--- a/main/nginx/nginx.initd
+++ b/main/nginx/nginx.initd
@@ -3,7 +3,8 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/files/nginx.init-r2,v 1.1 2010/01/03 19:51:41 djc Exp $
 
-opts="${opts} upgrade reload configtest"
+extra_started_commands="upgrade reload"
+extra_commands="configtest"
 
 depend() {
 	need net
-- 
1.7.8.3

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---