ports/133960: [patch]: databases/phpmyadmin depends on filter
Mel Flynn
mel at rachie.is-a-geek.net
Fri Apr 24 05:50:03 UTC 2009
>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 at 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:
More information about the freebsd-ports-bugs
mailing list