diff options
author | root <root@rshg054.dnsready.net> | 2012-06-19 00:01:39 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-06-19 00:01:39 +0000 |
commit | ca8fbff4eeda39b8a24515043ec4c8fdb95c23ee (patch) | |
tree | e31e0e223f205368e42e8f2378af9f8c76da0c0f /community-testing/nginx | |
parent | 014b5d0a1ee98ba0466f067f605b9637f2a14b2f (diff) |
Tue Jun 19 00:01:39 UTC 2012
Diffstat (limited to 'community-testing/nginx')
-rw-r--r-- | community-testing/nginx/PKGBUILD | 7 | ||||
-rw-r--r-- | community-testing/nginx/nginx.install | 9 |
2 files changed, 14 insertions, 2 deletions
diff --git a/community-testing/nginx/PKGBUILD b/community-testing/nginx/PKGBUILD index c9417a8c1..7d95b3070 100644 --- a/community-testing/nginx/PKGBUILD +++ b/community-testing/nginx/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 72073 2012-06-08 08:31:13Z bpiotrowski $ +# $Id: PKGBUILD 72598 2012-06-17 09:51:17Z bpiotrowski $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Bartłomiej Piotrowski <barthalion@gmal.com> # Contributor: Miroslaw Szot <mss@czlug.icis.pcz.pl> pkgname=nginx pkgver=1.2.1 -pkgrel=2 +pkgrel=4 pkgdesc="lightweight HTTP server and IMAP/POP3 proxy server" arch=('i686' 'x86_64') depends=('pcre' 'zlib' 'openssl') @@ -13,6 +13,7 @@ makedepends=('passenger') optdepends=('passenger') url="http://nginx.org" license=('custom') +install=nginx.install backup=('etc/nginx/fastcgi.conf' 'etc/nginx/fastcgi_params' 'etc/nginx/koi-win' @@ -86,7 +87,9 @@ package() { -e '44s|html|/usr/share/nginx/html|' \ -e '54s|html|/usr/share/nginx/html|' \ -i $pkgdir/etc/nginx/nginx.conf + rm $pkgdir/etc/nginx/*.default + install -dm1777 $pkgdir/var/tmp install -d $pkgdir/$_tmpdir install -d $pkgdir/usr/share/nginx diff --git a/community-testing/nginx/nginx.install b/community-testing/nginx/nginx.install new file mode 100644 index 000000000..cdad14f43 --- /dev/null +++ b/community-testing/nginx/nginx.install @@ -0,0 +1,9 @@ +post_upgrade() { + echo " >>> Since 1.2.1-2 several changes has been made in package:" + echo " - *.conf files has been moved to /etc/nginx" + echo " - /etc/conf.d/nginx has been removed" + echo " Main configuration files is set to /etc/nginx/nginx.conf" + echo " - access.log and error.log can be found in /var/log/nginx at default" + echo " - bundled *.html files has been moved to /usr/share/nginx/html" + echo " - /etc/nginx/{html,logs} symbolic links and *.default files have been removed" +} |