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

Sergej Pupykin spupykin at gemini.archlinux.org
Fri Dec 31 23:11:32 UTC 2021


    Date: Friday, December 31, 2021 @ 23:11:32
  Author: spupykin
Revision: 1091333

archrelease: copy trunk to community-any

Added:
  roundcubemail/repos/community-any/0001-plugins-password-make-Python-3-compatible.patch
    (from rev 1091332, roundcubemail/trunk/0001-plugins-password-make-Python-3-compatible.patch)
  roundcubemail/repos/community-any/PKGBUILD
    (from rev 1091332, roundcubemail/trunk/PKGBUILD)
  roundcubemail/repos/community-any/apache.conf
    (from rev 1091332, roundcubemail/trunk/apache.conf)
Deleted:
  roundcubemail/repos/community-any/0001-plugins-password-make-Python-3-compatible.patch
  roundcubemail/repos/community-any/PKGBUILD
  roundcubemail/repos/community-any/apache.conf

------------------------------------------------------+
 0001-plugins-password-make-Python-3-compatible.patch |   66 +++++-----
 PKGBUILD                                             |  110 ++++++++---------
 apache.conf                                          |   14 +-
 3 files changed, 95 insertions(+), 95 deletions(-)

Deleted: 0001-plugins-password-make-Python-3-compatible.patch
===================================================================
--- 0001-plugins-password-make-Python-3-compatible.patch	2021-12-31 23:11:22 UTC (rev 1091332)
+++ 0001-plugins-password-make-Python-3-compatible.patch	2021-12-31 23:11:32 UTC (rev 1091333)
@@ -1,33 +0,0 @@
-From d1163b12a1da183d9e8a8df4180b03afe4ef775d Mon Sep 17 00:00:00 2001
-From: Jelle van der Waa <jelle at vdwaa.nl>
-Date: Wed, 1 Jan 2020 18:30:49 +0100
-Subject: [PATCH] plugins: password: make Python 3 compatible
-
-Remove the ", e" as the exception is never printed and this makes it
-Python 3 compatible as well
----
- plugins/password/helpers/chpass-wrapper.py | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/plugins/password/helpers/chpass-wrapper.py b/plugins/password/helpers/chpass-wrapper.py
-index 61bba849e..e56811561 100644
---- a/plugins/password/helpers/chpass-wrapper.py
-+++ b/plugins/password/helpers/chpass-wrapper.py
-@@ -11,12 +11,12 @@ BLACKLIST = (
- 
- try:
-     username, password = sys.stdin.readline().split(':', 1)
--except ValueError, e:
-+except ValueError:
-     sys.exit('Malformed input')
- 
- try:
-     user = pwd.getpwnam(username)
--except KeyError, e:
-+except KeyError:
-     sys.exit('No such user: %s' % username)
- 
- if user.pw_uid < 1000:
--- 
-2.24.1
-

Copied: roundcubemail/repos/community-any/0001-plugins-password-make-Python-3-compatible.patch (from rev 1091332, roundcubemail/trunk/0001-plugins-password-make-Python-3-compatible.patch)
===================================================================
--- 0001-plugins-password-make-Python-3-compatible.patch	                        (rev 0)
+++ 0001-plugins-password-make-Python-3-compatible.patch	2021-12-31 23:11:32 UTC (rev 1091333)
@@ -0,0 +1,33 @@
+From d1163b12a1da183d9e8a8df4180b03afe4ef775d Mon Sep 17 00:00:00 2001
+From: Jelle van der Waa <jelle at vdwaa.nl>
+Date: Wed, 1 Jan 2020 18:30:49 +0100
+Subject: [PATCH] plugins: password: make Python 3 compatible
+
+Remove the ", e" as the exception is never printed and this makes it
+Python 3 compatible as well
+---
+ plugins/password/helpers/chpass-wrapper.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/plugins/password/helpers/chpass-wrapper.py b/plugins/password/helpers/chpass-wrapper.py
+index 61bba849e..e56811561 100644
+--- a/plugins/password/helpers/chpass-wrapper.py
++++ b/plugins/password/helpers/chpass-wrapper.py
+@@ -11,12 +11,12 @@ BLACKLIST = (
+ 
+ try:
+     username, password = sys.stdin.readline().split(':', 1)
+-except ValueError, e:
++except ValueError:
+     sys.exit('Malformed input')
+ 
+ try:
+     user = pwd.getpwnam(username)
+-except KeyError, e:
++except KeyError:
+     sys.exit('No such user: %s' % username)
+ 
+ if user.pw_uid < 1000:
+-- 
+2.24.1
+

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-31 23:11:22 UTC (rev 1091332)
+++ PKGBUILD	2021-12-31 23:11:32 UTC (rev 1091333)
@@ -1,55 +0,0 @@
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=roundcubemail
-pkgver=1.5.1
-pkgrel=1
-pkgdesc="A PHP web-based mail client"
-arch=('any')
-url="https://roundcube.net/"
-license=('GPL')
-depends=('php')
-options=('emptydirs')
-makedepends=('git')
-optdepends=('python: password change script'
-            'perl: for change_ldap_pass.pl helper'
-	    'php-gd')
-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")
-sha512sums=('bcea37859fbbee2f474cda024e5648b823a2da44ae69e5036a5b7e6add1d73dbfc1cd1cc32a3e01e59b0a3ba2ea03d1b028eec8e8f139fc4fb3eea8b52e28203'
-            'SKIP'
-            '0e80317ae6f040386b0980d0764bc8a9aa5f7cbf028a210a896763cb7a7fea6d91600eda588922a0eb6d519f2ec1e0a2f723bd7ab554c8b1ad4af49a95101f6e')
-
-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 33:33 "$pkgdir"/etc/webapps/roundcubemail/config/config.inc.php.sample
-  chmod 0640 "$pkgdir"/etc/webapps/roundcubemail/config/config.inc.php.sample
-
-  install -dm0750 -o 33 -g 33 "$pkgdir"/var/cache/roundcubemail
-  install -dm0750 -o 33 -g 33 "$pkgdir"/var/log/roundcubemail
-
-  rm -rf temp logs
-}

Copied: roundcubemail/repos/community-any/PKGBUILD (from rev 1091332, roundcubemail/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-31 23:11:32 UTC (rev 1091333)
@@ -0,0 +1,55 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=roundcubemail
+pkgver=1.5.2
+pkgrel=1
+pkgdesc="A PHP web-based mail client"
+arch=('any')
+url="https://roundcube.net/"
+license=('GPL')
+depends=('php')
+options=('emptydirs')
+makedepends=('git')
+optdepends=('python: password change script'
+            'perl: for change_ldap_pass.pl helper'
+	    'php-gd')
+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")
+sha512sums=('96faa8c95c23b538ebfa91f58fb918b37185dbd1c09f2d128c9f8c800a0e3d6a2abbfa52753fb6a7ee47b633f35e2b31c92623107116dc760dfa9a22a4b2a23c'
+            'SKIP'
+            '0e80317ae6f040386b0980d0764bc8a9aa5f7cbf028a210a896763cb7a7fea6d91600eda588922a0eb6d519f2ec1e0a2f723bd7ab554c8b1ad4af49a95101f6e')
+
+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 33:33 "$pkgdir"/etc/webapps/roundcubemail/config/config.inc.php.sample
+  chmod 0640 "$pkgdir"/etc/webapps/roundcubemail/config/config.inc.php.sample
+
+  install -dm0750 -o 33 -g 33 "$pkgdir"/var/cache/roundcubemail
+  install -dm0750 -o 33 -g 33 "$pkgdir"/var/log/roundcubemail
+
+  rm -rf temp logs
+}

Deleted: apache.conf
===================================================================
--- apache.conf	2021-12-31 23:11:22 UTC (rev 1091332)
+++ apache.conf	2021-12-31 23:11:32 UTC (rev 1091333)
@@ -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 1091332, roundcubemail/trunk/apache.conf)
===================================================================
--- apache.conf	                        (rev 0)
+++ apache.conf	2021-12-31 23:11:32 UTC (rev 1091333)
@@ -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>



More information about the arch-commits mailing list