diff options
author | root <root@rshg054.dnsready.net> | 2012-04-18 00:01:47 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-04-18 00:01:47 +0000 |
commit | 637c1cfdcd258a870ad5367cbf47a8a2799039c7 (patch) | |
tree | 04dabe84f2527ce4ef85b0905f186ebb93cacdb9 /community/nginx | |
parent | 0fb510ac9b1defac6c3d54a68eccd7e18635b474 (diff) |
Wed Apr 18 00:01:47 UTC 2012
Diffstat (limited to 'community/nginx')
-rw-r--r-- | community/nginx/PKGBUILD | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/community/nginx/PKGBUILD b/community/nginx/PKGBUILD index 204250733..5e10553d9 100644 --- a/community/nginx/PKGBUILD +++ b/community/nginx/PKGBUILD @@ -1,10 +1,18 @@ -# $Id: PKGBUILD 67860 2012-03-15 15:25:27Z spupykin $ +# $Id: PKGBUILD 69421 2012-04-16 09:40:51Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Bartłomiej Piotrowski <barthalion@gmal.com> # Contributor: Miroslaw Szot <mss@czlug.icis.pcz.pl> +_doc_root=/usr/share/nginx/http +_server_root=/etc/nginx +_conf_path=${_server_root}/conf +_tmp_path=/var/spool/nginx +_log_path=/var/log/nginx +_user=http +_group=http + pkgname=nginx -pkgver=1.0.14 +pkgver=1.0.15 pkgrel=1 pkgdesc="lightweight HTTP server and IMAP/POP3 proxy server" arch=('i686' 'x86_64') @@ -26,17 +34,7 @@ backup=("etc/nginx/conf/fastcgi.conf" "etc/conf.d/nginx") source=("http://nginx.org/download/nginx-$pkgver.tar.gz" 'nginx') -md5sums=('58360774e4875e8fc4c4286448cb54d0' - '0e8032d3ba26c3276e8c7c30588d375f') - -_doc_root=/usr/share/nginx/http -_server_root=/etc/nginx -_conf_path=${_server_root}/conf -_tmp_path=/var/spool/nginx -_log_path=/var/log/nginx -_user=http -_group=http -md5sums=('019844e48c34952253ca26dd6e28c35c' +md5sums=('17da4802209b83d9bebb0f0edd975dfc' '0e8032d3ba26c3276e8c7c30588d375f') build() { @@ -59,6 +57,7 @@ build() { --with-http_gzip_static_module \ --with-ipv6 \ --add-module=/usr/lib/passenger/ext/nginx \ + --conf-path=${_conf_path}/nginx.conf \ --http-scgi-temp-path=${_tmp_path} \ --http-uwsgi-temp-path=${_tmp_path} #--with-http_mp4_module \ @@ -92,7 +91,7 @@ package() { } EOF - sed -i -e "s/\<user\s\+\w\+;/user $_user;/g" $pkgdir/$_conf_path/nginx.conf + sed -i -e "s/\<user\s\+\w\+;/user $_user;/g" $pkgdir/${_conf_path}/nginx.conf install -d $pkgdir/$_tmp_path |