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

2014-05-26 Thread Sergej Pupykin
Date: Monday, May 26, 2014 @ 11:29:47
  Author: spupykin
Revision: 111880

upgpkg: roundcubemail 1.0.1-2

upd

Modified:
  roundcubemail/trunk/PKGBUILD
  roundcubemail/trunk/roundcubemail.install

---+
 PKGBUILD  |8 +++-
 roundcubemail.install |1 +
 2 files changed, 8 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-05-26 09:29:42 UTC (rev 111879)
+++ PKGBUILD2014-05-26 09:29:47 UTC (rev 111880)
@@ -3,7 +3,7 @@
 
 pkgname=roundcubemail
 pkgver=1.0.1
-pkgrel=1
+pkgrel=2
 pkgdesc=A PHP web-based mail client
 arch=('any')
 url=http://www.roundcube.net;
@@ -37,4 +37,10 @@
   ln -s /var/log/roundcubemail logs
 
   install -Dm0644 $srcdir/apache.conf 
$pkgdir/etc/webapps/roundcubemail/apache.conf
+
+  rm -rf temp
+  ln -s /tmp/roundcube temp
+
+  install -dm0755 $pkgdir/usr/lib/tmpfiles.d
+  echo d /tmp/roundcube 0770 http http - 
$pkgdir/usr/lib/tmpfiles.d/roundcube.conf
 }

Modified: roundcubemail.install
===
--- roundcubemail.install   2014-05-26 09:29:42 UTC (rev 111879)
+++ roundcubemail.install   2014-05-26 09:29:47 UTC (rev 111880)
@@ -1,5 +1,6 @@
 post_install() {
   chown -R http:http var/log/roundcubemail
+  systemd-tmpfiles --create roundcube.conf
 }
 
 post_upgrade() {



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

2013-04-03 Thread Sergej Pupykin
Date: Wednesday, April 3, 2013 @ 12:22:42
  Author: spupykin
Revision: 87573

clean up

Modified:
  roundcubemail/trunk/PKGBUILD
  roundcubemail/trunk/roundcubemail.install

---+
 PKGBUILD  |2 --
 roundcubemail.install |4 
 2 files changed, 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-04-03 10:14:55 UTC (rev 87572)
+++ PKGBUILD2013-04-03 10:22:42 UTC (rev 87573)
@@ -27,8 +27,6 @@
   cp -ra ${srcdir}/roundcubemail-${pkgver/rc/-rc} roundcubemail
   cd roundcubemail
 
-  mv installer xinstallerx
-
   mv .htaccess $pkgdir/etc/webapps/roundcubemail/
   ln -s /etc/webapps/roundcubemail/.htaccess .htaccess
 

Modified: roundcubemail.install
===
--- roundcubemail.install   2013-04-03 10:14:55 UTC (rev 87572)
+++ roundcubemail.install   2013-04-03 10:22:42 UTC (rev 87573)
@@ -1,11 +1,7 @@
 post_install() {
-  echo The roundcube install folder has been renamed to 'xinstallerx' with no 
access rights for security reasons.
-  echo However, it is recommended that it be removed to maintain optimal 
security.
-  chmod ugo-rwx usr/share/webapps/roundcubemail/xinstallerx
   chown -R http:http var/log/roundcubemail
 }
 
 post_upgrade() {
   post_install
-  echo Since 0.7.2-2 rouncubemail is in /usr/share/webapps/
 }