#1033870 sogo: CalDAV/calendar not working with Apple Calendar on macOS Ventura

Package:
sogo
Source:
sogo
Description:
Scalable groupware server
Submitter:
Manfred Stock
Date:
2023-10-12 10:03:03 UTC
Severity:
normal
Tags:
#1033870#5
Date:
2023-04-03 07:37:57 UTC
From:
To:
Dear Maintainer,

since the release of macOS Ventura in 2022-10, users of the accompanying
Apple Calender client application seem to be pretty much unable to use
CalDAV with SOGo to synchronize etc. their calendars. There is an
upstream bug report about this [1] and the issue seems to have been
fixed with the release of SOGo 5.8.1 [2] (the latest version of SOGo at
this time is 5.8.2 (which just seems to fix a regression introduced in
5.8.1)).

Most of the patches linked (in reverse order...) from the changelog
entry "Fix inaccessibility to personal calendar on Mac OS X Ventura." in
[2] can be cleanly applied to SOGo 5.0.1 from Debian Bullseye which
seemed to fix the issue in my tests. I haven't tried this with the
version in Bookworm, but would assume it's easier there if updating the
package to 5.8.2 is not an option anymore at this point in time.


Cheers,
Manfred


[1] https://bugs.sogo.nu/view.php?id=5639
[2] https://github.com/Alinto/sogo/blob/master/CHANGELOG.md#581-2023-03-28

#1033870#10
Date:
2023-10-12 09:17:47 UTC
From:
To:
Dear Maintainer,

as expected, the Apple Calendar on the new macOS Sonoma is also not
fully able to talk to SOGo in the versions provided by Debian in
Bullseye and Bookworm. There's also an upstream bug report [1] regarding
macOS Sonoma in addition to the original report [2] about macOS Ventura.
According to these, the latest version of SOGo (5.9.0 at the time of
this writing) fixes the support for macOS Ventura and Sonoma. The
original bug report also contains a message which says that the original
issue was found and fixed [3] and links to the corresponding commit [4].

When looking at the SOGo repo on Salsa, I noticed there's a 'bookworm'
branch which contains the patches to add macOS Ventura support.
Unfortunately, I wasn't able to build that branch (patch didn't seem to
apply, might also be my fault though) and because of the way the
original upstream fix was implemented, it wouldn't have solved the issue
for macOS Sonoma anyway without further changes. However, the
aforementioned patch [4] which seems to solve the original issue
basically removed the original approach to fixing the issue and replaced
it with a simpler solution. So I tried to extract the essence of this
patch and built the package based on version 5.8.0-1 of the sources on
Salsa [6]. And according to our (limited) tests with macOS Ventura and
Sonoma, this indeed solves the issue. My patch should be attached to
this email.


Cheers,
Manfred

[1] https://bugs.sogo.nu/view.php?id=5870
[2] https://bugs.sogo.nu/view.php?id=5639
[3] https://bugs.sogo.nu/view.php?id=5639#c17217
[4] https://github.com/Alinto/sogo/commit/4f7c73143f38b1e7e00a51b9457b55ce609a02a9
[5] https://salsa.debian.org/debian/sogo/-/tree/bookworm
[6] https://salsa.debian.org/debian/sogo/-/tree/debian/5.8.0-1