pkgsrc/www/davical/patches/patch-ac
hauke b35cbe2f0a www/davical update to 1.1.6
From upstream's changelog:

>From the Release Notes
(https://wiki.davical.org/index.php/Release_Notes/1.1.6):

Bug Fixes
=========
 * Only one set of angle brackets around cannot-modify-protected-property error tag (#112)
 * Fix sync of deleted events when hide_todo is set (#100)
 * Modify hide_older_than logic to allow through recurring events (#103)
 * Fix modified mapping in the LDAP driver (#108)
 * Do not output unescaped XML special characters in if-match error message (#113)
 * Don't crash on principal-property-search REPORT without a proper match clause (#114)
 * Various CardDAV and CalDAV fixes highlighted by caldav-tester
 * Fix $SERVER variable names used when operating behind a proxy (!38)
 * Use modern class constructors that even work with PHP7 (fixes: #119)
 * Card search invalid when negate-condition="no" (#126)
 * Propagate database error to client (#127)
 * Add a log entry for login failures (#105)

Other Changes
=============
 * Updates to the test suites, which are mostly passing now
 * Improved logging in certain error conditions
 * Set $c->external_ua_string to fetch external calendars posing as a certain user-agent (#115)
 * Improve parsing of RFC5545 durations
 * Improve support for /principals/users/..., /principals/resources/...
   and /__uids__/... URLs
 * Improve use of create-database.sh and update-davical-database with non-default values (see #124)
 * Experimental $c->enable_attendee_group_resolution will resolve
   attendee group names to a list of individual users (from !21)
 * Add support for calendar-user-type (!39)
 * Update caldav_functions.sql for Postgresql 10 (#129)

Database Upgrade
================
 * Run dba/upgrade-davical-database to get Postgresql-10-compatible functions

Upgrades of Other Software
==========================
 * AWL 0.58 is required for best PHP7 compatibility
2017-12-07 13:00:33 +00:00

15 lines
445 B
Text

$NetBSD: patch-ac,v 1.3 2017/12/07 13:00:33 hauke Exp $
Honor PKG_SYSCONFDIR.
--- dba/update-davical-database.orig 2017-10-25 09:48:43.000000000 +0000
+++ dba/update-davical-database
@@ -23,7 +23,7 @@ my $helpmeplease = 0;
my $apply_patches = 1;
my $revoke_list = "";
my $force_owner = "";
-my $config_file = "config/administration.yml";
+my $config_file = "@PKG_SYSCONFDIR@/administration.yml";
my $dbadir = $0;
$dbadir =~ s#[^/]*$##;