Date: Tuesday, November 26, 2019 @ 15:16:25 Author: spupykin Revision: 533480
archrelease: copy trunk to community-any Added: roundcubemail/repos/community-any/PKGBUILD (from rev 533479, roundcubemail/trunk/PKGBUILD) roundcubemail/repos/community-any/apache.conf (from rev 533479, roundcubemail/trunk/apache.conf) Deleted: roundcubemail/repos/community-any/PKGBUILD roundcubemail/repos/community-any/apache.conf -------------+ PKGBUILD | 106 +++++++++++++++++++++++++++++----------------------------- apache.conf | 14 +++---- 2 files changed, 60 insertions(+), 60 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-11-26 15:16:15 UTC (rev 533479) +++ PKGBUILD 2019-11-26 15:16:25 UTC (rev 533480) @@ -1,53 +0,0 @@ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> - -pkgname=roundcubemail -pkgver=1.4.0 -pkgrel=1 -pkgdesc="A PHP web-based mail client" -arch=('any') -url="https://roundcube.net/" -license=('GPL') -depends=('php' 'php-gd') -options=('emptydirs') -makedepends=('php-composer' 'git') -optdepends=('python2') -backup=('etc/webapps/roundcubemail/.htaccess' - 'etc/webapps/roundcubemail/apache.conf') -validpgpkeys=('F3E4C04BB3DB5D4215C45F7F5AB2BAA141C4F7D5') -source=("https://github.com/roundcube/roundcubemail/releases/download/$pkgver/roundcubemail-$pkgver-complete.tar.gz"{,.asc} - "apache.conf") -sha256sums=('6bd2a2ac05d6575c290c784e1267090550c56c92f65b66f0b155832fc860ef2c' - 'SKIP' - 'c90981405527ebaf153a407af6b8178b41d078bd4472d63b837b3b4cd5ae36b0') - -prepare() { - cd "$srcdir"/roundcubemail-${pkgver} - 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 - cd "$pkgdir"/usr/share/webapps - cp -ra "$srcdir"/roundcubemail-${pkgver} 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 -Dm0644 "$srcdir"/apache.conf "$pkgdir"/etc/webapps/roundcubemail/apache.conf - chown http:http "$pkgdir"/etc/webapps/roundcubemail/config/config.inc.php.sample - chmod 0640 "$pkgdir"/etc/webapps/roundcubemail/config/config.inc.php.sample - - install -dm0750 -o http -g http "$pkgdir"/var/cache/roundcubemail - install -dm0750 -o http -g http "$pkgdir"/var/log/roundcubemail - - rm -rf temp logs -} Copied: roundcubemail/repos/community-any/PKGBUILD (from rev 533479, roundcubemail/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-11-26 15:16:25 UTC (rev 533480) @@ -0,0 +1,53 @@ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> + +pkgname=roundcubemail +pkgver=1.4.1 +pkgrel=1 +pkgdesc="A PHP web-based mail client" +arch=('any') +url="https://roundcube.net/" +license=('GPL') +depends=('php' 'php-gd') +options=('emptydirs') +makedepends=('php-composer' 'git') +optdepends=('python2') +backup=('etc/webapps/roundcubemail/.htaccess' + 'etc/webapps/roundcubemail/apache.conf') +validpgpkeys=('F3E4C04BB3DB5D4215C45F7F5AB2BAA141C4F7D5') +source=("https://github.com/roundcube/roundcubemail/releases/download/$pkgver/roundcubemail-$pkgver-complete.tar.gz"{,.asc} + "apache.conf") +sha256sums=('640423d21e1aa733ddea7462f156e194b051f086a3f2a70430e0aa2c9b09b44a' + 'SKIP' + 'c90981405527ebaf153a407af6b8178b41d078bd4472d63b837b3b4cd5ae36b0') + +prepare() { + cd "$srcdir"/roundcubemail-${pkgver} + 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 + cd "$pkgdir"/usr/share/webapps + cp -ra "$srcdir"/roundcubemail-${pkgver} 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 -Dm0644 "$srcdir"/apache.conf "$pkgdir"/etc/webapps/roundcubemail/apache.conf + chown http:http "$pkgdir"/etc/webapps/roundcubemail/config/config.inc.php.sample + chmod 0640 "$pkgdir"/etc/webapps/roundcubemail/config/config.inc.php.sample + + install -dm0750 -o http -g http "$pkgdir"/var/cache/roundcubemail + install -dm0750 -o http -g http "$pkgdir"/var/log/roundcubemail + + rm -rf temp logs +} Deleted: apache.conf =================================================================== --- apache.conf 2019-11-26 15:16:15 UTC (rev 533479) +++ apache.conf 2019-11-26 15:16:25 UTC (rev 533480) @@ -1,7 +0,0 @@ -Alias /roundcube "/usr/share/webapps/roundcubemail" -<Directory "/usr/share/webapps/roundcubemail"> - AllowOverride All - Options FollowSymlinks - Require all granted - php_admin_value open_basedir "/tmp/:/var/cache/roundcubemail:/usr/share/webapps/roundcubemail:/etc/webapps/roundcubemail:/usr/share/pear/:/var/log/roundcubemail" -</Directory> Copied: roundcubemail/repos/community-any/apache.conf (from rev 533479, roundcubemail/trunk/apache.conf) =================================================================== --- apache.conf (rev 0) +++ apache.conf 2019-11-26 15:16:25 UTC (rev 533480) @@ -0,0 +1,7 @@ +Alias /roundcube "/usr/share/webapps/roundcubemail" +<Directory "/usr/share/webapps/roundcubemail"> + AllowOverride All + Options FollowSymlinks + Require all granted + php_admin_value open_basedir "/tmp/:/var/cache/roundcubemail:/usr/share/webapps/roundcubemail:/etc/webapps/roundcubemail:/usr/share/pear/:/var/log/roundcubemail" +</Directory>