From niels@excession.tpb.net  Thu Feb  6 00:37:02 2014
Return-Path: <niels@excession.tpb.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id D4D3EC42
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  6 Feb 2014 00:37:02 +0000 (UTC)
Received: from excession.tpb.net (unknown [IPv6:2001:888:1037:1337:225:90ff:fe32:cfca])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 919261C6E
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  6 Feb 2014 00:37:02 +0000 (UTC)
Received: from excession.tpb.net (localhost [127.0.0.1])
	by excession.tpb.net (8.14.8/8.14.8) with ESMTP id s160awb8009040
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 6 Feb 2014 01:36:58 +0100 (CET)
	(envelope-from niels@excession.tpb.net)
Received: (from niels@localhost)
	by excession.tpb.net (8.14.8/8.14.8/Submit) id s160awXD009039;
	Thu, 6 Feb 2014 01:36:58 +0100 (CET)
	(envelope-from niels)
Message-Id: <201402060036.s160awXD009039@excession.tpb.net>
Date: Thu, 6 Feb 2014 01:36:58 +0100 (CET)
From: Niels <niels=freebsd@bakker.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: DAViCal fails with Mac OS X 10.9's Contacts.app
X-Send-Pr-Version: 3.114
X-GNATS-Notify: maurice@castro.aus.net

>Number:         186502
>Category:       ports
>Synopsis:       www/davical fails with Mac OS X 10.9's Contacts.app
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          feedback
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 06 00:40:01 UTC 2014
>Closed-Date:    
>Last-Modified:  Fri Feb  7 12:10:01 UTC 2014
>Originator:     Niels
>Release:        FreeBSD 9.2-STABLE amd64
>Organization:
>Environment:
davical-1.1.2
apache24-2.4.6
php5-5.4.24
php5-calendar-5.4.24
php-libawl-0.54
>Description:
Contacts.app cannot add new Vcards to a DAViCal server. Applying the patch makes this work and appears to have no side effects.
Please include the patch in the port until a new upstream release has become available.
>How-To-Repeat:
You need a Mac running 10.9 or 10.9.1. See here for more testimonials of the problem:
http://sourceforge.net/mailarchive/message.php?msg_id=31607165
>Fix:
https://github.com/DAViCal/davical/commit/03c34598e60f4766fb3bda492d7b4f9dc04cd54b
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Feb 6 04:37:54 UTC 2014 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=186502 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: maurice@castro.aus.net
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/186502: www/davical fails with Mac OS X 10.9's Contacts.app
Date: Thu, 6 Feb 2014 04:37:53 UT

 Maintainer of www/davical,
 
 Please note that PR ports/186502 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/186502
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Maurice Castro <maurice@castro.aus.net>
To: "bug-followup@FreeBSD.ORG" <bug-followup@FreeBSD.org>,
        niels=freebsd@bakker.net
Cc:  
Subject: Re: ports/186502: www/davical fails with Mac OS X 10.9&#39;s Contacts.app
Date: Fri, 7 Feb 2014 14:40:10 +1100

 --Apple-Mail=_976EB0C2-B0B3-442E-9146-898D9360E068
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/plain;
 	charset=us-ascii
 
 Created minimal patch that should fix the Maverick problem until there =
 is a new release. Only preliminarily tested.
 
 Maurice Castro
 
 
 --Apple-Mail=_976EB0C2-B0B3-442E-9146-898D9360E068
 Content-Disposition: attachment;
 	filename=davical.patch
 Content-Type: application/octet-stream;
 	name="davical.patch"
 Content-Transfer-Encoding: 7bit
 
 diff -uNr davical.orig/Makefile davical/Makefile
 --- davical.orig/Makefile	2014-02-07 13:59:59.000000000 +1100
 +++ davical/Makefile	2014-02-07 14:18:14.000000000 +1100
 @@ -8,6 +8,8 @@
  MAINTAINER=	maurice@castro.aus.net
  COMMENT=	A simple CalDAV server using a postgres backend
  
 +EXTRA_PATCHES+=	${FILESDIR}/maverick-fix.patch
 +
  LICENSE=	GPLv2 LGPL21
  LICENSE_COMB=	multi
  LICENSE_FILE=	${WRKSRC}/COPYING
 diff -uNr davical.orig/files/maverick-fix.patch davical/files/maverick-fix.patch
 --- davical.orig/files/maverick-fix.patch	1970-01-01 10:00:00.000000000 +1000
 +++ davical/files/maverick-fix.patch	2014-02-07 14:26:32.000000000 +1100
 @@ -0,0 +1,11 @@
 +--- htdocs/caldav.php.orig	2014-02-07 14:24:01.000000000 +1100
 ++++ htdocs/caldav.php	2014-02-07 14:25:19.000000000 +1100
 +@@ -114,6 +114,8 @@
 +       include('caldav-POST.php');
 +       break;
 +     }
 ++    error_log('the value of add_member is : ', $add_member);
 ++    $add_member = true;
 +   case 'PUT':
 +     switch( $request->content_type ) {
 +       case 'text/calendar':
 
 --Apple-Mail=_976EB0C2-B0B3-442E-9146-898D9360E068--

From: niels=freebsd@bakker.net (Niels Bakker)
To: Maurice Castro <maurice@castro.aus.net>
Cc: bug-followup@FreeBSD.ORG
Subject: Re: ports/186502: www/davical fails with Mac OS X 10.9's Contacts.app
Date: Fri, 7 Feb 2014 13:03:33 +0100

 Hi,
 
 Thanks!
 
 The error_log() invocation can be removed for non-debugging builds.
>Unformatted:
