Projects
Kolab:Winterfell
php-sabre-vobject
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 6
View file
php-sabre-vobject.spec
Changed
@@ -15,7 +15,7 @@ Name: php-%{gh_project} Summary: Library to parse and manipulate iCalendar and vCard objects Version: 3.5.3 -Release: 1%{?dist} +Release: 2%{?dist} URL: http://sabre.io/vobject/ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}.tar.gz @@ -24,6 +24,7 @@ # replace composer autloader by PSR-O trivial one Patch0: %{gh_project}-bin.patch +Patch1: T41247.patch BuildArch: noarch %if %{with_tests} @@ -59,6 +60,7 @@ %setup -q -n %{gh_project}-%{?gh_commit:%{gh_commit}}%{!?gh_commit:%{version}} %patch0 -p0 -b .psr0 +%patch1 -p1 -b .T41247 : Create trivial PSR0 autoloader for tests cat <<EOF | tee psr0.php @@ -106,6 +108,9 @@ %changelog +* Wed Nov 15 2017 Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> - 3.5.3-2 +- Avoid unintentional RRULE changes upon SNOOZE (T41247) + * Sun Dec 4 2016 Daniel Hoffend <dh@dotlan.net> - 3.5.3-1 - update to 3.5.3
View file
T41247.patch
Added
@@ -0,0 +1,43 @@ +diff -ur sabre-vobject-3.5.3.orig/lib/ITip/Broker.php sabre-vobject-3.5.3/lib/ITip/Broker.php +--- sabre-vobject-3.5.3.orig/lib/ITip/Broker.php 2016-10-07 05:20:40.000000000 +0200 ++++ sabre-vobject-3.5.3/lib/ITip/Broker.php 2017-11-15 10:12:07.157525075 +0100 +@@ -849,6 +849,7 @@ + throw new ITipException('If a calendar contained more than one event, they must have the same UID.'); + } + } ++ $rrule = []; + + if (!isset($vevent->DTSTART)) { + throw new ITipException('An event MUST have a DTSTART property.'); +@@ -881,6 +882,18 @@ + } + sort($exdate); + } ++ if (isset($vevent->RRULE)) { ++ foreach ($vevent->select('RRULE') as $rr) { ++ foreach ($rr->getParts() as $key => $val) { ++ // ignore default values (https://github.com/sabre-io/vobject/issues/126) ++ if ($key === 'INTERVAL' && $val == 1) { ++ continue; ++ } ++ $rrule[] = "$key=$val"; ++ } ++ } ++ sort($rrule); ++ } + if (isset($vevent->STATUS)) { + $status = strtoupper($vevent->STATUS->getValue()); + } +@@ -948,6 +961,9 @@ + + $significantChangeHash.= implode(',', $exdate).';'; + ++ } elseif ($prop === 'RRULE') { ++ $significantChangeHash .= implode(',', $rrule) . ';'; ++ + } else { + + foreach($propertyValues as $val) { +Only in sabre-vobject-3.5.3/lib/ITip: Broker.php.orig +Only in sabre-vobject-3.5.3/lib/ITip: Broker.php.rej +Only in sabre-vobject-3.5.3/tests/VObject/ITip: BrokerSignificantChangesTest.php
View file
debian.changelog
Changed
@@ -1,3 +1,9 @@ +php-sabre-vobject-3 (3.5.3-3) unstable; urgency=low + + * Resolve unintentional modifications to RRULEs upon SNOOZE (T41247) + + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Wed, 15 Nov 2017 11:11:11 +0200 + php-sabre-vobject-3 (3.5.3-2) unstable; urgency=low * Build require mbstring
View file
debian.series
Changed
@@ -1,2 +1,3 @@ 0001-Use-homemade-autoloader.php.patch 0002-replace-with-homemade-tests-autoloader.patch +T41247.patch -p1
View file
php-sabre-vobject.dsc
Changed
@@ -2,7 +2,7 @@ Source: php-sabre-vobject-3 Binary: php-sabre-vobject-3 Architecture: all -Version: 3.5.3-2 +Version: 3.5.3-3 Maintainer: ownCloud for Debian maintainers <pkg-owncloud-maintainers@lists.alioth.debian.org> Uploaders: David Prévot <taffit@debian.org> Homepage: http://sabre.io/vobject/
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
.