[arch-commits] Commit in roundcubemail/trunk (PKGBUILD apache.conf)

Sergej Pupykin spupykin at archlinux.org
Wed Jul 23 12:16:21 UTC 2014


    Date: Wednesday, July 23, 2014 @ 14:16:20
  Author: spupykin
Revision: 116162

upgpkg: roundcubemail 1.0.2-2

upd

Modified:
  roundcubemail/trunk/PKGBUILD
  roundcubemail/trunk/apache.conf

-------------+
 PKGBUILD    |    9 +++++++--
 apache.conf |    1 -
 2 files changed, 7 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-07-23 12:16:17 UTC (rev 116161)
+++ PKGBUILD	2014-07-23 12:16:20 UTC (rev 116162)
@@ -3,7 +3,7 @@
 
 pkgname=roundcubemail
 pkgver=1.0.2
-pkgrel=1
+pkgrel=2
 pkgdesc="A PHP web-based mail client"
 arch=('any')
 url="http://www.roundcube.net"
@@ -17,7 +17,7 @@
 source=(http://downloads.sourceforge.net/sourceforge/roundcubemail/roundcubemail-${pkgver/rc/-rc}.tar.gz
 	apache.conf)
 md5sums=('5028c6f9fa88d0c84b0fde0b84355203'
-         'f11b17e2a80b383cde4af963fb307541')
+         'afa5113b40709550573f32d032b388b8')
 
 prepare() {
   cd ${srcdir}/roundcubemail-${pkgver/rc/-rc}
@@ -45,5 +45,10 @@
   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
 }

Modified: apache.conf
===================================================================
--- apache.conf	2014-07-23 12:16:17 UTC (rev 116161)
+++ apache.conf	2014-07-23 12:16:20 UTC (rev 116162)
@@ -3,5 +3,4 @@
     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>




More information about the arch-commits mailing list