[arch-commits] Commit in roundcubemail/repos/community-any (6 files)
Sergej Pupykin
spupykin at archlinux.org
Wed Feb 3 11:01:08 UTC 2016
Date: Wednesday, February 3, 2016 @ 12:01:08
Author: spupykin
Revision: 160066
archrelease: copy trunk to community-any
Added:
roundcubemail/repos/community-any/PKGBUILD
(from rev 160065, roundcubemail/trunk/PKGBUILD)
roundcubemail/repos/community-any/apache.conf
(from rev 160065, roundcubemail/trunk/apache.conf)
roundcubemail/repos/community-any/roundcubemail.install
(from rev 160065, roundcubemail/trunk/roundcubemail.install)
Deleted:
roundcubemail/repos/community-any/PKGBUILD
roundcubemail/repos/community-any/apache.conf
roundcubemail/repos/community-any/roundcubemail.install
-----------------------+
PKGBUILD | 115 ++++++++++++++++++++++++------------------------
apache.conf | 14 ++---
roundcubemail.install | 14 ++---
3 files changed, 73 insertions(+), 70 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-02-03 11:00:58 UTC (rev 160065)
+++ PKGBUILD 2016-02-03 11:01:08 UTC (rev 160066)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=roundcubemail
-pkgver=1.2beta
-pkgrel=2
-pkgdesc="A PHP web-based mail client"
-arch=('any')
-url="http://www.roundcube.net"
-license=('GPL')
-depends=('php')
-optdepends=('python2')
-backup=('etc/webapps/roundcubemail/.htaccess'
- 'etc/webapps/roundcubemail/apache.conf')
-install=roundcubemail.install
-options=('!strip' 'emptydirs')
-#source=(https://downloads.sourceforge.net/sourceforge/roundcubemail/roundcubemail-${pkgver/rc/-rc}-complete.tar.gz
-#source=(https://downloads.sourceforge.net/project/roundcubemail/roundcubemail-beta/${pkgver/beta/-beta}/roundcubemail-${pkgver/beta/-beta}-complete.tar.gz
-source=("$pkgname-$pkgver.tar.gz::https://github.com/roundcube/roundcubemail/archive/55a02bcf56f05697786e20c4659ab279d4df4e05.tar.gz"
- apache.conf)
-md5sums=('63f4558ea7776c669f9db00d487e637a'
- 'f11b17e2a80b383cde4af963fb307541')
-
-prepare() {
- cd ${srcdir}/roundcubemail-${pkgver/beta/-beta}
- 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/beta/-beta} 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 160065, roundcubemail/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-02-03 11:01:08 UTC (rev 160066)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=roundcubemail
+pkgver=1.2beta
+_commit=332ffef199745f1ddb3f3ad3e5618a4675b929bb
+pkgrel=3
+pkgdesc="A PHP web-based mail client"
+arch=('any')
+url="http://www.roundcube.net"
+license=('GPL')
+depends=('php')
+makedepends=('php-composer' 'git')
+optdepends=('python2')
+backup=('etc/webapps/roundcubemail/.htaccess'
+ 'etc/webapps/roundcubemail/apache.conf')
+install=roundcubemail.install
+options=('!strip' 'emptydirs')
+source=("$pkgname-$pkgver-${_commit}.tar.gz::https://github.com/roundcube/roundcubemail/archive/${_commit}.tar.gz"
+ apache.conf)
+md5sums=('391339848be6432a976e0af60989c298'
+ 'f11b17e2a80b383cde4af963fb307541')
+
+prepare() {
+ mv ${srcdir}/roundcubemail-${_commit} ${srcdir}/roundcubemail-${pkgver/beta/-beta}
+ cd ${srcdir}/roundcubemail-${pkgver/beta/-beta}
+ 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
+ mv composer.json-dist composer.json
+ composer install --no-dev
+}
+
+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/beta/-beta} 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 2016-02-03 11:00:58 UTC (rev 160065)
+++ apache.conf 2016-02-03 11:01:08 UTC (rev 160066)
@@ -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 160065, roundcubemail/trunk/apache.conf)
===================================================================
--- apache.conf (rev 0)
+++ apache.conf 2016-02-03 11:01:08 UTC (rev 160066)
@@ -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>
Deleted: roundcubemail.install
===================================================================
--- roundcubemail.install 2016-02-03 11:00:58 UTC (rev 160065)
+++ roundcubemail.install 2016-02-03 11:01:08 UTC (rev 160066)
@@ -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 160065, roundcubemail/trunk/roundcubemail.install)
===================================================================
--- roundcubemail.install (rev 0)
+++ roundcubemail.install 2016-02-03 11:01:08 UTC (rev 160066)
@@ -0,0 +1,7 @@
+post_install() {
+ chown -R http:http var/{log,cache}/roundcubemail
+}
+
+post_upgrade() {
+ post_install
+}
More information about the arch-commits
mailing list