Projects
Kolab:Winterfell
roundcubemail-plugins-kolab
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 65
View file
roundcubemail-plugins-kolab.spec
Changed
@@ -46,6 +46,8 @@ Source102: plesk.kolab_folders.inc.php Source103: plesk.libkolab.inc.php +Patch0001: 0001-Fix-regression-when-startup-method-of-some-by-role-p.patch + Patch1001: roundcubemail-plugins-kolab-3.3-kolab-files-manticore-api.patch BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) @@ -858,6 +860,8 @@ cp -af %{SOURCE103} plugins/libkolab/config.inc.php.dist %endif +%patch0001 -p1 + %patch1001 -p1 find -type d -name "helpdocs" -exec rm -rvf {} \; 2>/dev/null || :
View file
0001-Fix-regression-when-startup-method-of-some-by-role-p.patch
Added
@@ -0,0 +1,28 @@ +From 1abc73cf345ea5167a63b4e246f0c5bdd84eaf94 Mon Sep 17 00:00:00 2001 +From: Aleksander Machniak <machniak@kolabsys.com> +Date: Tue, 3 Oct 2017 10:13:10 +0200 +Subject: [PATCH] Fix regression when startup() method of some "by role + plugins" could be called when not expected, causing PHP errors + +--- + plugins/kolab_auth/kolab_auth.php | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/plugins/kolab_auth/kolab_auth.php b/plugins/kolab_auth/kolab_auth.php +index 654ccc88..a2db8fe8 100644 +--- a/plugins/kolab_auth/kolab_auth.php ++++ b/plugins/kolab_auth/kolab_auth.php +@@ -331,8 +331,8 @@ class kolab_auth extends rcube_plugin + // Some plugins e.g. kolab_2fa use 'startup' hook to + // register other hooks, but when called on 'authenticate' hook + // we're already after 'startup', so we'll call it directly +- if ($loaded && $startup && ($plugin = $this->api->get_plugin($plugin)) +- && method_exists($plugin, 'startup') ++ if ($loaded && $startup && $plugin == 'kolab_2fa' ++ && ($plugin = $this->api->get_plugin($plugin)) + ) { + $plugin->startup(array('task' => $rcmail->task, 'action' => $rcmail->action)); + } +-- +2.14.1 +
View file
debian.series
Changed
@@ -1,1 +1,2 @@ roundcubemail-plugins-kolab-3.3-kolab-files-manticore-api.patch -p1 +0001-Fix-regression-when-startup-method-of-some-by-role-p.patch -p1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.