Bug 174419 - www/mediawiki should only depend on mysql client, not server
Summary: www/mediawiki should only depend on mysql client, not server
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Wen Heping
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-13 19:10 UTC by Remko Lodder
Modified: 2012-12-16 07:16 UTC (History)
0 users

See Also:


Attachments
file.diff (267 bytes, patch)
2012-12-13 19:10 UTC, Remko Lodder
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Remko Lodder freebsd_committer freebsd_triage 2012-12-13 19:10:00 UTC
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.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-12-13 19:10:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wen

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Wen Heping freebsd_committer freebsd_triage 2012-12-16 07:16:16 UTC
State Changed
From-To: open->closed

Committed. Thanks!