From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Apr 24 05:50:03 2009 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 B57871065672 for ; Fri, 24 Apr 2009 05:50:03 +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 8C8908FC1A for ; Fri, 24 Apr 2009 05:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n3O5o3pC014278 for ; Fri, 24 Apr 2009 05:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n3O5o3Eu014277; Fri, 24 Apr 2009 05:50:03 GMT (envelope-from gnats) Resent-Date: Fri, 24 Apr 2009 05:50:03 GMT Resent-Message-Id: <200904240550.n3O5o3Eu014277@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, Mel Flynn Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2EEE11065670 for ; Fri, 24 Apr 2009 05:49:26 +0000 (UTC) (envelope-from mel@sarevok.dnr.servegame.org) Received: from viefep22-int.chello.at (viefep22-int.chello.at [62.179.121.42]) by mx1.freebsd.org (Postfix) with ESMTP id 6A0EF8FC08 for ; Fri, 24 Apr 2009 05:49:25 +0000 (UTC) (envelope-from mel@sarevok.dnr.servegame.org) Received: from edge01.upc.biz ([192.168.13.236]) by viefep14-int.chello.at (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP id <20090424053340.WZZL28284.viefep14-int.chello.at@edge01.upc.biz>; Fri, 24 Apr 2009 07:33:40 +0200 Received: from sarevok.dnr.servegame.org ([62.194.97.111]) by edge01.upc.biz with edge id jHZ51b06b2QBH8E01HZ6cd; Fri, 24 Apr 2009 07:33:40 +0200 Received: by sarevok.dnr.servegame.org (Postfix, from userid 1003) id 052C08442B; Fri, 24 Apr 2009 07:33:01 +0200 (CEST) Message-Id: <20090424053302.052C08442B@sarevok.dnr.servegame.org> Date: Fri, 24 Apr 2009 07:33:01 +0200 (CEST) From: Mel Flynn To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/133960: [patch]: databases/phpmyadmin depends on filter 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: Fri, 24 Apr 2009 05:50:03 -0000 >Number: 133960 >Category: ports >Synopsis: [patch]: databases/phpmyadmin depends on filter >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: Fri Apr 24 05:50:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Mel Flynn >Release: FreeBSD 8.0-CURRENT i386 >Organization: >Environment: System: FreeBSD sarevok.dnr.servegame.org 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Fri Apr 17 14:18:41 CEST 2009 mel@sarevok.dnr.servegame.org:/usr/obj/usr/src/sys/SMOOCHIES i386 >Description: Various calls exist in phpmyadmin to filter_input, which is provided by the filter extension, however not registered as dependency and as such, phpmyadmin doesn't work out of the box. >How-To-Repeat: # Maybe: pkg_delete -f php5-filter make -C /usr/ports/databases/phpmyadmin/ install # configure apache point browser to http://localhost/phpMyAdmin/setup/ : Call to undefined function fitler_input >Fix: While I was in there, also fixed the reference to non-existing scripts/setup.php --- phpmyadmin_filter.patch begins here --- Index: databases/phpmyadmin/Makefile =================================================================== RCS file: /home/ncvs/ports/databases/phpmyadmin/Makefile,v retrieving revision 1.104 diff -u -r1.104 Makefile --- databases/phpmyadmin/Makefile 15 Apr 2009 14:45:06 -0000 1.104 +++ databases/phpmyadmin/Makefile 24 Apr 2009 05:20:10 -0000 @@ -20,7 +20,7 @@ USE_BZIP2= yes NO_BUILD= yes .if !defined(WITHOUT_PHP_DEPENDS) -USE_PHP= ctype mysql session spl +USE_PHP= ctype mysql session spl filter .endif # Unfortunately can't make WITH_SUPHP part of the OPTIONS selection, --- phpmyadmin_filter.patch ends here --- --- phpmyadmin_setup.patch begins here --- Index: databases/phpmyadmin/files/config.inc.php.sample =================================================================== RCS file: /home/ncvs/ports/databases/phpmyadmin/files/config.inc.php.sample,v retrieving revision 1.3 diff -u -r1.3 config.inc.php.sample --- databases/phpmyadmin/files/config.inc.php.sample 16 May 2006 06:43:23 -0000 1.3 +++ databases/phpmyadmin/files/config.inc.php.sample 24 Apr 2009 05:27:36 -0000 @@ -5,8 +5,8 @@ * installaton of phpmyadmin. * * Copy any settings you want to override from - * libraries/config.default.php or use scripts/setup.php to generate a - * basic configuration file + * libraries/config.default.php or use the provided installer at + * http://yourhost/phpMyAdmin/setup/ to generate a basic configuration file. * */ --- phpmyadmin_setup.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: