Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Apr 2009 07:33:01 +0200 (CEST)
From:      Mel Flynn <mel@rachie.is-a-geek.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/133960: [patch]: databases/phpmyadmin depends on filter
Message-ID:  <20090424053302.052C08442B@sarevok.dnr.servegame.org>
Resent-Message-ID: <200904240550.n3O5o3Eu014277@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090424053302.052C08442B>