Projects
Kolab:3.4:Updates
roundcubemail-plugins-kolab
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Difference Between Revision 7 and
Kolab:3.4
/
roundcubemail-plugins-kolab
View file
roundcubemail-plugins-kolab.spec
Changed
@@ -24,7 +24,7 @@ Name: roundcubemail-plugins-kolab Version: 3.2.7 -Release: 1%{?dist} +Release: 4%{?dist} Summary: Kolab Groupware plugins for Roundcube Webmail Group: Applications/Internet @@ -34,6 +34,8 @@ Source0: http://mirror.kolabsys.com/pub/releases/%{name}-%{version}.tar.gz Source1: comm.py +Patch1: fix-php-fatal-error.patch + BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch @@ -49,6 +51,7 @@ Requires: php-kolab >= 0.5 Requires: php-pear(HTTP_Request2) Requires: php-pear(Net_LDAP3) +Requires: php-pear(Mail_Mime) >= 1.8.5 Requires: roundcubemail >= %{roundcube_version} Requires: roundcubemail(plugin-calendar) = %{?epoch:%{epoch}:}%{version}-%{release} Requires: roundcubemail(plugin-kolab_activesync) = %{?epoch:%{epoch}:}%{version}-%{release} @@ -839,9 +842,10 @@ %prep %setup -q -c "%{name}-%{version}" - pushd %{name}-%{version} +%patch1 -p1 + # Remove the results of patching when there's an incidental offset find . -type f -name "*.orig" -delete @@ -921,8 +925,8 @@ echo " touch %%{_localstatedir}/lib/rpm-state/roundcubemail/httpd.restarted" echo "fi" echo "" - if [ ! -z "$(find ${plugin} -type d -name \"SQL\")" ]; then - echo "for dir in \$(find /usr/share/roundcubemail/plugins/$(basename ${plugin})/ -type d -name \"SQL\"); do" + if [ ! -z "$(find ${plugin} -type d -name SQL)" ]; then + echo "for dir in \$(find /usr/share/roundcubemail/plugins/$(basename ${plugin})/ -type d -name SQL); do" echo " # Skip plugins with multiple drivers and no kolab driver" echo " if [ ! -z \"\$(echo \${dir} | grep driver)\" ]; then" echo " if [ -z \"\$(echo \${dir} | grep kolab)\" ]; then" @@ -1362,6 +1366,20 @@ touch %{_localstatedir}/lib/rpm-state/roundcubemail/httpd.restarted fi +for dir in $(find /usr/share/roundcubemail/plugins/calendar/ -type d -name SQL); do + # Skip plugins with multiple drivers and no kolab driver + if [ ! -z "$(echo ${dir} | grep driver)" ]; then + if [ -z "$(echo ${dir} | grep kolab)" ]; then + continue + fi + fi + + /usr/share/roundcubemail/bin/updatedb.sh \ + --dir ${dir} \ + --package calendar \ + >/dev/null 2>&1 || : +done + %posttrans -n roundcubemail-plugin-kolab_activesync if [ ! -f "%{_localstatedir}/lib/rpm-state/roundcubemail/httpd.restarted" ]; then if [ -f "%{php_inidir}/apc.ini" ]; then @@ -1572,6 +1590,20 @@ touch %{_localstatedir}/lib/rpm-state/roundcubemail/httpd.restarted fi +for dir in $(find /usr/share/roundcubemail/plugins/libkolab/ -type d -name SQL); do + # Skip plugins with multiple drivers and no kolab driver + if [ ! -z "$(echo ${dir} | grep driver)" ]; then + if [ -z "$(echo ${dir} | grep kolab)" ]; then + continue + fi + fi + + /usr/share/roundcubemail/bin/updatedb.sh \ + --dir ${dir} \ + --package libkolab \ + >/dev/null 2>&1 || : +done + %posttrans -n roundcubemail-plugin-logon_page if [ ! -f "%{_localstatedir}/lib/rpm-state/roundcubemail/httpd.restarted" ]; then if [ -f "%{php_inidir}/apc.ini" ]; then @@ -1662,6 +1694,20 @@ touch %{_localstatedir}/lib/rpm-state/roundcubemail/httpd.restarted fi +for dir in $(find /usr/share/roundcubemail/plugins/tasklist/ -type d -name SQL); do + # Skip plugins with multiple drivers and no kolab driver + if [ ! -z "$(echo ${dir} | grep driver)" ]; then + if [ -z "$(echo ${dir} | grep kolab)" ]; then + continue + fi + fi + + /usr/share/roundcubemail/bin/updatedb.sh \ + --dir ${dir} \ + --package tasklist \ + >/dev/null 2>&1 || : +done + %posttrans -n roundcubemail-plugin-tinymce_config if [ ! -f "%{_localstatedir}/lib/rpm-state/roundcubemail/httpd.restarted" ]; then if [ -f "%{php_inidir}/apc.ini" ]; then @@ -1931,6 +1977,15 @@ %defattr(-,root,root,-) %changelog +* Sun Apr 19 2015 Daniel Hoffend <dh@dotlan.net> - 3.2.7-4 +- fixed check post install database update + +* Fri Mar 06 2015 Daniel Hoffend <dh@dotlan.net> - 3.2.7-3 +- Fixed Mail_Mime requirements + +* Sat Feb 28 2015 Daniel Hoffend <dh@dotlan.net> - 3.2.7-1 +- Fix PHP Fatal Error when Freebusy is using HTTP Authentication (#4751) + * Wed Feb 25 2015 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 3.2.7-1 - Release of version 3.2.7
View file
fix-php-fatal-error.patch
Added
@@ -0,0 +1,25 @@ +From d91d6f98a7f4c03b55d7283873d935fde0b8d50f Mon Sep 17 00:00:00 2001 +From: Daniel Hoffend <dh@dotlan.net> +Date: Sat, 28 Feb 2015 21:25:30 +0100 +Subject: [PATCH] fixed wrong rc->user call (php fatal error) + +--- + plugins/calendar/drivers/kolab/kolab_user_calendar.php | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/plugins/calendar/drivers/kolab/kolab_user_calendar.php b/plugins/calendar/drivers/kolab/kolab_user_calendar.php +index 3d53206..1f1d7ac 100644 +--- a/plugins/calendar/drivers/kolab/kolab_user_calendar.php ++++ b/plugins/calendar/drivers/kolab/kolab_user_calendar.php +@@ -283,7 +283,7 @@ class kolab_user_calendar extends kolab_calendar + + // authentication required + if ($response->getStatus() == 401) { +- $request->setAuth($this->rc->user->get_username(), $this->rc->decrypt($_SESSION['password'])); ++ $request->setAuth($this->cal->rc->user->get_username(), $this->cal->rc->decrypt($_SESSION['password'])); + $response = $request->send(); + } + +-- +1.9.1 +
View file
debian.changelog
Changed
@@ -1,3 +1,9 @@ +roundcubemail-plugins-kolab (1:3.2.7-0~kolab2) unstable; urgency=low + + * Fix PHP Fatal Error when Freebusy is using HTTP Authentication (#4751) + + -- Daniel Hoffend <dh@dotlan.net> Sat, 28 Feb 2015 21:49:12 +0100 + roundcubemail-plugins-kolab (1:3.2.7-0~kolab1) unstable; urgency=low * Release of version 3.2.7
View file
debian.control
Changed
@@ -11,6 +11,7 @@ Package: roundcubemail-plugins-kolab Architecture: all Depends: roundcubemail (>> 0.9), + php-mail-mime (>= 1.8.5), php-http-request2, php-net-url2, php5-cli,
View file
debian.series
Changed
@@ -0,0 +1,1 @@ +fix-php-fatal-error.patch -p1
View file
roundcubemail-plugins-kolab.dsc
Changed
@@ -2,7 +2,7 @@ Source: roundcubemail-plugins-kolab Binary: roundcubemail-plugins-kolab Architecture: all -Version: 1:3.2.7-0~kolab1 +Version: 1:3.2.7-0~kolab2 Maintainer: Christoph Wickert <wickert@kolabsys.com> Uploaders: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>, Paul Klos <kolab@klos2day.nl> Standards-Version: 3.9.3
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
.