[arch-commits] Commit in roundcubemail/repos/community-any (6 files)

Sergej Pupykin spupykin at archlinux.org
Tue Mar 14 13:06:08 UTC 2017


    Date: Tuesday, March 14, 2017 @ 13:06:07
  Author: spupykin
Revision: 216246

archrelease: copy trunk to community-any

Added:
  roundcubemail/repos/community-any/PKGBUILD
    (from rev 216245, roundcubemail/trunk/PKGBUILD)
  roundcubemail/repos/community-any/apache.conf
    (from rev 216245, roundcubemail/trunk/apache.conf)
  roundcubemail/repos/community-any/roundcubemail.install
    (from rev 216245, roundcubemail/trunk/roundcubemail.install)
Deleted:
  roundcubemail/repos/community-any/PKGBUILD
  roundcubemail/repos/community-any/apache.conf
  roundcubemail/repos/community-any/roundcubemail.install

-----------------------+
 PKGBUILD              |  129 +++++++++++++++++++++++-------------------------
 apache.conf           |   14 ++---
 roundcubemail.install |   14 ++---
 3 files changed, 77 insertions(+), 80 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-14 13:05:53 UTC (rev 216245)
+++ PKGBUILD	2017-03-14 13:06:07 UTC (rev 216246)
@@ -1,66 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=roundcubemail
-pkgver=1.2.3
-pkgrel=1
-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.tar.gz::https://github.com/roundcube/roundcubemail/archive/${pkgver/rc/-rc}.tar.gz"
-	apache.conf)
-sha256sums=('461f958818cd294dcc40a97d0bf30091fe0762906b18653fa9739e16eeba3a5c'
-            'c90981405527ebaf153a407af6b8178b41d078bd4472d63b837b3b4cd5ae36b0')
-
-prepare() {
-#  mv "$srcdir"/roundcubemail-${_commit} "$srcdir"/roundcubemail-${pkgver/rc/-rc}
-  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
-  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/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
-
-  sed -i "s|"$srcdir"/roundcubemail-${pkgver/rc/-rc}/vendor/pear-pear.php.net/Console_CommandLine/data|/usr/share/webapps/roundcubemail/vendor/pear-pear.php.net|g" \
-    vendor/pear-pear.php.net/Console_CommandLine/Console/CommandLine/XmlParser.php
-
-  sed -i "s|"$srcdir"/roundcubemail-${pkgver/rc/-rc}|/usr/share/webapps/roundcubemail|g" \
-    vendor/pear-pear.php.net/Crypt_GPG/bin/crypt-gpg-pinentry \
-    vendor/pear-pear.php.net/Crypt_GPG/Crypt/GPG/Engine.php \
-    vendor/pear-pear.php.net/Crypt_GPG/Crypt/GPG/PinEntry.php
-}

Copied: roundcubemail/repos/community-any/PKGBUILD (from rev 216245, roundcubemail/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-03-14 13:06:07 UTC (rev 216246)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=roundcubemail
+pkgver=1.2.4
+pkgrel=1
+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.tar.gz::https://github.com/roundcube/roundcubemail/archive/${pkgver/rc/-rc}.tar.gz"
+	"https://getcomposer.org/download/1.4.1/composer.phar"
+	apache.conf)
+sha256sums=('91d6c8c8a4ecd5c3c78926c080720733f413640950578efe440b5c769fba59a3'
+            'abd277cc3453be980bb48cbffe9d1f7422ca1ef4bc0b7d035fda87cea4d55cbc'
+            'c90981405527ebaf153a407af6b8178b41d078bd4472d63b837b3b4cd5ae36b0')
+
+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
+  mv composer.json-dist composer.json
+  php ../composer.phar 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/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
+
+  rm -rf temp logs
+  find "$pkgdir" -name .git -exec rm -rf {} \; || true
+
+  sed -i "s|"$srcdir"/roundcubemail-${pkgver/rc/-rc}/vendor/pear-pear.php.net/Console_CommandLine/data|/usr/share/webapps/roundcubemail/vendor/pear-pear.php.net|g" \
+    vendor/pear-pear.php.net/Console_CommandLine/Console/CommandLine/XmlParser.php
+
+  sed -i "s|"$srcdir"/roundcubemail-${pkgver/rc/-rc}|/usr/share/webapps/roundcubemail|g" \
+    vendor/pear-pear.php.net/Crypt_GPG/bin/crypt-gpg-pinentry \
+    vendor/pear-pear.php.net/Crypt_GPG/Crypt/GPG/Engine.php \
+    vendor/pear-pear.php.net/Crypt_GPG/Crypt/GPG/PinEntry.php
+}

Deleted: apache.conf
===================================================================
--- apache.conf	2017-03-14 13:05:53 UTC (rev 216245)
+++ apache.conf	2017-03-14 13:06:07 UTC (rev 216246)
@@ -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 216245, roundcubemail/trunk/apache.conf)
===================================================================
--- apache.conf	                        (rev 0)
+++ apache.conf	2017-03-14 13:06:07 UTC (rev 216246)
@@ -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	2017-03-14 13:05:53 UTC (rev 216245)
+++ roundcubemail.install	2017-03-14 13:06:07 UTC (rev 216246)
@@ -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 216245, roundcubemail/trunk/roundcubemail.install)
===================================================================
--- roundcubemail.install	                        (rev 0)
+++ roundcubemail.install	2017-03-14 13:06:07 UTC (rev 216246)
@@ -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