py27-calendarserver - Calendar and Contacts Server from Apple (RFC 4791, RFC 6352)

Property Value
Distribution FreeBSD 11
Repository FreeBSD Ports Latest amd64
Package filename py27-calendarserver-9.1_3.txz
Package name py27-calendarserver
Package version 9.1
Package release 3
Package architecture amd64
Package type txz
Category python www
License APACHE20
Download size 3.32 MB
Installed size 36.23 MB
The open source Calendar and Contacts Server project is a standards-compliant
server implementing the CalDAV and CardDAV protocols (RFC 4791, RFC 6352).
It provides a shared location on the network allowing multiple users to store
and edit calendaring and contact information.
Groups: caldavd
- DOCS: on
This is the core code base for the Calendar and Contacts Server,
which is a CalDAV, CardDAV, WebDAV, and HTTP server.
For general information about the server, see:
plus online DOCs, including RFCs in
/usr/local/share/doc/calendarserver .
Getting Started
Before you can run the server, you need to set up a database and a
configuration file (etc/caldavd/caldavd.plist).
If you installed the documentation (default), you can create the database,
assuming a running PostgreSQL server, so:
OWNER = caldav
and populate it with the caldav tables like so:
psql -h my_server -p my_port \
-f /usr/local/share/doc/calendarserver/current.sql \
-U caldav caldav
If you installed the examples configuration, you could start with a test
configuration by copying and editing from
/usr/local/share/examples/calendarserver/ to /usr/local/etc/caldavd/
the files
You will need to choose a "directory service" to use to populate your server's
principals (users, groups and resources). A directory service provides
the Calendar and Contacts Server with information about these principals.
Some of the directory services which are supported by the Calendar and
Contacts Server include:
- XMLDirectoryService: this service is configurable via an XML file that
contains principal information. The file auth/accounts.xml provides
an example principals configuration.
- OpenDirectoryService: this service uses Apple's OpenDirectory
client (which in turn uses LDAP, Active Directory, etc.) to obtain
principal information.
The above configuration uses XMLDirectoryService by default.
This is a generally useful configuration for development and testing.
This file contains a user principal, named admin, with password admin,
which is set up (in caldavd-test.plist) to have administrative permissions
on the server.
The value of 'user name' in the client configuration is the value of the
attribute <short-name>. Often an e-mail address is usefull here.
In this case there is no need to define a server path on the client.
Updates from earlier versions may require a DB schema update, which is done
automatically on server start up, if <key>FailIfUpgradeNeeded</key> is set to
Upgrading from the previous version of this port (5.1) requires adjustments
to the configuration:
1. Stop the server, install the new version.
2. accounts.xml has a new layout - see
In that file <guid> is optional. If present, it must be a valid UUID like
If you have invalid UUID values in your guid attributes, the fastest
way to upgrade would be to delete them.
Any change on <guid> requires adjustment of the client configuration, as
the old server path
Creating new uuids can be done with python like this:
# python
Python 2.7.11 (default, Jun	 5 2016, 06:09:57)
[GCC 4.2.1 Compatible FreeBSD Clang 3.4.1 . . .
>>> import uuid
>>> str(uuid.uuid4()).upper()
>>> str(uuid.uuid4()).upper()
3. Fix caldavd.plist
Adjust AdminPrincipals if you changed the admin uid above.
DatabaseConnection has a new format.
For these and all other changes review your plist, using
4. Start the server and follow server log. You should see messages about 
schema and data migration like
Starting schema upgrade from version 24 to 60.
Schema upgraded from version 24 to 60.
These schould complete without errors.


Package Version Architecture Repository
py27-calendarserver-9.1_3.txz 9.1 i386 FreeBSD Ports Latest
py27-calendarserver-9.1_3.txz 9.1 i386 FreeBSD Ports Quarterly
py27-calendarserver-9.1_3.txz 9.1 amd64 FreeBSD Ports Quarterly
py27-calendarserver - - -


Name Value
memcached = 1.5.16
postgresql95-client = 9.5.18_1
py27-PyGreSQL = 5.1_1,1
py27-calendar = 2.1
py27-dateutil = 2.8.0
py27-kerberos = 1.3.0
py27-openssl = 18.0.0
py27-pg8000-112 = 1.12.5
py27-psutil = 5.6.3
py27-pycrypto = 2.6.1_3
py27-pytz = 2019.1,1
py27-service_identity = 18.1.0
py27-setproctitle = 1.1.10_1
py27-setuptools = 41.0.1
py27-sqlite3 = 2.7.16_7
py27-twext = 0.20170227_1
py27-twisted = 18.9.0_1
py27-xattr = 0.9.6
py27-zope.interface = 4.6.0
python27 = 2.7.16_1


Type URL
Binary Package py27-calendarserver-9.1_3.txz
Source Package www/calendarserver

Install Howto

Install py27-calendarserver txz package:

# pkg install py27-calendarserver

See Also

Package Description
py27-canonicaljson-1.1.4.txz Canonical JSON
py27-capstone-3.0.5.txz Python bindings for the Capstone Disassembly Engine
py27-carbon-1.1.5.txz Backend storage application for graphite
py27-cartopy-0.17.0_3.txz Cartographic library with Matplotlib support for visualisation
py27-cassandra-driver-3.18.0.txz Python client library for Apache Cassandra
py27-castellan-0.17.0.txz Generic Key Manager interface for OpenStack
py27-cbor-1.0.0.txz RFC 7049 - Concise Binary Object Representation
py27-cbor2-4.1.2_1.txz Pure Python CBOR (de)serializer with extensive tag support
py27-cchardet-2.1.4.txz High speed universal character encoding detector
py27-cclib-1.6.1_1.txz Parsers And Algorithms For Computational Chemistry
py27-cdb-0.34_1.txz Python interface to DJB's constant database library
py27-cddb-1.4_2.txz Python module to fetch information on audio CDs from CDDB
py27-cdecimal-2.3_1.txz Fast drop-in replacement for the Decimal module
py27-cdg-0.1.3_1.txz Library for working with call- and data-flow graphs
py27-cdmi-1.0.txz CDMI on OpenStack Swift implementation