Summary: | [patch] www/calendarserver: update to version 9.1 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | cullum | ||||||||||
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||||||||
Status: | Closed FIXED | ||||||||||||
Severity: | Affects Only Me | CC: | Axel.Rau, swills | ||||||||||
Priority: | --- | Keywords: | patch | ||||||||||
Version: | Latest | Flags: | Axel.Rau:
maintainer-feedback+
|
||||||||||
Hardware: | Any | ||||||||||||
OS: | Any | ||||||||||||
Bug Depends on: | 224151 | ||||||||||||
Bug Blocks: | |||||||||||||
Attachments: |
|
Your patch looks perfect, however py27-twext-0.20170227 needs PostgreSQL 9.5+. Unfortunately I have only 9.4 on my db-servers so I can't run my test suite easily. Do you recall why the twext update is needed for calendarserver-9.1 ? Created attachment 188658 [details]
svn diff against 455863
Updated the patch from Cullum Smith.
New port devel/py-sqlparse02 and update to devel/py-twext are in 224204 and 224151
This patch replaces the original one from Cullum Smith.
Created attachment 188659 [details]
testport log for calendarserver 9.1
Comment on attachment 188658 [details]
svn diff against 455863
svn additions:
files/patch-calendarserver_tools_dkimtool.py
svn removals:
files/patch-txdav_base_datastore_dbapiclient.py
(In reply to Axel.Rau from comment #4) Attachment 188658 [details] seems to be the wrong patch file, it only patches devel/py-twext. Created attachment 188726 [details]
svn diff against 455863
Replaces wrong patch file in 188658.
(In reply to Steve Wills from comment #5) Yes. Sorry. A commit references this bug: Author: swills Date: Mon Dec 11 19:49:32 UTC 2017 New revision: 456063 URL: https://svnweb.freebsd.org/changeset/ports/456063 Log: www/calendarserver: update to version 9.1 PR: 221929 Submitted by: Axel.Rau@Chaos1.DE (maintainer) Reported by: Cullum Smith <cullum@c0ffee.net> Changes: head/www/calendarserver/Makefile head/www/calendarserver/distinfo head/www/calendarserver/files/patch-calendarserver_tools_dkimtool.py head/www/calendarserver/files/patch-setup.py head/www/calendarserver/files/patch-txdav_base_datastore_dbapiclient.py Committed, thanks! |
Created attachment 185907 [details] SVN diff - update CalendarServer 9.0 to 9.1 (www/calendarserver, devel/py-twext, databases/py-sqlparse02) The CalendarServer 9.0 port appears to have two small bugs: 1. Setting LogLevel in caldavd.plist has no effect - DEBUG is always used, creating huge log files. 2. Some of the bundled helper scripts (most notably calendarserver_dkimtool) exit with errors regarding Twisted logging or Python dependencies. I've attached a patch to the www/calendarserver port to update it to version 9.1, which was released on May 25, 2017. Just updating to this latest version fixed issue (1), and I added some additional patches to fix issue (2). However, it appears that this latest version of Apple's CalendarServer has a hard dependency on py-sqlparse 0.2.0 - the daemon fails to start with anything more recent than that. I've attached an additional patch for a new port, databases/py-sqlparse02, which satisfies this requirement. Finally, I've attached a third patch to devel/py-twext to use Apple's latest version. It appears to be required for CalendarServer 9.1. I'm not sure whether the attached patches are the right approach, but I figured I would share the steps to get version 9.1 working on FreeBSD 11.1. Thanks, Cullum Smith