Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/roundcube mail/roundcube: update to 1.4.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e8a79b3c7fbe
branches:  trunk
changeset: 433848:e8a79b3c7fbe
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Jun 07 22:07:04 2020 +0000

description:
mail/roundcube: update to 1.4.5

Update roundcube to 1.4.5, including some security fixes.

pkgsrc change:

* Proper replace PHP interpreter.
* Fix php-sockets option to work.


RELEASE 1.4.5
-------------
- Fix bug in extracting required plugins from composer.json that led to spurious error in log (#7364)
- Fix so the database setup description is compatible with MySQL 8 (#7340)
- Markasjunk: Fix regression in jsevent driver (#7361)
- Fix missing flag indication on collapsed thread in Larry and Elastic (#7366)
- Fix default keyservers (use keys.openpgp.org), add note about CORS (#7373, #7367)
- Mailvelope: Use sender's address to find pubkeys to check signatures (#7348)
- Mailvelope: Fix Encrypt button hidden in Elastic (#7353)
- Fix PHP warning: count(): Parameter must be an array or an object... in ID command handler (#7392)
- Fix error when user-configured skin does not exist anymore (#7271)
- Elastic: Fix aspect ratio of a contact photo in mail preview (#7339)
- Fix bug where PDF attachments marked as inline could have not been attached on mail forward (#7382)
- Security: Fix a couple of XSS issues in Installer (#7406)
- Security: Fix XSS issue in template object 'username' (#7406)
- Security: Better fix for CVE-2020-12641
- Security: Fix cross-site scripting (XSS) via malicious XML attachment

diffstat:

 mail/roundcube/Makefile                                            |  31 ++++++---
 mail/roundcube/Makefile.common                                     |   4 +-
 mail/roundcube/distinfo                                            |  12 +-
 mail/roundcube/options.mk                                          |   4 +-
 mail/roundcube/patches/patch-program_lib_Roundcube_rcube__mime.php |  25 ++++++++
 mail/roundcube/patches/patch-rcube_mime_default                    |  25 --------
 6 files changed, 54 insertions(+), 47 deletions(-)

diffs (165 lines):

diff -r 5f81779f05c2 -r e8a79b3c7fbe mail/roundcube/Makefile
--- a/mail/roundcube/Makefile   Sun Jun 07 18:57:00 2020 +0000
+++ b/mail/roundcube/Makefile   Sun Jun 07 22:07:04 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.92 2020/01/14 14:30:00 taca Exp $
+# $NetBSD: Makefile,v 1.93 2020/06/07 22:07:04 taca Exp $
 
 DISTNAME=      roundcubemail-${RC_VERS}
 PKGNAME=       ${PHP_PKG_PREFIX}-${DISTNAME:S/mail-/-/:S/-complete//}
@@ -44,6 +44,24 @@
                        ${PKG_SYSCONFDIR}/defaults.inc.php \
                        ${WWW_USER} ${WWW_GROUP} 0640
 
+CONF_PLUGINS=          acl additional_message_headers database_attachments \
+                       emoticons help http_authentication jqueryui \
+                       krb_authentication managesieve markasjunk \
+                       new_user_identity newmail_notifier \
+                       redundant_attachments squirrelmail_usercopy
+RC_DOCS=               CHANGELOG INSTALL LICENSE README.md UPGRADING
+REPLACE_PHP=           cleandb.sh decrypt.sh deluser.sh gc.sh \
+                       indexcontacts.sh initdb.sh installto.sh \
+                       moduserprefs.sh msgexport.sh msgimport.sh \
+                       update.sh updatecss.sh updatedb.sh
+
+REPLACE_INTERPRETER+=  php
+REPLACE.php.old=       .*php[^ ]*
+REPLACE.php.new=       ${PREFIX}/bin/php
+.for f in ${REPLACE_PHP}
+REPLACE_FILES.php+=    bin/${f}
+.endfor
+
 SUBST_CLASSES+=                files
 SUBST_STAGE.files=     do-configure
 SUBST_MESSAGE.files=   Fixing configuration files.
@@ -58,17 +76,6 @@
 SUBST_VARS.files+=     PKG_SYSCONFBASE
 SUBST_VARS.files+=     PKG_SYSCONFDIR
 
-CONF_PLUGINS=          acl additional_message_headers database_attachments \
-                       emoticons help http_authentication jqueryui \
-                       krb_authentication managesieve markasjunk \
-                       new_user_identity newmail_notifier \
-                       redundant_attachments squirrelmail_usercopy
-RC_DOCS=               CHANGELOG INSTALL LICENSE README.md UPGRADING
-REPLACE_PHP=           cleandb.sh decrypt.sh deluser.sh gc.sh \
-                       indexcontacts.sh initdb.sh installto.sh \
-                       moduserprefs.sh msgexport.sh msgimport.sh \
-                       update.sh updatecss.sh updatedb.sh
-
 pre-configure:
        ${CP} ${FILESDIR}/apache.conf ${WRKSRC}/apache.conf
        ${CP} ${FILESDIR}/lighttpd.conf ${WRKSRC}/lighttpd.conf
diff -r 5f81779f05c2 -r e8a79b3c7fbe mail/roundcube/Makefile.common
--- a/mail/roundcube/Makefile.common    Sun Jun 07 18:57:00 2020 +0000
+++ b/mail/roundcube/Makefile.common    Sun Jun 07 22:07:04 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.17 2020/04/30 07:09:34 taca Exp $
+# $NetBSD: Makefile.common,v 1.18 2020/06/07 22:07:04 taca Exp $
 #
 # used by mail/roundcube/Makefile
 # used by mail/roundcube/plugins.mk
@@ -10,7 +10,7 @@
 GITHUB_RELEASE=        ${RC_VERS}
 HOMEPAGE=      https://roundcube.net/
 
-RC_VERS=       1.4.4
+RC_VERS=       1.4.5
 
 USE_LANGUAGES=         # none
 USE_TOOLS+=            pax
diff -r 5f81779f05c2 -r e8a79b3c7fbe mail/roundcube/distinfo
--- a/mail/roundcube/distinfo   Sun Jun 07 18:57:00 2020 +0000
+++ b/mail/roundcube/distinfo   Sun Jun 07 22:07:04 2020 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.68 2020/04/30 07:09:34 taca Exp $
+$NetBSD: distinfo,v 1.69 2020/06/07 22:07:04 taca Exp $
 
-SHA1 (roundcubemail-1.4.4-complete.tar.gz) = 4e425263f5bec27d39c07bde524f421bda205c07
-RMD160 (roundcubemail-1.4.4-complete.tar.gz) = 43c3ea4da074337c4b8826420eab9a799fd46e1a
-SHA512 (roundcubemail-1.4.4-complete.tar.gz) = ddea321b5266c547f67c010147e9aa1457bea4802bec37f9e9d87e691bdc8df27f5c90cff8770de2458822160b85f7359f62742072ae1d642a040b9d88651519
-Size (roundcubemail-1.4.4-complete.tar.gz) = 7029864 bytes
+SHA1 (roundcubemail-1.4.5-complete.tar.gz) = 551d5dda8760471241dfc77333b004693f04feaf
+RMD160 (roundcubemail-1.4.5-complete.tar.gz) = 99158492a9feaad08f24021bbb356113ce27c4a2
+SHA512 (roundcubemail-1.4.5-complete.tar.gz) = 031a4669249efa67050212fc6b19429751fabb8204ffe1ea0088810f2efe30de9b7bf986c21c3091b6037628a0527550e33e96ad67cd0f16c85dc5398f67b761
+Size (roundcubemail-1.4.5-complete.tar.gz) = 7031560 bytes
 SHA1 (patch-af) = 7f29b0310a2a6b2e71858787e08b025e30d8bd12
 SHA1 (patch-config_config.inc.php.sample) = 92a48a97b16fe3f5f4b9441fce762a559d8daca7
-SHA1 (patch-rcube_mime_default) = b1e9479d575b7fd61c413e2b76ee36c06ece7a5c
+SHA1 (patch-program_lib_Roundcube_rcube__mime.php) = b1e9479d575b7fd61c413e2b76ee36c06ece7a5c
diff -r 5f81779f05c2 -r e8a79b3c7fbe mail/roundcube/options.mk
--- a/mail/roundcube/options.mk Sun Jun 07 18:57:00 2020 +0000
+++ b/mail/roundcube/options.mk Sun Jun 07 22:07:04 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.16 2018/05/16 08:14:40 triaxx Exp $
+# $NetBSD: options.mk,v 1.17 2020/06/07 22:07:04 taca Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.roundcube
 
@@ -80,7 +80,7 @@
 ###
 ### Use sockets, required by managesieve and password plugins.
 ###
-.if !empty(PKG_OPTIONS:Msockets)
+.if !empty(PKG_OPTIONS:Mphp-sockets)
 DEPENDS+=      ${PHP_PKG_PREFIX}-sockets>=4.3.1:../../net/php-sockets
 .endif
 
diff -r 5f81779f05c2 -r e8a79b3c7fbe mail/roundcube/patches/patch-program_lib_Roundcube_rcube__mime.php
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/roundcube/patches/patch-program_lib_Roundcube_rcube__mime.php        Sun Jun 07 22:07:04 2020 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-program_lib_Roundcube_rcube__mime.php,v 1.3 2020/06/07 22:07:04 taca Exp $
+
+Fix path to /etc/.
+
+--- program/lib/Roundcube/rcube_mime.php.orig  2018-04-11 11:06:18.000000000 +0000
++++ program/lib/Roundcube/rcube_mime.php
+@@ -790,12 +790,12 @@ class rcube_mime
+             $file_paths[] = 'C:/xampp/apache/conf/mime.types.';
+         }
+         else {
+-            $file_paths[] = '/etc/mime.types';
+-            $file_paths[] = '/etc/httpd/mime.types';
+-            $file_paths[] = '/etc/httpd2/mime.types';
+-            $file_paths[] = '/etc/apache/mime.types';
+-            $file_paths[] = '/etc/apache2/mime.types';
+-            $file_paths[] = '/etc/nginx/mime.types';
++            $file_paths[] = '@PKG_SYSCONFBASE@/mime.types';
++            $file_paths[] = '@PKG_SYSCONFBASE@/httpd/mime.types';
++            $file_paths[] = '@PKG_SYSCONFBASE@/httpd2/mime.types';
++            $file_paths[] = '@PKG_SYSCONFBASE@/apache/mime.types';
++            $file_paths[] = '@PKG_SYSCONFBASE@/apache2/mime.types';
++            $file_paths[] = '@PKG_SYSCONFBASE@/nginx/mime.types';
+             $file_paths[] = '/usr/local/etc/httpd/conf/mime.types';
+             $file_paths[] = '/usr/local/etc/apache/conf/mime.types';
+             $file_paths[] = '/usr/local/etc/apache24/mime.types';
diff -r 5f81779f05c2 -r e8a79b3c7fbe mail/roundcube/patches/patch-rcube_mime_default
--- a/mail/roundcube/patches/patch-rcube_mime_default   Sun Jun 07 18:57:00 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-$NetBSD: patch-rcube_mime_default,v 1.3 2018/05/16 08:14:41 triaxx Exp $
-
-Fix path to /etc/.
-
---- program/lib/Roundcube/rcube_mime.php.orig  2018-04-11 11:06:18.000000000 +0000
-+++ program/lib/Roundcube/rcube_mime.php
-@@ -790,12 +790,12 @@ class rcube_mime
-             $file_paths[] = 'C:/xampp/apache/conf/mime.types.';
-         }
-         else {
--            $file_paths[] = '/etc/mime.types';
--            $file_paths[] = '/etc/httpd/mime.types';
--            $file_paths[] = '/etc/httpd2/mime.types';
--            $file_paths[] = '/etc/apache/mime.types';
--            $file_paths[] = '/etc/apache2/mime.types';
--            $file_paths[] = '/etc/nginx/mime.types';
-+            $file_paths[] = '@PKG_SYSCONFBASE@/mime.types';
-+            $file_paths[] = '@PKG_SYSCONFBASE@/httpd/mime.types';
-+            $file_paths[] = '@PKG_SYSCONFBASE@/httpd2/mime.types';
-+            $file_paths[] = '@PKG_SYSCONFBASE@/apache/mime.types';
-+            $file_paths[] = '@PKG_SYSCONFBASE@/apache2/mime.types';
-+            $file_paths[] = '@PKG_SYSCONFBASE@/nginx/mime.types';
-             $file_paths[] = '/usr/local/etc/httpd/conf/mime.types';
-             $file_paths[] = '/usr/local/etc/apache/conf/mime.types';
-             $file_paths[] = '/usr/local/etc/apache24/mime.types';



Home | Main Index | Thread Index | Old Index