From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 16 11: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 D7E011065675 for ; Sun, 16 May 2010 11:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9C2298FC19 for ; Sun, 16 May 2010 11:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4GBA1oZ042640 for ; Sun, 16 May 2010 11:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4GBA1Nj042639; Sun, 16 May 2010 11:10:01 GMT (envelope-from gnats) Resent-Date: Sun, 16 May 2010 11:10:01 GMT Resent-Message-Id: <201005161110.o4GBA1Nj042639@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, Leo Vandewoestijne Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E86571065676 for ; Sun, 16 May 2010 11:09:37 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id D83F08FC08 for ; Sun, 16 May 2010 11:09:37 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o4GB9awV025275 for ; Sun, 16 May 2010 11:09:36 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o4GB9aQZ025274; Sun, 16 May 2010 11:09:36 GMT (envelope-from nobody) Message-Id: <201005161109.o4GB9aQZ025274@www.freebsd.org> Date: Sun, 16 May 2010 11:09:36 GMT From: Leo Vandewoestijne To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/146630: Piwik requirements missing X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 May 2010 11:10:01 -0000 >Number: 146630 >Category: ports >Synopsis: Piwik requirements missing >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun May 16 11:10:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Leo Vandewoestijne >Release: 8.0-STABLE >Organization: unicycle >Environment: FreeBSD stats.unicycle.net 8.0-STABLE FreeBSD 8.0-STABLE #0: Thu Jan 21 18:28:15 UTC 2010 root@srv22.ams1.unicycle.net:/usr/obj/usr/src/sys/UNIXCYCLE amd64 >Description: Out of two fresh installs I've observed the Piwik port didn't work without the PHP cli option enabled. The Piwik port did not check wether the cli version of PHP is installed. If you use the crontab method to generate the output (in large environments prefered over at-visit-generated), then you certainly would need it. Further php5-session is also required, when it's missing you'll end up with a fatal error, even before any authentication is setup. And 3th: php5-json is needed to come to the full result. >How-To-Repeat: on a system without any PHP yet, install PHP with CLI disabled, then install the Piwik port. >Fix: It's easy to fix manually if you're aware of the issue. However, I think it's strange to have halfworking ports while they can be better. I don't know how ports are made. But it should somehow do a check to see if PHP works in the shell. For the other two problems, -I asume- in the Makefile, the line: USE_PHP= mysql gd pdo pdo_mysql zlib iconv dom should be USE_PHP= mysql gd pdo pdo_mysql zlib iconv dom session json >Release-Note: >Audit-Trail: >Unformatted: