ports/174419: www/mediawiki
Remko Lodder
remko at FreeBSD.org
Thu Dec 13 19:10:00 UTC 2012
>Number: 174419
>Category: ports
>Synopsis: www/mediawiki
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Dec 13 19:10:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Remko Lodder
>Release: 9.1-PRERELEASE
>Organization:
FreeBSD
>Environment:
FreeBSD krondor.jr-hosting.nl 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #12: Fri Aug 10 09:35:50 CEST 2012 root at krondor.jr-hosting.nl:/usr/obj/usr/src/sys/JRHOSTING amd64
>Description:
The Mediawiki ports have an option that enables a user to use MySQL as backend for the Mediawiki application. The dependency however is on a MySQL-server instead of MySQL-client. Installing the port with MySQL support thus gives you the MySQL-server installation, where that is not needed. One should have the client package for MySQL so that 'a' MySQL server can be used but not being forced to have the server installed itself.
This is especially "interesting" when you have a jail with a WWW service installed, and only -client packages and no -server packages (well at least for MySQL with this port :-)).
# pkg_info -rR "mysql-*"
Information for mysql-client-5.5.28:
Depends on:
Required by:
p5-DBD-mysql-4.021
mysql-server-5.5.28
mediawiki-1.20.2
Information for mysql-server-5.5.28:
Depends on:
Dependency: mysql-client-5.5.28
Required by:
mediawiki-1.20.2
>How-To-Repeat:
see above.
>Fix:
--- Makefile 2012-12-05 09:39:47.000000000 +0100
+++ Makefile.new 2012-12-13 19:38:05.000000000 +0100
@@ -34,7 +34,7 @@
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MMYSQL}
-USE_MYSQL= server
+USE_MYSQL= client
USE_PHP+= mysql
.endif
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list