Date: Friday, February 27, 2015 @ 16:35:09 Author: spupykin Revision: 128383
archrelease: copy trunk to community-any Added: roundcubemail/repos/community-any/PKGBUILD (from rev 128382, roundcubemail/trunk/PKGBUILD) roundcubemail/repos/community-any/apache.conf (from rev 128382, roundcubemail/trunk/apache.conf) roundcubemail/repos/community-any/roundcubemail.install (from rev 128382, roundcubemail/trunk/roundcubemail.install) Deleted: roundcubemail/repos/community-any/PKGBUILD roundcubemail/repos/community-any/apache.conf roundcubemail/repos/community-any/roundcubemail.install -----------------------+ PKGBUILD | 110 ++++++++++++++++++++++++------------------------ apache.conf | 12 ++--- roundcubemail.install | 14 +++--- 3 files changed, 68 insertions(+), 68 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2015-02-27 15:34:32 UTC (rev 128382) +++ PKGBUILD 2015-02-27 15:35:09 UTC (rev 128383) @@ -1,55 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> - -pkgname=roundcubemail -pkgver=1.1.0 -pkgrel=5 -pkgdesc="A PHP web-based mail client" -arch=('any') -url="http://www.roundcube.net" -license=('GPL') -depends=('php' 'php-pear' 'pear-net-idna2' 'pear-mail-mime' 'pear-net-smtp' - 'pear-auth-sasl' 'pear-mail-mime-decode' 'pear-net-sieve') -optdepends=('python2') -backup=('etc/webapps/roundcubemail/.htaccess' - 'etc/webapps/roundcubemail/apache.conf') -install=roundcubemail.install -options=('!strip' 'emptydirs') -source=(http://downloads.sourceforge.net/sourceforge/roundcubemail/roundcubemail-${pkgver/rc/-rc}.tar.gz - apache.conf) -md5sums=('784b001753cebb9d0db59142f22e1764' - 'afa5113b40709550573f32d032b388b8') - -prepare() { - cd ${srcdir}/roundcubemail-${pkgver/rc/-rc} - sed -i \ - -e "s|RCUBE_INSTALL_PATH . 'temp.*|'/var/cache/roundcubemail';|" \ - -e "s|RCUBE_INSTALL_PATH . 'logs.*|'/var/log/roundcubemail';|" \ - config/defaults.inc.php \ - program/lib/Roundcube/rcube_config.php -} - -package() { - mkdir -p ${pkgdir}/etc/webapps/roundcubemail - mkdir -p ${pkgdir}/usr/share/webapps - mkdir -p ${pkgdir}/var/log - cd ${pkgdir}/usr/share/webapps - cp -ra ${srcdir}/roundcubemail-${pkgver/rc/-rc} roundcubemail - cd roundcubemail - - mv .htaccess $pkgdir/etc/webapps/roundcubemail/ - ln -s /etc/webapps/roundcubemail/.htaccess .htaccess - - mv config $pkgdir/etc/webapps/roundcubemail/ - ln -s /etc/webapps/roundcubemail/config config - - install -dm0750 $pkgdir/var/{log,cache}/roundcubemail - install -Dm0644 $srcdir/apache.conf $pkgdir/etc/webapps/roundcubemail/apache.conf - - install -dm0755 $pkgdir/etc/php/conf.d/ - cat <<EOF >$pkgdir/etc/php/conf.d/$pkgname.ini -open_basedir = ${open_basedir}:/etc/webapps/roundcubemail:/usr/share/webapps/roundcubemail:/var/log/roundcubemail:/var/cache/roundcubemail -EOF - - rm -rf temp logs -} Copied: roundcubemail/repos/community-any/PKGBUILD (from rev 128382, roundcubemail/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2015-02-27 15:35:09 UTC (rev 128383) @@ -0,0 +1,55 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> + +pkgname=roundcubemail +pkgver=1.1.0 +pkgrel=6 +pkgdesc="A PHP web-based mail client" +arch=('any') +url="http://www.roundcube.net" +license=('GPL') +depends=('php' 'php-pear' 'pear-net-idna2' 'pear-mail-mime' 'pear-net-smtp' + 'pear-auth-sasl' 'pear-mail-mime-decode' 'pear-net-sieve') +optdepends=('python2') +backup=('etc/webapps/roundcubemail/.htaccess' + 'etc/webapps/roundcubemail/apache.conf') +install=roundcubemail.install +options=('!strip' 'emptydirs') +source=(http://downloads.sourceforge.net/sourceforge/roundcubemail/roundcubemail-${pkgver/rc/-rc}.tar.gz + apache.conf) +md5sums=('784b001753cebb9d0db59142f22e1764' + 'afa5113b40709550573f32d032b388b8') + +prepare() { + cd ${srcdir}/roundcubemail-${pkgver/rc/-rc} + sed -i \ + -e "s|RCUBE_INSTALL_PATH . 'temp.*|'/var/cache/roundcubemail';|" \ + -e "s|RCUBE_INSTALL_PATH . 'logs.*|'/var/log/roundcubemail';|" \ + config/defaults.inc.php \ + program/lib/Roundcube/rcube_config.php +} + +package() { + mkdir -p ${pkgdir}/etc/webapps/roundcubemail + mkdir -p ${pkgdir}/usr/share/webapps + mkdir -p ${pkgdir}/var/log + cd ${pkgdir}/usr/share/webapps + cp -ra ${srcdir}/roundcubemail-${pkgver/rc/-rc} roundcubemail + cd roundcubemail + + mv .htaccess $pkgdir/etc/webapps/roundcubemail/ + ln -s /etc/webapps/roundcubemail/.htaccess .htaccess + + mv config $pkgdir/etc/webapps/roundcubemail/ + ln -s /etc/webapps/roundcubemail/config config + + install -dm0750 $pkgdir/var/{log,cache}/roundcubemail + install -Dm0644 $srcdir/apache.conf $pkgdir/etc/webapps/roundcubemail/apache.conf + + install -dm0755 $pkgdir/etc/php/conf.d/ + cat <<'EOF' >$pkgdir/etc/php/conf.d/$pkgname.ini +open_basedir = ${open_basedir}:/etc/webapps/roundcubemail:/usr/share/webapps/roundcubemail:/var/log/roundcubemail:/var/cache/roundcubemail +EOF + + rm -rf temp logs +} Deleted: apache.conf =================================================================== --- apache.conf 2015-02-27 15:34:32 UTC (rev 128382) +++ apache.conf 2015-02-27 15:35:09 UTC (rev 128383) @@ -1,6 +0,0 @@ -Alias /roundcube "/usr/share/webapps/roundcubemail" -<Directory "/usr/share/webapps/roundcubemail"> - AllowOverride All - Options FollowSymlinks - Require all granted -</Directory> Copied: roundcubemail/repos/community-any/apache.conf (from rev 128382, roundcubemail/trunk/apache.conf) =================================================================== --- apache.conf (rev 0) +++ apache.conf 2015-02-27 15:35:09 UTC (rev 128383) @@ -0,0 +1,6 @@ +Alias /roundcube "/usr/share/webapps/roundcubemail" +<Directory "/usr/share/webapps/roundcubemail"> + AllowOverride All + Options FollowSymlinks + Require all granted +</Directory> Deleted: roundcubemail.install =================================================================== --- roundcubemail.install 2015-02-27 15:34:32 UTC (rev 128382) +++ roundcubemail.install 2015-02-27 15:35:09 UTC (rev 128383) @@ -1,7 +0,0 @@ -post_install() { - chown -R http:http var/{log,cache}/roundcubemail -} - -post_upgrade() { - post_install -} Copied: roundcubemail/repos/community-any/roundcubemail.install (from rev 128382, roundcubemail/trunk/roundcubemail.install) =================================================================== --- roundcubemail.install (rev 0) +++ roundcubemail.install 2015-02-27 15:35:09 UTC (rev 128383) @@ -0,0 +1,7 @@ +post_install() { + chown -R http:http var/{log,cache}/roundcubemail +} + +post_upgrade() { + post_install +}