The productivity/davical port
davical-1.1.12p1 – CalDAV/CardDav calendar/contacts server (cvsweb github mirror)
Description
DAViCal is a server for calendar/contacts sharing. It is an implementation of the CalDAV protocol which is designed for storing calendaring resources (in iCalendar format) on a remote shared server. It also provides CardDAV features for contact/vCard sharing.WWW: https://www.davical.org/
Readme
+----------------------------------------------------------------------- | Running ${PKGSTEM} on OpenBSD +----------------------------------------------------------------------- Database Setup ============== DAViCal needs two PostgreSQL users, one for administrative access and one for daily use. Assuming you have an administrative account named `postgres', you can create the users and davical database like this: createuser -U postgres --pwprompt --no-superuser --no-createdb \ --no-createrole davical_dba createuser -U postgres --pwprompt --no-superuser --no-createdb \ --no-createrole davical_app createdb -U postgres -E UTF8 -T template0 -O davical_dba davical Let's fill the database using the newly created dba user: psql -U davical_dba -f ${TRUEPREFIX}/awl/dba/awl-tables.sql davical psql -U davical_dba -f ${TRUEPREFIX}/awl/dba/schema-management.sql davical psql -U davical_dba -f ${TINSTDIR}/dba/davical.sql davical Run the administrative script to set permissions for the application DB user on the database. This script should be used when upgrading DAViCal too, so that the DB schema is consistent. ${TINSTDIR}/dba/update-davical-database --dbname davical \ --appuser davical_app --nopatch --owner davical_dba \ --dbpass "$davical_dba_password" Finally, insert basic roles/users into the db: psql -U davical_dba -f ${TINSTDIR}/dba/base-data.sql davical Default temporary admin password is 'nimda', stored in database as '**nimda', you can change it to 'temppass' with psql -U davical_dba -c \ "UPDATE usr SET password = '**temppass' WHERE user_no = 1;" davical This is only for initial setup, and it should be changed through the web interface (which will crypt the new password) once logged in. DAViCal Configuration ===================== The DAViCal configuration resides in ${TINSTDIR}/config/config.php and is a regular PHP file which sets (or overrides) some specific variables. You should only need to set pg_connect value to configure database access. httpd(8) Configuration ===================== With httpd(8), it is easiest to run php-fpm and use the following for a distinct server block: ext_addr="*" server "default" { listen on $ext_addr port 80 listen on $ext_addr tls port 443 connection { max requests 500, timeout 3600 } location "/" { directory index index.php } location "/davical/*.php*" { fastcgi socket "/run/php-fpm.sock" root "/davical/htdocs" } } Apache Configuration ==================== With Apache, AllowOverride settings are required on the ${TINSTDIR} directory. You can configure this as follows: # ln -s ../modules.sample/davical.conf \ /var/www/conf/modules # /etc/rc.d/apache2 restart Then point your browser at: http:///davical/ and you should get a message telling you to configure DAViCal. Nginx Configuration =================== With Nginx, the simplest way is to run php-fpm, and use the following configuration for a distinct server block: server { server_name calendar.example.com; root ${TINSTDIR}/htdocs/; location / { index index.php; } location /images/ { } location ~ ^(.*\.php)(.*)$ { include fastcgi_params; fastcgi_pass unix:run/php-fpm.sock; fastcgi_split_path_info ^(.*\.php)(.*)$; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; } } Client Setup ============ More information is available at http://wiki.davical.org/w/CalDAV_Clients.
Maintainer
Landry Breuil
Broken
on sparc64: PHP 8.1 not available on sparc64
Categories
Build dependencies
Run dependencies
Files
- /usr/local/share/doc/pkg-readmes/davical
- /var/www/conf/modules.sample/
- /var/www/conf/modules.sample/davical.conf
- /var/www/davical/
- /var/www/davical/INSTALL
- /var/www/davical/README
- /var/www/davical/config/
- /var/www/davical/config/apache-davical.conf
- /var/www/davical/config/config.php
- /var/www/davical/config/debug-config.php
- /var/www/davical/config/example-administration.yml
- /var/www/davical/config/example-config.php
- /var/www/davical/config/other-config.php
- /var/www/davical/davical.conf
- /var/www/davical/dba/
- /var/www/davical/dba/appuser_permissions.txt
- /var/www/davical/dba/base-data.sql
- /var/www/davical/dba/better_perms.sql
- /var/www/davical/dba/caldav_functions.sql
- /var/www/davical/dba/create-database.sh
- /var/www/davical/dba/davical.sql
- /var/www/davical/dba/patches/
- /var/www/davical/dba/patches/1.1.10.sql
- /var/www/davical/dba/patches/1.1.11.sql
- /var/www/davical/dba/patches/1.1.11a.sql
- /var/www/davical/dba/patches/1.1.12.sql
- /var/www/davical/dba/patches/1.1.12a.sql
- /var/www/davical/dba/patches/1.1.2.sql
- /var/www/davical/dba/patches/1.1.3.sql
- /var/www/davical/dba/patches/1.1.4.sql
- /var/www/davical/dba/patches/1.1.5.sql
- /var/www/davical/dba/patches/1.1.6.sql
- /var/www/davical/dba/patches/1.1.7.sql
- /var/www/davical/dba/patches/1.1.8.sql
- /var/www/davical/dba/patches/1.1.9.sql
- /var/www/davical/dba/patches/1.2.1.sql
- /var/www/davical/dba/patches/1.2.10.sql
- /var/www/davical/dba/patches/1.2.10a.sql
- /var/www/davical/dba/patches/1.2.11.sql
- /var/www/davical/dba/patches/1.2.12.sql
- /var/www/davical/dba/patches/1.2.1a.sql
- /var/www/davical/dba/patches/1.2.1b.sql
- /var/www/davical/dba/patches/1.2.2.sql
- /var/www/davical/dba/patches/1.2.3.sql
- /var/www/davical/dba/patches/1.2.3a.sql
- /var/www/davical/dba/patches/1.2.4.sql
- /var/www/davical/dba/patches/1.2.5.sql
- /var/www/davical/dba/patches/1.2.6.sql
- /var/www/davical/dba/patches/1.2.7.sql
- /var/www/davical/dba/patches/1.2.8.sql
- /var/www/davical/dba/patches/1.2.9.sql
- /var/www/davical/dba/patches/1.3.1.sql
- /var/www/davical/dba/patches/1.3.2.sql
- /var/www/davical/dba/patches/1.3.3.sql
- /var/www/davical/dba/patches/1.3.4.sql
- /var/www/davical/dba/patches/1.3.5.sql
- /var/www/davical/dba/rrule_functions-8.1.sql
- /var/www/davical/dba/rrule_functions.sql
- /var/www/davical/dba/rrule_tests.sql
- /var/www/davical/dba/supported_locales.sql
- /var/www/davical/dba/update-davical-database
- /var/www/davical/dba/views/
- /var/www/davical/dba/views/dav_principal.sql
- /var/www/davical/dba/windows/
- /var/www/davical/dba/windows/create-database.bat
- /var/www/davical/htdocs/
- /var/www/davical/htdocs/.htaccess
- /var/www/davical/htdocs/admin.php
- /var/www/davical/htdocs/always.php
- /var/www/davical/htdocs/caldav.php
- /var/www/davical/htdocs/css/
- /var/www/davical/htdocs/css/browse.css
- /var/www/davical/htdocs/css/edit.css
- /var/www/davical/htdocs/davical.css
- /var/www/davical/htdocs/feed.php
- /var/www/davical/htdocs/freebusy.php
- /var/www/davical/htdocs/help.php
- /var/www/davical/htdocs/iSchedule.php
- /var/www/davical/htdocs/images/
- /var/www/davical/htdocs/images/down.gif
- /var/www/davical/htdocs/images/up.gif
- /var/www/davical/htdocs/index.php
- /var/www/davical/htdocs/js/
- /var/www/davical/htdocs/js/browse.js
- /var/www/davical/htdocs/js/collection-edit.js
- /var/www/davical/htdocs/js/common.js
- /var/www/davical/htdocs/js/edit.js
- /var/www/davical/htdocs/js/setup.js
- /var/www/davical/htdocs/metrics.php
- /var/www/davical/htdocs/public.php
- /var/www/davical/htdocs/robots.txt
- /var/www/davical/htdocs/setup.php
- /var/www/davical/htdocs/tools.php
- /var/www/davical/htdocs/tz.php
- /var/www/davical/htdocs/upgrade.php
- /var/www/davical/inc/
- /var/www/davical/inc/AtomFeed.php
- /var/www/davical/inc/CalDAVRequest.php
- /var/www/davical/inc/DAVPrincipal.php
- /var/www/davical/inc/DAVResource.php
- /var/www/davical/inc/DAVTicket.php
- /var/www/davical/inc/DAViCalSession.php
- /var/www/davical/inc/HTTPAuthSession.php
- /var/www/davical/inc/Principal.php
- /var/www/davical/inc/PublicSession.php
- /var/www/davical/inc/RRule.php
- /var/www/davical/inc/WritableCollection.php
- /var/www/davical/inc/always.php.in
- /var/www/davical/inc/auth-functions.php
- /var/www/davical/inc/autodiscover-handler.php
- /var/www/davical/inc/caldav-ACL.php
- /var/www/davical/inc/caldav-BIND.php
- /var/www/davical/inc/caldav-DELETE.php
- /var/www/davical/inc/caldav-DELTICKET.php
- /var/www/davical/inc/caldav-GET-functions.php
- /var/www/davical/inc/caldav-GET.php
- /var/www/davical/inc/caldav-LOCK.php
- /var/www/davical/inc/caldav-MKCOL.php
- /var/www/davical/inc/caldav-MKTICKET.php
- /var/www/davical/inc/caldav-MOVE.php
- /var/www/davical/inc/caldav-OPTIONS.php
- /var/www/davical/inc/caldav-POST.php
- /var/www/davical/inc/caldav-PROPFIND.php
- /var/www/davical/inc/caldav-PROPPATCH.php
- /var/www/davical/inc/caldav-PUT-default.php
- /var/www/davical/inc/caldav-PUT-functions.php
- /var/www/davical/inc/caldav-PUT-vcalendar.php
- /var/www/davical/inc/caldav-PUT-vcard.php
- /var/www/davical/inc/caldav-REPORT-calquery.php
- /var/www/davical/inc/caldav-REPORT-cardquery.php
- /var/www/davical/inc/caldav-REPORT-expand-property.php
- /var/www/davical/inc/caldav-REPORT-freebusy.php
- /var/www/davical/inc/caldav-REPORT-multiget.php
- /var/www/davical/inc/caldav-REPORT-pps-set.php
- /var/www/davical/inc/caldav-REPORT-principal-match.php
- /var/www/davical/inc/caldav-REPORT-principal.php
- /var/www/davical/inc/caldav-REPORT-sync-collection.php
- /var/www/davical/inc/caldav-REPORT.php
- /var/www/davical/inc/caldav-client-v2.php
- /var/www/davical/inc/caldav-client.php
- /var/www/davical/inc/check_UTF8.php
- /var/www/davical/inc/csrf_tokens.php
- /var/www/davical/inc/davical_configuration_missing.php
- /var/www/davical/inc/drivers_imap_pam.php
- /var/www/davical/inc/drivers_ldap.php
- /var/www/davical/inc/drivers_pwauth_pam.php
- /var/www/davical/inc/drivers_rimap.php
- /var/www/davical/inc/drivers_squid_pam.php
- /var/www/davical/inc/external-fetch.php
- /var/www/davical/inc/freebusy-functions.php
- /var/www/davical/inc/iSchedule-POST.php
- /var/www/davical/inc/iSchedule.php
- /var/www/davical/inc/instance_range.php
- /var/www/davical/inc/interactive-page.php
- /var/www/davical/inc/log_caldav_action.php
- /var/www/davical/inc/other_translated_strings.php
- /var/www/davical/inc/page-footer.php
- /var/www/davical/inc/page-header.php
- /var/www/davical/inc/pubsub.php
- /var/www/davical/inc/schedule-functions.php
- /var/www/davical/inc/tz/
- /var/www/davical/inc/tz/capabilities.php
- /var/www/davical/inc/tz/expand.php
- /var/www/davical/inc/tz/get.php
- /var/www/davical/inc/tz/list.php
- /var/www/davical/inc/ui/
- /var/www/davical/inc/ui/collection-edit.php
- /var/www/davical/inc/ui/external-browse.php
- /var/www/davical/inc/ui/principal-browse.php
- /var/www/davical/inc/ui/principal-edit.php
- /var/www/davical/inc/vcard.php
- /var/www/davical/inc/vtimezone.php
- /var/www/davical/inc/well-known.php
- /var/www/davical/po/
- /var/www/davical/po/ar.po
- /var/www/davical/po/ar.values
- /var/www/davical/po/ca.po
- /var/www/davical/po/cs_CZ.po
- /var/www/davical/po/de.po
- /var/www/davical/po/de.values
- /var/www/davical/po/es_AR.po
- /var/www/davical/po/es_AR.values
- /var/www/davical/po/es_ES.po
- /var/www/davical/po/es_ES.values
- /var/www/davical/po/es_MX.po
- /var/www/davical/po/es_MX.values
- /var/www/davical/po/es_VE.po
- /var/www/davical/po/es_VE.values
- /var/www/davical/po/et.po
- /var/www/davical/po/et.values
- /var/www/davical/po/fi.po
- /var/www/davical/po/fi.values
- /var/www/davical/po/fr.po
- /var/www/davical/po/fr.values
- /var/www/davical/po/hu.po
- /var/www/davical/po/hu.values
- /var/www/davical/po/id_ID.po
- /var/www/davical/po/it.po
- /var/www/davical/po/it.values
- /var/www/davical/po/ja.po
- /var/www/davical/po/ja.values
- /var/www/davical/po/ko_KR.po
- /var/www/davical/po/ko_KR.values
- /var/www/davical/po/messages.pot
- /var/www/davical/po/nb_NO.po
- /var/www/davical/po/nb_NO.values
- /var/www/davical/po/nl.po
- /var/www/davical/po/nl.values
- /var/www/davical/po/pl.po
- /var/www/davical/po/pl.values
- /var/www/davical/po/pofilelist.txt
- /var/www/davical/po/pt_BR.po
- /var/www/davical/po/pt_BR.values
- /var/www/davical/po/pt_PT.po
- /var/www/davical/po/pt_PT.values
- /var/www/davical/po/ru.po
- /var/www/davical/po/ru.values
- /var/www/davical/po/sk_SK.po
- /var/www/davical/po/sk_SK.values
- /var/www/davical/po/sv.po
- /var/www/davical/po/sv.values
- /var/www/davical/scripts/
- /var/www/davical/scripts/archive-old-events.php
- /var/www/davical/scripts/build-always.sh
- /var/www/davical/scripts/cron-sync-ldap.php
- /var/www/davical/scripts/davical-cli
- /var/www/davical/scripts/export_calendar.php
- /var/www/davical/scripts/load_calendar.php
- /var/www/davical/scripts/po/
- /var/www/davical/scripts/po/rebuild-translations.sh
- /var/www/davical/scripts/refresh-alarms.php
- /var/www/davical/scripts/sync-remote-caldav.php
- /var/www/davical/scripts/tz-update.php