From ca8fbff4eeda39b8a24515043ec4c8fdb95c23ee Mon Sep 17 00:00:00 2001 From: root Date: Tue, 19 Jun 2012 00:01:39 +0000 Subject: Tue Jun 19 00:01:39 UTC 2012 --- community-testing/nginx/PKGBUILD | 7 +++++-- community-testing/nginx/nginx.install | 9 +++++++++ community-testing/oss/PKGBUILD | 6 +++--- 3 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 community-testing/nginx/nginx.install (limited to 'community-testing') 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 # Maintainer: Bartłomiej Piotrowski # Contributor: Miroslaw Szot 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" +} diff --git a/community-testing/oss/PKGBUILD b/community-testing/oss/PKGBUILD index 82dec44a5..ca51c3cad 100644 --- a/community-testing/oss/PKGBUILD +++ b/community-testing/oss/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 72557 2012-06-16 17:10:20Z dreisner $ +# $Id: PKGBUILD 72591 2012-06-17 08:35:07Z bluewind $ # Maintainer: Florian Pritz # Contributor: Paulo Matias # Contributor: Daniel J Griffiths @@ -6,7 +6,7 @@ pkgbase=oss pkgname=(oss libflashsupport-oss) pkgver=4.2_2006 -pkgrel=2 +pkgrel=3 arch=('i686' 'x86_64') url="http://developer.opensound.com/" license=('GPL2') @@ -82,7 +82,7 @@ package_oss() { chmod -R a+r "${pkgdir}" # All files can have read permission (FS#13815) find "${pkgdir}" -type d -exec chmod a+x '{}' \; # Make namcap happy install -Dm755 "${srcdir}/rc-script" "${pkgdir}/etc/rc.d/oss" - install -Dm644 "$srcdir/oss.service" "$pkgdir/usr/lib/systemd/system" + install -Dm644 "$srcdir/oss.service" "$pkgdir/usr/lib/systemd/system/oss.service" } package_libflashsupport-oss() { -- cgit v1.2.3-54-g00ecf