From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Feb 2 10:10:01 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C09D1065672 for ; Tue, 2 Feb 2010 10:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2D1998FC17 for ; Tue, 2 Feb 2010 10:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o12AA138010611 for ; Tue, 2 Feb 2010 10:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o12AA0fQ010610; Tue, 2 Feb 2010 10:10:01 GMT (envelope-from gnats) Resent-Date: Tue, 2 Feb 2010 10:10:01 GMT Resent-Message-Id: <201002021010.o12AA0fQ010610@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, John Marshall Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A961106572F for ; Tue, 2 Feb 2010 10:03:28 +0000 (UTC) (envelope-from john@rwsrv03.mby.riverwillow.net.au) Received: from mail1.riverwillow.net.au (mail1.riverwillow.net.au [203.58.93.36]) by mx1.freebsd.org (Postfix) with ESMTP id BC4938FC13 for ; Tue, 2 Feb 2010 10:03:27 +0000 (UTC) Received: from rwsrv03.mby.riverwillow.net.au (localhost [127.0.0.1]) by mail1.riverwillow.net.au (8.14.4/8.14.4) with ESMTP id o12A3MgI010092 for ; Tue, 2 Feb 2010 21:03:22 +1100 (AEDT) Received: (from john@localhost) by rwsrv03.mby.riverwillow.net.au (8.14.4/8.14.4/Submit) id o12A3MPm010091; Tue, 2 Feb 2010 21:03:22 +1100 (AEDT) Message-Id: <201002021003.o12A3MPm010091@rwsrv03.mby.riverwillow.net.au> Date: Tue, 2 Feb 2010 21:03:22 +1100 (AEDT) From: John Marshall To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/143473: [PATCH] www/davical Add Missing RUN_DEPENDS php5-iconv X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John Marshall List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2010 10:10:01 -0000 >Number: 143473 >Category: ports >Synopsis: [PATCH] www/davical Add Missing RUN_DEPENDS php5-iconv >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Feb 02 10:10:00 UTC 2010 >Closed-Date: >Last-Modified: >Originator: John Marshall >Release: FreeBSD 8.0-RELEASE-p2 i386 >Organization: Riverwillow Pty Ltd >Environment: System: FreeBSD rwsrv03.mby.riverwillow.net.au 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Mon Jan 11 05:45:16 AEDT 2010 root@rwsrv03.mby.riverwillow.net.au:/build/obj/usr/src/sys/RWSRV03 i386 >Description: The port does not include a RUN_DEPENDS entry for the runtime dependency converters/php5-iconv. After successful installation of the port, calendar clients are unable to communicate with the server. >How-To-Repeat: 1. Build and install the www/davical port on a system which does not already have converters/php5-iconv installed. 2. Attempt to access the calendar server from a client. 3. Notice entries like the following in the web server log file. rwpc12.mby.riverwillow.net.au - - [02/Feb/2010:19:17:47 +1100] "PROPFIND /caldav/caldav.php/john/home/ HTTP/1.1" 500 - 4. Notice the following from php cli on the server. rwsrv03> php caldav.php PHP Notice: Undefined index: SERVER_ADDR in /usr/local/www/davical/inc/always.php on line 19 PHP Fatal error: Call to undefined function iconv() in /usr/local/share/awl/inc/AWLUtilities.php on line 463 >Fix: Include converters/php5-iconv in RUN_DEPENDS in the port's Makefile so that php5-iconv is available to the davical application at runtime. --- davical-Makefile.diff begins here --- --- Makefile.orig 2010-02-02 19:41:43.000000000 +1100 +++ Makefile 2010-02-02 19:43:38.000000000 +1100 @@ -19,7 +19,8 @@ ${SITE_PERL}/YAML.pm:${PORTSDIR}/textproc/p5-YAML \ ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg \ ${LOCALBASE}/bin/pwgen:${PORTSDIR}/sysutils/pwgen \ - php-libawl>=0.37:${PORTSDIR}/devel/php-libawl + php-libawl>=0.37:${PORTSDIR}/devel/php-libawl \ + ${PORTSDIR}/converters/php5-iconv NO_BUILD= yes --- davical-Makefile.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: